git-commit-writer-free
Installation
SKILL.md
Git Commit Writer
Generate a conventional commit message from staged changes only.
Workflow
- Run
git status --short. - Determine whether any files are staged by checking the first status column for anything other than a space or
?. - If no files are staged, do not suggest a commit message. Tell the user to stage changes first with
git add <files>orgit add .. - Run
git diff --cached --statto summarize staged file impact. - Run
git diff --cachedto inspect the staged patch. - Analyze the staged changes and return one primary commit recommendation in conventional commit format, plus optional alternatives if useful.
Use only staged changes. Do not base the commit message on unstaged, untracked, or working-tree-only changes.