§ reference · skill
plan
Sequences a design artifact into parallelized atomic phases with explicit success criteria, written to `.rpiv/artifacts/plans/`.
§ 01 · purpose
Purpose
Turns a finished design into phases sized for one verification loop each, with the success criteria that prove a phase is done. The plan is the contract implement executes against: no rediscovery, no re-deciding architecture mid-build.
§ 02 · when to use
When to use it
- You have a
designartifact and want it broken into runnable phases. - Phases need to be parallel-marked so multiple worktrees can advance concurrently.
- The change is large enough that a single "implement everything" pass would be too coarse to verify.
- Skip in favor of
blueprintwhen mid-flight micro-checkpoints between phases matter.blueprintcollapsesdesign+planinto a single iterative pass.
§ 03 · inputs
Inputs
| Name | Required | Source |
|---|---|---|
design artifact | yes | Path to .rpiv/artifacts/designs/*.md |
- design artifact
- All architectural decisions must be settled; if Open Questions remain,
planstops and returns todesign.
§ 04 · outputs
Outputs
| Artifact | Path | Format |
|---|---|---|
| Implementation plan | .rpiv/artifacts/plans/ | markdown with - [ ] success-criteria checkboxes |
§ 05 · key steps
Key steps
- Read the design artifact fully Why: Architecture · File Map · Ordering Constraints · Verification Notes are the only valid phasing inputs. Anything not in the design is out of scope for this pass. Re-evaluation would break the design's authority.
- Inherit phase boundaries 1:1 from the design's
## SlicesWhy: Slice ≡ phase, 1:1 — no merging, splitting, or reordering. The slice-verifier already validated each slice's atomicity and criteria/code alignment at design Step 6.2; recomposing here would discard that guarantee. Ordering Constraints and File Map are reference material only, and parallelism annotations carry forward from them when slices have no inter-dependency. Boundary changes are out of scope forplan— they go back todesign. - Announce the inherited phase structure (no question asked) Why: Step 2 prints the inherited slice→phase list as confirmation only — no recomposition options and no developer question at this step. Boundary changes are out of scope: a developer who wants different boundaries revisits
/skill:designand re-decomposes. - Write skeleton, then fill code per phase via Edit Why: Skeleton-first guarantees structural decisions happen up-front; per-phase
Editcalls insert before/after code blocks from the design without rewriting prior phases. Lets long plans stream cleanly. - Pass Success Criteria through verbatim from the design's
## SlicesWhy: Criteria are authored at design Step 6.1 and verified by slice-verifier at 6.2 — re-authoring here would discard that guarantee. They land in the skeleton at Step 3 as- [ ]checkboxes thatimplementruns andvalidatere-runs. If the design's criteria look wrong, that is a design defect; do not patch in plan. - Dispatch artifact-code-reviewer and artifact-coverage-reviewer in parallel Why: Step 4 is the single post-finalization quality gate for the whole
design → planpipeline — code review is deliberately deferred from design to here, where code, Success Criteria, and phasing are all visible in one artifact.statusflips toin-reviewfirst; the merged severity-sorted table is persisted to the artifact even when both reviewers clear it. - Triage every finding with the developer, then flip to
readyWhy: No finding is ever auto-applied — each row is applied, deferred, or dismissed by the developer and gets aresolution. Only then arephases:/phase_countrebuilt from the## Phase N:headings andstatusflipped toready.
§ 06 · related skills
Related skills
upstream design