Smart Git Commit

•
69
•

Automates the creation of validated, conventional Git commits while enforcing branch safety and local quality checks.

This skill streamlines the version control process by guiding Claude through a rigorous commit workflow designed for production environments. It prevents risky direct commits to protected branches like main or dev, mandates local validation checks—such as linting, formatting, and type-checking—before staging changes, and ensures all commit messages adhere to the Conventional Commits specification. By integrating co-author attribution and automatic issue referencing, it helps maintain a clean, professional, and traceable project history without the need for spawning external agents for standard version control tasks.

주요 기능

01Automates local validation checks including linting, formatting, and type-checking.
02Generates standardized messages following the Conventional Commits specification.
03Streamlines the staging and review process for focused, single-logic commits.
04Includes co-author attribution and automatic issue referencing for traceability.
0569 GitHub stars
06Enforces branch protection by blocking direct commits to main, master, or dev.

사용 사례

01Ensuring code quality by running mandatory pre-commit checks locally before every push.
02Safeguarding production branches from accidental direct commits during rapid development cycles.
03Standardizing commit history across a distributed team using conventional formatting.