skills/commit/SKILL.md
Analyze Git diff, generate a Conventional Commits format message, and run the commit.
npx skillsauth add thkt/claude-config commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
$ARGUMENTS may contain context or an issue reference. Trim whitespace; if empty, analyze staged changes only. If non-empty, treat it as a hint for the message scope or footer.
git status and git diff --staged in parallel to read the staged changes$ARGUMENTS, following Type Detection and RulesInfer type from diff context. Default to feat if unclear.
| Type | When to use | | -------- | ------------------------------------------ | | feat | New functionality or capability | | fix | Bug fix or error correction | | refactor | Code restructuring without behavior change | | docs | Documentation only changes | | test | Adding or updating tests | | chore | Config, dependencies, maintenance | | perf | Performance optimization | | style | Formatting, whitespace, linting | | ci | CI/CD configuration changes |
Subject is ≤72 chars, imperative, lowercase, no period. The body carries the why the diff cannot show, such as the motivation or the decision rationale, and is omitted when the diff makes it obvious. Footer uses BREAKING CHANGE: / Closes #123 / Co-authored-by:.
feat(auth): add OAuth2 authentication support
feat(api)!: remove deprecated endpoints # BREAKING CHANGE
cat > /tmp/claude/commit-msg.txt << 'EOF'
<message>
EOF
git commit -F /tmp/claude/commit-msg.txt
mv /tmp/claude/commit-msg.txt ~/.Trash/ 2>/dev/null || true
| Error | Action | | ----------------- | ----------------------- | | No staged files | Report "Nothing staged" | | Empty diff | Return minimal message | | No git repository | Report "Not a git repo" | | Pre-commit failed | Report hook error |
Report the executed commit in one line.
tools
Delegate implementation to codex (coder) via the herdr-agentchat plugin and drive a two-pane conversation to completion.
development
Extract recurring patterns from past closed PRs/issues and the research findings in workspace/research/, verify them against the latest code, and propose them to docs/wiki/ via PR.
development
Create Decision Records (DR) in MADR v4 format with auto-numbering.
development
Codex review + cleanup. Findings are challenged by critic-audit, not aggregated as facts, and fixes are applied directly. Do NOT use for internal multi-reviewer deep audits or findings reports (use /audit).