commit
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Commit
Analyze uncommitted changes and create well-organized commits using conventional commit format.
Workflow
1. Discover Changes
Current repo state (injected at invocation — no tool calls needed):
- Status: !
git status --porcelain - Diff stats: !
git diff --stat
Abort before staging if any apply:
- Not a git repository.
- No changes ("Nothing to commit").
- Mid-merge / rebase / cherry-pick / revert —
git add -Awould stage conflict markers as content. Check$(git rev-parse --git-dir)forMERGE_HEAD,CHERRY_PICK_HEAD,REVERT_HEAD,rebase-merge/, orrebase-apply/. If any present, report the in-progress operation and stop. - Detached HEAD —
git symbolic-ref -q HEADis empty. Commit would land on an unreferenced commit and be lost on branch switch. Report and stop.
Related skills
More from gupsammy/claudest
create-skill
>
14generate-image
>
12improve-skill
>
10repair-skill
This skill should be used when the user asks to "repair my skill", "audit this skill", "fix my skill", "review skill quality", "check if my skill is well-written", "diagnose skill problems", "what's wrong with this skill", or wants structural correctness fixes. Not for adding features or improving effectiveness — use improve-skill for that. Not for agents — use repair-agent.
8brainstorm
>
7run-research
>
4