skills/work-commit/SKILL.md
Git commit message conventions. Used during implement phase when committing after each completed TODO.
npx skillsauth add popoffvg/dotfiles work-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.
<prefix>: <why this change exists>
| Prefix | When |
|--------|------|
| feat | New functionality, new behavior |
| fix | Bug fix — describe the bug, not the fix |
| doc | Documentation changes only |
| test | Adding or updating tests only |
| build | Build system, CI, dependencies |
| refactor | Code restructuring without behavior change |
The message describes why, not what.
❌ feat: add handleRefresh function — describes what was added
✅ feat: support token refresh on expired sessions — describes why
❌ fix: check for nil pointer in handler — describes the fix
✅ fix: crash when auth token is missing from request — describes the bug
❌ refactor: move code to utils — describes what
✅ refactor: isolate auth logic for reuse across endpoints — describes the goal
feat), not testEach TODO = one commit. Exception: if the user explicitly says "join", "merge", or "squash" multiple TODOs, combine them into one commit with a unified message covering all of them.
When squashing N commits on request:
git reset --soft HEAD~N
git commit -m "<prefix>: <unified why covering all N changes>"
The unified message must cover the full scope — do not just repeat the first TODO's message.
Eval checklist:
feat for a bug fix)?Test inputs:
Can change: prefix list, message examples, formatting rules Cannot change: imperative mood requirement, why-not-what principle, 72-char limit Min sessions before eval: 5 Runs per experiment: 3
tools
Improve a whole CLAUDE.local.md — the private, per-project rules captured from user corrections. Wraps each conditional rule in a <task-relevant> block so it only surfaces for matching work, merges duplicates, generalizes one-off facts, drops stale entries, and routes raw project facts to engram. Use when the user says "improve claude.local", "clean up the local rules", "claude.local is bloated", or after the Stop hook has appended many rules.
testing
WM pipeline and conventions shared across all phases. Agents must read this before spec, impl, or verify work.
development
One entry point for spec writing, implementation, and bug fixing. Default is new (write spec → grill loop → produce notes → author TODO bodies). Other subcommands: verify (audit), revise (sync to shipped), prototype (settle a decision), code-map (diagram), impl (execute one TODO), fix (analyze cause, correct thoughts, fix behavior), help (this page). Invoke as /code <subcommand>.
development
Red-Green-Refactor cycle for bug fixes. Before fixing a bug, first write a failing test that reproduces it (Red), then make the minimal change to pass (Green), then clean up the code (Refactor). Use on any bug fix, error correction, failing test repair, or when user says "fix this bug".