Plan phases
Restructure an existing plan into phases with /verify gates after each phase and critical steps. Trigger when the user runs /phase-plan or asks to "add phases to this plan", "gate this plan", "restructure the plan", or "add checkpoints". Use plan-create for new plans and plan-deep-dive for inspection without restructuring.From its SKILL.md
npx -y skills add allemaar/open-skills --skill plan-phasesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.7 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
/phase-plan
Take an existing flat or unstructured plan and restructure it into phased execution with /verify gates after each phase and critical steps.
Structured execution spec:
protocol.yon. Read it for the canonical rules and step sequence; this file is explanation. The two must stay in sync — if you edit one, update the other and refresh the@STAMPdate.
Plan Restructuring Protocol — transforms any plan into a gated, phased structure for structural legibility and explicit checkpointing. Restructure, never delete. All original content is preserved.
What is /verify?
/verify is a verification gate — a point where execution stops and the current state is validated before proceeding. When you encounter a /verify gate in a restructured plan:
- Review what the gate specifies
- Verify each condition is met
- Only continue to the next phase/step once the gate passes
If /verify is not a recognized command in your session, replace it with an explicit user confirmation prompt: pause, state what you're verifying, and wait for the user to confirm before continuing.
Phase 1 — Locate & Load Existing Plan
- Find the plan — check
implementation_plan.md,PLAN.md,task.md, recent conversation context, or user-provided file. Load the full content. If multiple candidates exist, use the most recently modified file and note the choice. - Assess structure — flat (single list)? Partially phased? Missing verification steps? Identify structural gaps.
If no plan is found after checking all locations → stop. Ask the user to provide the plan before continuing.
Phase 2 — Decompose Into Phases
- Identify natural phase boundaries — group related steps by dependency order, component, or concern. Each phase must be independently verifiable. Mark critical steps that need individual
/verifygates. - Define phases — each phase needs:
- Clear name
- Goal / deliverable
- Ordered steps
- Success criteria
Ensure phases flow logically — dependencies before dependents.
Phase 3 — Insert Check Gates
-
Phase-level gates — insert a
/verifygate after every phase. Gate focus must be specific to what that phase accomplished and what the next phase depends on. -
Critical step gates — identify steps within phases that warrant individual
/verifygates:- Risky operations
- Breaking changes
- Schema migrations
- Cross-package impacts
- Security-sensitive changes
Insert inline
/verifygates immediately after those steps.
Gate Quality Reference
A gate must validate something observable. If it can't fail, it's ceremonial.
| Example | |
|---|---|
| Good gate | /verify — migration applied: users.email column is non-null, existing rows have values, no FK errors in test suite |
| Bad gate | /verify — make sure the migration looks right |
The bad gate has no observable condition. The good gate has three specific pass/fail criteria a different person could verify independently.
Gate Placement Rules
- MUST insert a
/verifygate after completing any phase - MUST insert an inline
/verifygate after any schema migration, breaking change, or security-sensitive step - MUST insert an inline
/verifygate after any step with cross-package impact - SHOULD split phases with >5 steps into sub-phases with intermediate
/verifygates
Phase 4 — Rewrite & Output
- Rewrite the plan — in its original format (
implementation_plan.md,PLAN.md, ortask.md) with the new phased structure. Preserve all original content — restructure, do not delete. Each phase should clearly show: steps,/verifygate, and what the gate validates. If the plan has no source file (existed only in conversation context), output the full restructured plan as a fenced code block in the response instead. - Diff report — summarize what changed: how many phases created, how many
/verifygates added, any steps reordered or split.
Rules
- MUST preserve ALL original plan content — restructure, never delete
- MUST maintain original intent and goal alignment
- MUST use the same file format as the original plan
- MUST NOT add new scope or features not in the original plan
- MUST NOT create ceremonial
/verifygates with vague focus
Next Steps
/plan-execute— implement the newly phased plan/double-check— verify the restructured plan before executing
Human output. This skill's handler-facing output obeys the human-output contract (
human-output/SKILL.md).
Next skills. On completion, run the Next Skills protocol (
next-skills/SKILL.md): surface thenext-skillsrecommendations from front-matter for the caller to pick. Offer only — never auto-invoke.
Self-improvement. On completion, run the Self-Improvement Protocol (
self-improve/SKILL.md): if this run surfaced a concrete, blocking-or-recurring weakness in this skill, propose a specific fix for the handler to approve. Conservative — silent otherwise. Never auto-apply.
What ships with it: 1 file
7.4 KB alongside SKILL.md
- protocol.yon7.4 KB