juicesharp/rpiv-mono/elaborate
Claude Code and agent skill by juicesharp/rpiv-mono
- community
Checking that the SKILL.md file is still in the repository.
Write implement-ready code into ONE phase of a synthesized plan — read the whole plan plus the real code the phase touches, then emit a code-bearing replacement for that single `## Phase N:` section to .rpiv/artifacts/elaborations/. Single-pass, no subagents, no self-review, no questions. Dispatched once per phase by an elaborate fanout after synthesize; the per-phase elaborations are folded back into the plan by the deterministic `stitch-elaborations` script, and the grade panel judges the stitched plan. Use as a fanout unit, not standalone.
Install
npx vskill@latest install juicesharp/rpiv-mono/elaborateSKILL.md
The same SKILL.md was published earlier as juicesharp/rpiv-mono/elaborate.
Elaborate
You write implement-ready code into one phase of a synthesized plan, in isolation, and emit it as a per-phase elaboration doc. One pass. You do not redesign the phase, write any other phase's code, or self-review — synthesize already reconciled the cross-phase seams and the workflow's grade panel judges the spliced result. You turn one phase's contract-level "what to change" into the actual code to apply.
Input
$ARGUMENTS — <plan-path> Phase N: <title> (exactly the unit shape a phase fanout dispatches):
- The first token is the path to a plan under
.rpiv/artifacts/plans/. - The remainder (
Phase N: <title>) names the single phase to elaborate. ParseNfromPhase (\d+).
Elaborate only that phase. The other phases are owned by sibling lanes — never write their code.
If the plan path is missing or Phase N can't be parsed, print an error and stop — it's a dispatch error, not a failing phase.
Metadata
Copy values verbatim. <iso> is the first tab-separated field (use as date); ignore the second.
Steps
- Read the plan fully (no limit/offset). Note its
## Synthesis Notes(the reconciled seams — conflict resolutions, shared locals, integration order) and locate the## Phase N:section you own: its### Changes(the files/symbols to touch) and its### Success Criteria. Skim the other phases' sections too — to know what they own and what interfaces they expose — but never implement them. The plan's trailing## Whole-Plan Verificationblock (when present) is not part of any phase's section — no phase owns it. - Ground in the live code. For every file the phase's
### Changesnames, Read/Grep the citedpath:linein the current tree. The plan may have been written against a slightly older state — anchor the code you write to what is actually there now (signatures, imports, surrounding style). Files owned by a sibling phase are the exception: never Read, Grep, or wait for them on disk — sibling lanes create them concurrently, so they may not exist yet, and an ENOENT on a sibling-owned path is expected, never a retry. Their interfaces come from the plan's Synthesis Notes and the sibling's phase section (Step 3). - Write the code for this phase only. For each file in the phase's Changes, emit a concrete, paste-ready code block: the full function/section to add, or the exact edit (enough that
implementapplies it without guessing). Match the surrounding code's conventions. Where the phase depends on a sibling phase's symbol, reference it by the shape the plan/Synthesis Notes already fixed — do not redefine it. - Carry the success criteria. Preserve the phase's
### Success Criteria(Automated + Manual), tightening a check only if your code makes it more concrete. Do not drop or weaken a criterion. - Resolve ambiguity yourself. Decide from the plan, the Synthesis Notes, and the real code. This skill is non-interactive — if a genuine blocker can't be settled from those inputs, make the most defensible call, record it under
## Notes / Deferred, and let the grade panel catch a bad call. Do not ask the user (N lanes run concurrently). - Self-check (probe → revert → guard). Before emitting, verify the drafted code blocks actually apply and pass the project's checks at their REAL placement — declaration-order / initialization-order and integration defects only surface when a block lands at its true anchor, not an idealized layout. Define write-scope = the set of repo-root-relative paths the phase's
### Changesnames (the files below this step's emitted#### \...\`headings); the whole self-check applies and reverts ONLY those paths — sibling phase lanes run concurrently in the same working tree (the fanout serializes phases whosefiles:overlap, so a concurrent sibling never owns a path in your write-scope), so touching a file another phase owns corrupts its in-flight edit. Never snapshot, copy back, or rebuild a file from a copy taken earlier: revert isgit restore` only. The cycle is exactly:
- Snapshot. Capture
git status --porcelainBEFORE the probe (the byte-identical revert target). - Probe. Apply each drafted code block via
Editat its REAL anchor position in the current file (not a speculative layout). New files named by the phase are written for the probe. - Verify, in order, attributing only write-scope errors. Take the command vocabulary from the project's guidance
# Commandstable — never substitute a tool the project does not use:
- The project's read-only check, in the NARROWEST recorded form that covers write-scope — the per-package/per-crate/per-module invocation from the
# Commandstable (e.g.tsc -p <package>,cargo check -p <crate>,go build ./<pkg>/...), falling back to the whole-tree form only when no scoped variant is recorded (N sibling lanes each running the whole-tree check concurrently is the fanout's single biggest compute cost): attribute ONLY errors whose file path is inwrite-scope(sibling units' in-flight edits surface as cross-file noise and are NOT yours to act on; revert past them). An unresolved reference to a sibling-owned symbol or file is expected-unresolved — not yours to fix, and never a reason to probe the tree for the sibling's files. Re-derive and fix drafted blocks from the attributed errors until clean. If the project records no such command, skip — the apply-at-anchor probe still validates placement. - The project's path-scoped auto-fix lint/format command (the scoped form from the
# Commandstable), passed ONLY the write-scope paths — it may rewrite only those. Never run an unscoped auto-fixer: it rewrites sibling phases' in-flight edits. - Any project-specific invariant check the guidance names for files in your write-scope (some projects register extra validators for load-bearing files) — run it as recorded there.
- Revert.
git restore <tracked write-scope files>(undo in-placeEdits) andrm -f <newly-created files>(undo new-fileWrites) so the tree returns to its pre-probe state. The mutation is a TRANSIENT, reverted probe — the emitted elaboration doc is the only lasting output (implementapplies the code later, after the splice). - Guard.
git status --porcelainMUST equal the pre-probe snapshot byte-for-byte when you emit. ANY residue (a missed revert, an untracked file, a mode change) is a BLOCKING error: fail the elaboration, emit nothing, and surface the residue. - Fix → re-emit. From the attributed errors, fix the drafted code blocks in the elaboration; re-probe is optional, but emit ONLY blocks that passed every applicable check above. A clean phase still emits unchanged — the self-check is a no-op pass that reverts byte-identical.
- Write the elaboration doc (below),
status: ready. Its filename pairs to the plan so the splice can fold it back deterministically — see Output document. - Print the path, then a one-line summary:
Phase N elaborated: <k> files, <m> code blocks. Your path must be the LAST full `.rpiv/artifacts/...` path in your reply — refer to any other artifact (a sibling phase's elaboration, the plan) by basename only, never by full path. The workflow collector takes the last full artifact path in your final message as YOUR artifact; a full sibling path after yours misattributes the stage's output.
Output document
Path: .rpiv/artifacts/elaborations/<plan-basename>__phase-<N>.md, where <plan-basename> is the plan filename without the .md extension. Example: for .rpiv/artifacts/plans/2026-06-24_17-13-09_full-width-boxed-workflow-preview.md, Phase 2 → .rpiv/artifacts/elaborations/2026-06-24_17-13-09_full-width-boxed-workflow-preview__phase-2.md.
The body must contain exactly one ## Phase <N>: <title> section — verbatim heading text matching the plan (same N, same title). The stitch-elaborations script swaps the plan's ## Phase N: section for this one, so the heading is the splice anchor: do not rename it or change N.
<implement-ready code — the function/section to add, or the exact edit, grounded in the current file>
<code>
Hard rules
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/rpiv-pi/skills/elaborate/SKILL.md
Popularity
- Repository stars
- 658
- Repository forks
- 121
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/juicesharp/rpiv-mono/elaborate)