What problem does it solve?
This Skill helps produce consistent, safe Git commits that adhere to the project's CLAUDE.md conventions, preventing poorly formatted messages, accidental inclusion of secrets, and improper staging workflows.
Core Features & Use Cases
- Change analysis: summarize staged, unstaged, and untracked changes to determine commit scope.
- Message generation & validation: pick the appropriate commit type and produce a concise subject line in the required type: short description format, adding a body when needed.
- Safe staging and commit: stage files individually, avoid sensitive files, use a HEREDOC commit message, handle pre-commit failures, and avoid amending or pushing unless requested.
- Use case: a developer finishing a bugfix asks the assistant to create a validated commit that stages only relevant files and follows repository conventions.
Quick Start
Ask the assistant to create a validated commit by running /commit -m "fix: shorten database migration name" or run /commit to auto-generate a convention-compliant message from the current diff.