juicesharp/rpiv-mono/synthesize
Claude Code and agent skill by juicesharp/rpiv-mono
- community
Checking that the SKILL.md file is still in the repository.
Merge N independent per-slice designs (plus the research they rest on) into ONE coherent phased plan in .rpiv/artifacts/plans/ — reconciling cross-slice overlaps, wiring inter-slice integration, and ordering phases by slice dependencies. Single-pass, no subagents, no self-review. The fan-in barrier of a fanout-and-synthesize flow — one phase per slice, plan-compatible so implement/validate consume it unchanged. For large slice maps it also runs hierarchically — as a per-cluster partial (`--as-subplan` turns designs into a subplan) and as the root merge (`--subplans` turns subplans into a plan) — so no single pass must hold every design at once. Use after a per-slice design fanout.
Install
npx vskill@latest install juicesharp/rpiv-mono/synthesizeSKILL.md
The same SKILL.md was published earlier as juicesharp/rpiv-mono/synthesize.
Synthesize
You merge several independent per-slice designs into one coherent phased plan. One pass. You do not redesign a slice or write code — you reconcile and sequence what the slice designs already decided. This is the fan-in barrier: each design was produced blind to the others, so your job is to make them fit together. No subagents, no self-review — the workflow's grade panel judges the merged plan.
Input
$ARGUMENTS — flags (the orchestrator wires them from the fan-in):
--designs <path>(repeats) — per-slice design docs from the design fanout.--subplans <path>(repeats) — partial sub-plans from a cluster fanout (root mode).--research <path>(optional) — the research the slices rest on, for cross-slice constraints.--as-subplan(flag) — emit a sub-plan (partial mode) instead of a full plan.--cluster <k>(optional, partial mode) — the ordinal written into the sub-plan's_cluster-<k>.mdfilename. The cluster fanout supplies it; for manual partial invocation pick an unused<k>(scan.rpiv/artifacts/subplans/for existing*_cluster-<k>.mdand take the next unused positive integer) so a re-dispatched pass writes a distinct file and never clobbers a sibling sub-plan.--goal <path>(optional, root/flat) — the verbatim brief. Every ask it names is implemented by a phase or deferred under## Out of Scopewith a reason. Partial mode ignores it.--acceptance <path>(optional, root/flat) — the frozen acceptance inventory (items:, idsa1…). Every id is disposed in the frontmatteracceptance:block (step 3b). Partial mode ignores it; missing or unreadable → omit the block.
If neither --designs nor --subplans is present, print an error and stop.
Modes
Pick the mode from the flags — the work is the same fan-in reconciliation at three scales:
| Mode | Selected by | Reads | Writes to | Output kind | |
|---|---|---|---|---|---|
| Flat (default) | --designs only | every design | .rpiv/artifacts/plans/ | full plan | |
| Partial (per-cluster) | --designs … --as-subplan | one cluster's designs | .rpiv/artifacts/subplans/ | sub-plan | |
| Root (merge) | --subplans … | the cluster sub-plans | .rpiv/artifacts/plans/ | full plan |
Hierarchical synthesis (partial → root) bounds each pass's context: a partial sees only its cluster's designs and exports the seams other clusters integrate with; the root merges the compact sub-plans (their summary + exports + phases), never re-reading every design. Flat mode is the single-pass form for small slice maps.
Metadata
Copy values verbatim. <iso> is the first tab-separated field; <slug> is the second.
Steps
- Read every input fully — each
--designsdoc (flat/partial) or--subplansdoc (root), plus--researchif given.
- For a design note its
slice_n,slice_title,depends_on, File Map, Key Interfaces, Integration Points, Success Criteria. - For a sub-plan note its
summary,exports(the seams it owns),depends_onclusters, and its phases.
- Reconcile across the inputs — this is the whole point of the barrier:
- Overlap — when two inputs touch the same file/symbol, merge them into a single coherent change (or split into ordered phases) rather than emitting contradictory edits.
- Integration — wire the seams: an input that depends on another's interface must reference the real shape the other defines. In root mode, this is where each sub-plan's
exportsget connected. - Conflict — when two inputs make incompatible decisions, resolve to one, and record the resolution in Synthesis Notes (the grade panel's correctness/architecture-fit members will check it).
- Risk flags — a decision you're not confident is correct (an unverified assumption, an edge case wanting a second opinion) goes in the frontmatter
risks:array as a{ id, claim }entry (stableid;claim= the one-line assertion to rule on) plus a## Risk Flagsline — never buried in prose. This is the first-class channel grade and validate are REQUIRED to rule on; flag anything you'd otherwise write "flagging this so the grade panel can weigh in" about. Two optional fields tighten what "passing" means, so the gate can refuse a confident-but-ungrounded assertion (the honest-lazy class — a confident pass that never opened a file): - `claim_type: mechanics` — the
claimasserts a verified mechanism (a behavior that holds because code was checked). A grade panel ruling itpassMUST cite the checkedfile:linein that ruling'sevidence, else the gate demotes the pass as un-grounded. Use it for risks like "the revert is byte-identical" or "the helper no-ops on absent fields" where the assertion is checkable against code right now. Do not pair it withverify-at-implementfor a claim about code a phase has not written yet; a deferred flag carries only the procedure duty. - `disposition: verify-at-implement` — the panel may defer the risk to a later phase rather than rule it in this panel. A deferred pass is accepted ONLY when the flag ALSO carries a concrete `procedure` (the named command/test the owner phase runs to discharge it) and an `owner` (the phase
nthat runs that step); a bare "verify later" with no procedure demotes. Use it for risks that genuinely need the shipped tree (a realbuildrun, a coverage gate) the plan-grade panel cannot run. - Default (no
claim_type, nodisposition) stays the ordinary{ id, claim }shape — the panel rules it on the artifact as today, with no evidence or procedure duty.
- Sequence phases — one phase per slice (flat/partial) or carry the sub-plans' phases through (root), ordered so a phase never precedes one it
depends_on. Tightly-coupled units may merge into one phase; note any merge. Populate each entry'sfiles:from that phase's### Changespaths (every repo-root-relative path the phase creates or edits) anddepends_ononly for semantic ordering NOT visible infiles:(a phase that needs an earlier phase to run first despite no shared file) — lowernonly.
3b. Dispose every acceptance id (root/flat, --acceptance given): one acceptance: entry per inventory id, in order — implemented + phase (its command exits 0 as written on that phase's tree) or deferred + reason + an ## Out of Scope line. Every id once; no invented ids; prose is not a disposition. rebound + phase + command + reason when the substance is delivered but the frozen command pins a mechanism the design changed (a file or helper name, a count): the replacement command measures the SAME observable as the item's statement/expect, reuses a check the phase's own AV runs, and drops no conjunct without saying why; substance not delivered ⇒ deferred, never rebound.
- Write the output (below),
status: ready:
- Flat / root → a standard plan in
.rpiv/artifacts/plans/— phases with concrete changes and Success Criteria that pass through unchanged toimplement/validate. - Partial (
--as-subplan) → a sub-plan in.rpiv/artifacts/subplans/— the same phase shape PLUS asummaryand anexportsblock naming the seams (files/symbols/interfaces this cluster owns) the root will wire other clusters into. Keep it compact: the root reads it instead of your cluster's designs.
- Print the path, then a one-line summary:
<N> phases from <M> {slices|sub-plans}(note the mode).
This skill is non-interactive: when a conflict can't be cleanly resolved, make the most defensible call, record it in Synthesis Notes, and let the grade panel catch a bad merge. Do not ask the user.
Output document
Flat / root mode → Path: .rpiv/artifacts/plans/<slug>_<topic>.md. Partial mode (--as-subplan) → Path: .rpiv/artifacts/subplans/<slug>_cluster-<k>.md — <k> is the verbatim --cluster <k> value (the cluster fanout always supplies it; for manual partial invocation pick an unused <k>: scan .rpiv/artifacts/subplans/ for existing *_cluster-<k>.md and take the next unused positive integer, so a re-dispatched pass never clobbers a sibling sub-plan). Same body shape plus a summary: scalar and an exports: list in frontmatter, e.g.:
The frontmatter must carry a phases: array and phase_count equal to both the array length and the number of ## Phase N: headings in the body (a downstream derive-check rejects a mismatch) — for sub-plans too. acceptance: appears ONLY with --acceptance in root/flat mode; sub-plans never carry it.
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/synthesize/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/synthesize)