phase-gate
Installation
SKILL.md
phase-gate
One skill, three gates, run at the boundary each gate is named after. --plan and
--dev are read-only reviews; --release writes. Reference paths below are
relative to this skill's directory (Claude Code exposes it as
${CLAUDE_SKILL_DIR}); the working directory is the user's project.
| Flag | Gate | When to run | Writes |
|---|---|---|---|
--plan |
plan review | after planning, before any code | no |
--dev |
diff review | after coding, before push/PR | no |
--release |
hygiene pass | after merge or release | yes |
No flag: infer the gate. An uncommitted or unpushed diff → --dev. No diff but a
plan in the conversation → --plan. Clean tree on the default branch → --release.
Say which gate you picked and why before running it.
Gates do not chain. Each runs at a different moment in the cycle, so there is no
--full; run the one that matches where the work is.