Smart-Commit is a developer utility that automates the tedious process of writing high-quality git commit messages. It analyzes your staged changes (git diffs), categorizes the work according to the Conventional Commits specification, and generates a structured, professional message including a scope and detailed body bullets.
Standardizing commit history is crucial for team velocity and automated changelogs, but manually following strict conventions is friction-heavy. This skill is better than generic AI prompting because it follows a rigorous 7-step analysis pipeline: identifying file types, detecting logic changes vs. refactors, and adhering to specific formatting rules (imperative mood, character limits, and proper scoping).
Key Features:
- Automatic Context Awareness: Automatically detects if you have staged files or need to analyze the entire working tree.
- Conventional Commit Compliance: Uses standard types like feat, fix, refactor, and chore with appropriate scopes.
- Interactive Workflow: Presents the message for approval before executing the
git commitcommand. - Amend Support: Intelligent enough to merge current changes with the previous commit message using the
--amendflag.