/shavakan-skills:git-commitfrom shavakan-skills
Create git commits with succinct technical messages. Activates when user requests git commit creation.
Ships in shavakan-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Create technical commit messages, one per logical unit. Use the bundled grouping script for the deterministic part; spend tokens on Fix/Feature/Refactor refinement and message wording.
git branch --show-current. If on main / master and the user did not explicitly request committing there, create a feature branch first (feat/<description> or fix/<description>) and switch to it.scripts/group-changes.sh (default: working tree). Output is JSON:
files[] — every changed path with {status, type, top} where type ∈ {types, config, code, test, doc}groups[] — pre-bucketed by (type, top-level dir)order[] — suggested commit sequence (types → config → code → test → doc)code groups. The script can't tell Fix from Feature from Refactor. For each type=code group, read the diff (git diff -- <files>) and decide:
git add -p if a single file straddles two units.# Default: full working tree (staged + unstaged + untracked)
$CLAUDE_PLUGIN_ROOT/scripts/group-changes.sh
# Only what's already staged
$CLAUDE_PLUGIN_ROOT/scripts/group-changes.sh --staged-only
# Diff against a ref (PR-style: "everything since branch point")
$CLAUDE_PLUGIN_ROOT/scripts/group-changes.sh --vs=main
If $CLAUDE_PLUGIN_ROOT isn't set, the script lives at skills/git-commit/scripts/group-changes.sh relative to this skill's plugin root.
Coupling boundaries (one commit):
Independence (separate commits):
Circular deps: if fix A requires refactor B, commit B first (minimal scope), then A.
Describe what changed in the code, not progress:
Avoid milestone language:
1-2 sentences. No body unless a non-obvious why.
main / master unless the user explicitly requests it.Co-Authored-By: Claude or Generated with Claude Code footers.git add -p to stage hunks separately.code for a config-like file (rare, e.g., custom build script) → manually re-classify; the heuristic is path-based.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/prompt-engineerBuild, analyze, and optimize LLM prompts and technical documentation. Activates when user wants to create, modify, review, or improve prompts, or when requests are ambiguous and need clarification before writing./writing-styleWrite and review prose so it reads as clear human writing instead of AI slop. Use whenever drafting text a person will read (PR descriptions, commit bodies, Slack messages, status updates, incident notes, reports, READMEs, docs, emails) and whenever the user asks to review, edit, tighten, humanize, or de-slop a draft, or says something sounds like AI or is hard to read.npx claudepluginhub shavakan/claude-marketplace --plugin shavakan-skills