commit
Installation
SKILL.md
Workflow
- Check Git: Run
git status— stop if not in a repo or nothing is staged. - Review changes: Run
git diff --staged. Check conversation history for the why. - If the user explicitly asked to split the staged change into multiple commits, follow Split Workflow below instead of steps 4-5.
- Propose message: Write one following the rules below.
- Get approval: Show the message and wait. Only commit after user says yes.
Split Workflow
Only enter this flow when the user explicitly asks for multiple commits. Never infer it from the diff alone.
Scope is limited to what's already staged — never stage or unstage anything from the working tree beyond what git diff --staged already covers.