/prepare-commit — Commit Readiness
Read .claude/models.yml for model routing. This skill uses model: haiku.
preconditions (all must pass)
- Run tests:
{stack.runtime.exec_prefix} {stack.commands.test}→ PASS - Check project-state.md → all tasks [x]
- Run /validate-invariants → PASS
generate message
- Analyze
git diff --staged(or unstaged changes) - Determine type: feat | fix | chore | docs
- Write concise message:
type: description
output
- If ready: "✅ Commit ready:
type: message" - If not ready: "❌ Not ready: [reason]"
Converted and distributed by TomeVault — claim your Tome and manage your conversions.