commit
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Pre-computed context
Exec-bit backstop: !bash "${CLAUDE_PLUGIN_ROOT}/skills/commit/scripts/exec-bit-check.sh" --probe 2>/dev/null || echo "unavailable — run the check manually"
Config layer (user-global): !test -f "$HOME/.claude/source-control.md" && echo present || echo absent
Repository context — gather first
Collect these with individual Bash calls, one command per call, never combined into a single invocation:
- Current branch —
git branch --show-current - Staged —
git diff --cached --stat | tail -1 - Unstaged —
git status --short | head -20 - Recent commits —
git log --oneline -5