What problem does it solve?
Turning a high-level implementation plan into actual code is slow and error-prone when one agent tries to write every phase at once. This Skill converts a single phase of a synthesized plan into concrete, paste-ready code blocks, running as one lane of a parallel fanout so multiple phases are elaborated concurrently without conflicting edits.
Core Features & Use Cases
- Single-phase code generation: Reads the full plan plus the real code the phase touches, then emits a code-bearing replacement for exactly one
## Phase N: section to .rpiv/artifacts/elaborations/.
- Parallel-safe self-check: Applies drafted code blocks at their real anchor positions, runs the project's scoped type-check and lint commands, then reverts the tree byte-identical so sibling phase lanes are never corrupted.
- Deterministic splice integration: Emits a document whose heading and filename pair to the plan so the
stitch-elaborations script can fold per-phase elaborations back into the plan for grading.
- Use Case: After a
synthesize step produces a multi-phase refactor plan, a workflow fanout dispatches one elaborate unit per phase; each unit grounds its code in the current tree, verifies it compiles, and hands a ready-to-implement phase section to the downstream implement step.
Quick Start
Dispatch this Skill with a plan path and phase heading, for example: elaborate .rpiv/artifacts/plans/my-plan.md Phase 2: Add retry logic.