commit
Helps write conventional commit messages, create atomic commits, and follow git best practices. Use when the agent needs to help with git commits, commit message writing, or git workflow guidance.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Commit Skill
Workflow
-
Analyze Results: Review
git statusandgit diff --staged. -
Draft Message: Follow Conventional Commits.
-
feat,fix,docs,style,refactor,test,chore. - Max 50 chars for subject.
- Explain "why" in body if needed (wrap at 72).
-
- Atomic Commits: Ensure one logical change per commit.
-
Templates: Use
assets/commit-template.txtfor consistency.
Safe Git Commands
-
git add <files> -
git commit -m "message" -
git diff --staged -
git status,git show,git log --oneline
Limitations
- No interactive commands (
git add -p,git rebase -i). - No force pushing or amending without explicit user guidance.
- Always confirm before final commit/push.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-28
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!