juicesharp/rpiv-mono/blueprint
Claude Code and agent skill by juicesharp/rpiv-mono
- community
Checking that the SKILL.md file is still in the repository.
Plan complex features by decomposing them into vertical slices (one slice equals one phase) with developer micro-checkpoints between phases, producing an implement-ready phased plan in .rpiv/artifacts/plans/. Use for complex multi-component features touching 6+ files across multiple layers when iterative review between slices is valuable. Optionally consumes a research/solutions artifact; can also run standalone with a free-text feature description for small tasks. Prefer blueprint over plan when mid-flight micro-checkpoints matter, and prefer plan when a straightforward phased breakdown is enough.
Install
npx vskill@latest install juicesharp/rpiv-mono/blueprintSKILL.md
The same SKILL.md was published earlier as juicesharp/rpiv-mono/blueprint.
Blueprint
You are tasked with planning how code will be shaped for a feature or change AND emitting an implement-ready phased plan. Decompose the feature into vertical slices (one slice = one phase), generate code slice-by-slice with developer micro-checkpoints between slices, and write the final artifact directly into .rpiv/artifacts/plans/ for /skill:implement to consume.
Input
$ARGUMENTS — path to a research artifact (.rpiv/artifacts/research/*.md) or a solutions artifact (.rpiv/artifacts/solutions/*.md), or a free-text feature description (standalone mode for small tasks).
Metadata
Copy values verbatim — do not reformat the timezone offset.
Flow
- Input → 2. Research → 3. Dimension sweep → 4. Checkpoint → 5. Decompose → 6. Generate slices → 7. Finalize → 8. Independent review → 9. Triage & iterate → 10. Follow-ups
The final artifact is implement-ready.
Steps
Step 1: Input Handling
When this command is invoked:
- Read research artifact:
Research artifact provided (argument contains a path to a .md file in .rpiv/artifacts/):
- Read the research artifact FULLY using the Read tool WITHOUT limit/offset
- Extract: Summary, Code References, Integration Points, Architecture Insights, Precedents & Lessons, Developer Context, Open Questions
- Read the key source files from Code References into the main context — especially hooks, shared utilities, and integration points the design will depend on. Read them FULLY. This ensures you have complete understanding before proceeding.
- These become starting context — no need to re-discover what exists
- Research Developer Context Q/As = inherited decisions (record in Decisions, never re-ask); Open Questions = starting ambiguity queue, filtered by dimension in Step 3
No arguments provided, branch on the recent research: and recent solutions: listings in the Metadata block:
- Both empty — no upstream artifacts available; ask the user for a free-text feature description and proceed in standalone mode (no artifact read; Step 2 fills the integration and precedent slots via agent dispatch).
- Exactly one entry total — confirm with
ask_user_question: "Blueprint from this artifact?" with options "Blueprint from[<source>] <filename>(Recommended)" and "Pick a different path". - Two or more entries total — present up to 4 most-recent across both listings as
ask_user_questionoptions, each prefixed[research]or[solutions]to flag source class.
Anything else (plain free-text feature description, unrecognized .md path, ticket link) — treat the input as the topic for Step 2; skip the upstream artifact read.
- Read any additional files mentioned — tickets, related designs, existing implementations. Read them FULLY before proceeding.
Step 2: Targeted Research
This is NOT a discovery sweep. Focus on DEPTH (how things work, what patterns to follow) not BREADTH (where things are).
- Spawn parallel research agents using the Agent tool — all in a single assistant message with multiple Agent calls (concurrent, synchronous). Never `run_in_background`: its completion can't re-drive a workflow session, so the skill ends its turn before writing the plan and the stage fails with no artifact.
- Use codebase-pattern-finder to find existing implementations to model after — the primary template for code shape
For integration wiring (inbound refs, outbound deps, config/DI/event registration), use the ## Integration Points section already extracted from research in Step 1 when present; otherwise add integration-scanner to the parallel dispatch. For precedent context (similar past changes, blast radius, follow-up fixes, lessons), use the ## Precedents & Lessons section already extracted from research in Step 1 when present; otherwise add precedent-locator when the topic touches risky surfaces (auth, migrations, schema changes, hot paths, perf-sensitive code). Do NOT dispatch either agent when its corresponding section is already in context.
External surfaces — third-party APIs, SDKs, libraries, services, protocols, or wire formats not already in the codebase:
- Add web-search-researcher
Agent prompts should focus on (labeled by target agent):
- codebase-pattern-finder: "Find the implementation pattern I should model after for {feature type}"
- integration-scanner (when dispatched): "For {topic}, map inbound refs, outbound deps, and config/DI/event registration for the area where the new feature would wire in. Single pass."
NOT: "Find all files related to X" — that's discovery's job, upstream of this skill.
- Read all key files identified by agents into the main context — especially the pattern templates you'll model after.
- Wait for ALL agents to complete before proceeding.
- Analyze and verify understanding:
- Cross-reference research findings with actual code read in Step 1
- Identify any discrepancies or misunderstandings
- Note assumptions that need verification
- Determine true scope based on codebase reality
Step 3: Identify Ambiguities — Dimension Sweep
Walk Step 2 findings, inherited research Q/As, and carried Open Questions through six architectural dimensions that map 1:1 to the plan artifact's section coverage — the sweep guarantees downstream completeness. Add migration as a seventh dimension only if the feature changes persisted schema.
- Data model — types, schemas, entities
- API surface — signatures, exports, routes
- Integration wiring — mount points, DI, events, config
- Scope — in / explicitly deferred
- Verification — tests, assertions, risk-bearing behaviors
- Performance — load paths, caching, N+1 risks
For each dimension, classify findings into three classes:
- simple — one valid option, obvious from codebase, no directional weight. Record in Decisions with
file:lineevidence; do not ask. - directional — obvious fit, but the choice encodes a direction: propagates an existing pattern across new files, picks extend-vs-replace, or spreads a convention the project may be moving off. Queue for the directional confirm (Step 4, one batched ask).
- genuine ambiguity — multiple valid options, conflicting patterns, scope questions, novel choices. Queue for Step 4, one-at-a-time.
Inherited research Q/As land as simple unless directional; Open Questions filter by dimension — architectural survives, implementation-detail defers.
Pre-validate every option before queuing it against research constraints and runtime code behavior. Eliminate or caveat options that contradict Steps 1-2 evidence. Coverage check: every Step 2 file read appears in at least one decision, directional confirm, or ambiguity; every dimension is addressed (silently-resolved valid, skipped-unchecked not).
Step 4: Developer Checkpoint
Use the grounded-questions-one-at-a-time pattern. Use a ❓ Question: prefix so the developer knows their input is needed. Each question must:
- Reference real findings with
file:lineevidence - Present concrete options (not abstract choices)
- Pull a DECISION from the developer, not confirm what you already found
- Keep
Header≤16 characters (MAX_HEADER_LENGTH = 16— longer values are rejected).
Directional confirms first. Before the one-at-a-time questions, clear every directional finding from Step 3 in a single batched ask_user_question (up to 4 per call). Do not mark the "follow" option Recommended.
Question: "About to follow {pattern X} (file:line, used ×N) across {the N new files} — confirm that's the direction, or moving off it?". Header: "Direction". Options: "Follow {X}" (propagate as-is); "Moving off {X}" (deliberate departure).
Follow records the decision as stated. Moving off promotes the finding to a genuine ambiguity — ask it one-at-a-time below with the alternative in view.
Question patterns by ambiguity type:
- Pattern conflict: "Found 2 patterns for {X}: {pattern A} at
file:lineand {pattern B} atfile:line. They differ in {specific way}. Which should the new {feature} follow?" - Missing pattern: "No existing {pattern type} in the codebase. Options: (A) {approach} modeled after {external reference}, (B) {approach} extending {existing code at file:line}. Which fits the project's direction?"
- Scope boundary: "The {research/description} mentions both {feature A} and {feature B}. Should this design cover both, or just {feature A} with {feature B} deferred?"
- Integration choice: "{Feature} can wire into {point A} at
file:lineor {point B} atfile:line. {Point A} matches the {existing pattern} pattern. Agree, or prefer {point B}?" - Novel approach: "No existing {X} in the project. Options: (A) {library/pattern} — {evidence/rationale}, (B) {library/pattern} — {evidence/rationale}. Which fits?"
Critical rules:
- Ask ONE question at a time. Wait for the answer before asking the next.
- Lead with the most architecturally significant ambiguity.
- Every answer becomes a FIXED decision — no revisiting unless the developer explicitly asks.
- Every ambiguity checkpoint MUST be self-contained: state observed behavior, at least one
file:lineevidence reference, why the decision matters, and 2-4 concrete decision options in the question or option descriptions.
Choosing question format:
- `ask_user_question` tool — concrete options include evidence and trade-offs in every description. The user can type a custom answer through the automatically appended
Type something.row; do not authorOther. Example:
> Use the ask_user_question tool with the following question: "Found 2 mapping approaches — which should new code follow?". Header: "Pattern". Options: "Manual mapping (Recommended)" (Used in OrderService (src/services/OrderService.ts:NN) — 8 occurrences); "AutoMapper" (Used in UserService (src/services/UserService.ts:NN) — 2 occurrences).
- Open-ended — still use
ask_user_question; supply 2-4 concrete hypotheses with behavior,file:lineevidence, impact, and decision context, then let the automaticType something.row capture unanticipated detail.
Batching: When you have 2-4 independent questions (answers don't depend on each other), you MAY batch them in a single ask_user_question call. Keep dependent questions sequential.
Classify each response:
Decision (e.g., "use pattern A", "yes, follow that approach"):
- Record in Developer Context. Fix in Decisions section.
Correction (e.g., "no, there's a third option you missed", "check the events module"):
- Spawn targeted rescan: codebase-analyzer on the new area (max 1-2 agents).
- Merge results. Update ambiguity assessment.
Scope adjustment (e.g., "skip the UI, backend only", "include tests"):
- Record in Developer Context. Adjust scope.
After all ambiguities are resolved, present a brief design summary (under 15 lines):
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/blueprint/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/blueprint)