Generates Conventional Commit messages from staged git changes and commits only after explicit user confirmation.
Use this skill when the user asks to commit changes, craft a commit message, stage work into commits, or split work into Conventional Commit units.
flowchart LR
A[Staged changes] --> B[Read git diff --cached]
B --> C[Classify change type]
C --> D[Draft Conventional Commit subject]
D --> E{User confirms?}
E -- yes --> F[Run git commit]
E -- no --> G[Revise or stop]
<type>(<optional-scope>): <description>
Supported types include feat, fix, docs, style, refactor, test, and chore.
- Analyze only staged changes with
git diff --cached. - Use imperative mood in the subject.
- Keep the subject concise.
- Ask for explicit confirmation before committing.
See SKILL.md for the executable skill instructions.