commit
Original:🇺🇸 English
Translated
Create git commits following repository style. Use when user asks to "create a commit", "commit changes", "/commit", or requests committing code to git.
5installs
Sourcehelderberto/skills
Added on
NPX Install
npx skill4agent add helderberto/skills commitTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Git Commit
Context
Run in parallel:
- (never -uall)
git status git diff HEADgit log --oneline -10
Message Style
Match repo's existing commit patterns from log.
- Extreme concision, sacrifice grammar for brevity
- Focus on "why" not "what"
- Imperative mood
Workflow
- Review status and diff
- Analyze recent commit style from log
- Stage files explicitly (avoid or
git add .)-A - Commit with HEREDOC format matching repo style
- Run after to verify
git status
Rules
- NEVER amend unless requested
- NEVER skip hooks
- NEVER commit secrets
- Only commit when requested
- Match existing commit patterns