commit
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Commit workflow
Work the steps in order. A guard hook runs alongside them and refuses whole-tree staging along with any git commit you write out yourself. Step 8 names the one script that commits, and that script refuses an inline -m message, a --no-verify, and a draft the reviewer hasn't seen in its current form.
Those hooks stay registered for the rest of the session so they carry a scope. Preflight records the commit HEAD sits on now, and the guard refuses while HEAD is still there. Step 8 moves HEAD past that mark, and the guard refuses nothing after that. Work later in the session is none of the guard's business. A second commit means invoking this skill again rather than carrying on from here.
Preflight
!bash ${CLAUDE_SKILL_DIR}/scripts/preflight.sh
Step 0: the checklist
Track these steps with the session's task-list tools where it carries them. Newer harnesses leave those tools out by default, and a session without them works the list in order as written. They're the checklist the rest of this document expands.