Commit Skill
Create commits following the project's conventional commit format.
Commit Format
<type>[(scope)]: Subject
Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, deps
Changelog types: build, deps, feat, fix, refactor
Process
- Run
git statusto see changes - Run
git diff --stagedandgit diffto understand changes - Analyze all changes and draft commit message:
- Summarize the nature (feat, fix, refactor, etc.)
- Focus on "why" rather than "what"
- Keep subject under 72 characters
- Stage specific files (avoid
git add -A) - Create commit with conventional format
- Verify with
git status
Guidelines
- Never commit sensitive files (.env, credentials)
- Stage specific files rather than using
git add -A - One logical change per commit
- Subject should complete: "If applied, this commit will..."
Converted and distributed by TomeVault — claim your Tome and manage your conversions.