write-conventional-commit
Installation
SKILL.md
Write Conventional Commit
Inspect Git changes and return exactly one final commit message.
Workflow
- Run
git status --short. - If there are no staged or unstaged changes, reply exactly:
No staged or unstaged changes found. - Run
git diff --staged --no-ext-diff --stat. - Run
git diff --staged --no-ext-diff. - If the staged diff is empty but the working tree is dirty, use
git diff --no-ext-diff --statandgit diff --no-ext-diffas a fallback. - Infer the dominant intent from the diff and write one message only.
- Return exactly one final commit message and nothing else.
Commit Types
Use exactly one type from this list: