What problem does it solve?
Inconsistent commit messages, missing issue links, and bypassing pre-commit hooks lead to poor git history and quality issues. This Skill ensures every commit adheres to strict git discipline and project standards.
Core Features & Use Cases
- Standardized Commit Messages: Builds commit messages with conventional format (e.g.,
feat: subject) and proper GitHub issue linking (Fixes #<issue-number>).
- Pre-Commit Hook Enforcement: Automatically stages all changes and executes pre-commit hooks, handling failures and auto-fixes without allowing bypass.
- Atomic Commits: Designed to create a single, atomic commit per feature, ensuring a clean and traceable history.
- Use Case: As the final step after completing feature implementation and passing all quality gates, use this Skill to create a perfectly formatted and validated commit before pushing.
Quick Start
Example: Create a commit for issue 137 with a subject and body
The skill will prompt for commit type if not provided.
commit-with-validation "Add user dark mode preference toggle" "Implemented dark mode toggle with state management"
This will execute:
git add .
git commit -m "feat: Add user dark mode preference toggle
Implemented dark mode toggle with state management
Fixes #137
š¤ Generated with Claude Code
Co-Authored-By: Claude [email protected]"