What problem does it solve?
Automatically enforce consistent, high-quality commits by validating staged changes, escaping backticks, and ensuring code quality through verification steps.
Core Features & Use Cases
- Staged Change Verification: Review exactly what is staged with the git status command and the diff of staged changes to ensure only relevant changes are included.
- Quality Assurance: Run build checks and tests to maintain code quality and prevent regressions.
- Commit Message Crafting: Enforce the [Scope/ID]: [summary] format, extract scope from the branch name, and ensure the body content avoids unsafe characters.
- Safe Commit Execution: Use a file-based commit message with git commit -F to safely handle multi-line messages; avoid inline -m when the body may contain complex content.
- Operational Best Practices: Provide guidance on creating and applying robust commit messages and handling edge cases.
Quick Start
Follow the steps to verify changes, run QA, and commit with a properly formatted message.