safe-commit

Community

Fixes, validates, and pre-approves commits.

Authorjas-ho
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manual code-quality checks before commits are error-prone and time-consuming; this skill automates fixes and runs validations to improve reliability and consistency across teams.

Core Features & Use Cases

  • Auto-fixes fixable issues in staged changes for Python, Shell, and Markdown files.
  • Runs ruff, mypy, shellcheck, and markdownlint to surface issues before commit.
  • Enforces safety by warning about sensitive files, blocking commits when local files are detected, and providing a clear summary for decision making.

Quick Start

Stage your changes and run the safe-commit script to auto-fix and validate them before committing.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: safe-commit
Download link: https://github.com/jas-ho/jason-agent-skills/archive/main.zip#safe-commit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.