juicesharp/rpiv-mono/explore

Claude Code and agent skill by juicesharp/rpiv-mono

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze solution options for a feature or change, comparing approaches with pros, cons, trade-offs, and a recommended path. Use when the user is weighing approaches, asks "what are the options" or "how should we approach X", wants approaches compared, says "explore solutions", or faces a decision with multiple valid implementations. Produces solutions documents in .rpiv/artifacts/solutions/, which can feed the design skill.

Install

npx vskill@latest install juicesharp/rpiv-mono/explore

SKILL.md

The same SKILL.md was published earlier as juicesharp/rpiv-mono/explore.

Explore

You are tasked with analyzing solution options for new features or changes by invoking parallel skills and synthesizing their findings into actionable recommendations optimized for design consumption.

Input

$ARGUMENTS — feature/change description, optionally with paths to tickets or research docs.

Metadata

!
node "${SKILL_DIR}/../_shared/now.mjs"
echo
node "${SKILL_DIR}/../_shared/git-context.mjs"

Copy values verbatim — do not reformat the timezone offset.

Flow

  1. Input → 2. Generate candidates → 3. Candidate checkpoint → 4. Per-candidate fit → 5. Synthesize → 6. Metadata → 7. Write doc → 8. Present → 9. Follow-ups

The final artifact feeds design.

Steps

Step 1: Input Handling
  1. No argument provided — respond with:

``` I'm ready to research solution options. Please provide:

  • What feature/change you want to explore
  • Any requirements or constraints you know about
  • Reference to relevant ticket or research documents if available

I'll analyze the current codebase, generate solution options, and provide recommendations. ``` Then wait for the user's request.

  1. Read any files mentioned — tickets, research docs, related artifacts:
  • Read them FULLY first using the Read tool WITHOUT limit/offset parameters
  • Read these files in main context before invoking skills
  • Extract requirements, constraints, and goals
  • Identify what problem we're solving
Step 2: Generate Candidates and Dimensions

Generate 2–4 named candidates from three sources, then merge into one shortlist:

  • Ecosystem scan — spawn web-search-researcher for any topic where the candidate space includes external libraries, frameworks, or services. Prompt it to return 2–4 named options with one-line "what it is" + canonical doc link per option. Skip only when the topic is wholly internal (e.g., "how to organize this service layer") and the orchestrator's design-space enumeration plus the user shortlist already cover the space.
  • Design-space enumeration — orchestrator names abstract shapes from first principles when applicable (pub/sub vs direct-call vs event-bus; sync vs async; manual mapping vs auto-mapper). One-line "what it is" per shape.
  • User shortlist — if the user pre-named candidates in the entry prompt ("compare TanStack Query vs SWR"), include those verbatim.

Merge to 2–4 candidates total. Name each with a short noun phrase ("TanStack Query", "Direct event bus"). Deduplicate.

Default dimension list (presented at Step 3; developer may drop irrelevant ones):

  • approach-shape (hybrid) — what category of solution the candidate is, what core moving parts it requires.
  • precedent-fit (codebase-anchored) — does the existing code already use this pattern; how many call sites would adopt the new option.
  • integration-risk (codebase-anchored) — which existing seams the candidate would touch; what breaks if it lands.
  • migration-cost (external-anchored for libraries; codebase-anchored for in-house code) — work to introduce the candidate plus work to remove the incumbent if there is one.
  • verification-cost (codebase-anchored) — test/CI surface needed to make the candidate safe to adopt.
  • novelty (external-anchored) — how recently the candidate emerged, ecosystem momentum, deprecation risk.

Hold the candidate set and default dimension list in working state for the Step 3 checkpoint. Do not dispatch fit agents yet.

Step 3: Candidate Checkpoint

Present the candidate set and default dimensions to the developer before per-candidate fit dispatch.

  1. Show candidates and dimensions:

``` ## Candidates for: {Topic}

  1. {Candidate A} — {one-line what it is}
  2. {Candidate B} — {one-line what it is}

...

Dimensions (default 6; drop any that don't apply):

  • approach-shape · precedent-fit · integration-risk
  • migration-cost · verification-cost · novelty

```

  1. Confirm via the `ask_user_question` tool with the following question: "{N} candidates, {D} dimensions. Begin per-candidate fit dispatch?". Header: "Candidates". Options: "Proceed (Recommended)" (Begin per-candidate fit dispatch with all {N} candidates and all {D} dimensions); "Adjust candidates or dimensions" (Rename, add, or drop candidates; drop dimensions that don't apply); "Re-generate candidates" (Candidates look wrong — re-run Step 2 with adjusted scope).
  • Header is capped at ≤16 characters (MAX_HEADER_LENGTH = 16 — longer values are rejected).
  1. Handle developer input:

"Proceed": lock the candidate × dimension set; advance to Step 4.

"Adjust candidates or dimensions": ask the follow-up free-text question with prefix ❓ Question: — "Which candidates and dimensions should be added, dropped, or renamed?" — apply edits to the working set, re-present, and confirm again with the same three-option ask_user_question.

"Re-generate candidates": ask the follow-up free-text question with prefix ❓ Question: — "What should be different in candidate generation? (narrower/wider scope, different ecosystem, exclude approach X, …)" — return to Step 2 with the updated scope, then re-enter Step 3.

Loop until "Proceed" is selected.

Step 4: Per-Candidate Fit Dispatch (parallel agents)

For each confirmed candidate, dispatch up to two agents in parallel — total ≤ 2 × N agents:

  • One `codebase-analyzer` per candidate — when ≥1 kept dimension is codebase-anchored (precedent-fit, integration-risk, often migration-cost and verification-cost). The agent scores the candidate on every kept codebase-anchored dimension in a single pass, returning evidence per dimension with file:line references.
  • One `web-search-researcher` per candidate — when ≥1 kept dimension is external-anchored (novelty, often migration-cost for libraries, approach-shape for ecosystem options). The agent scores the candidate on every kept external-anchored dimension in a single pass, returning evidence per dimension with doc/source links.

Skip either agent for a candidate when no dimension of that anchor-type was kept. Hybrid dimension approach-shape is scored by the orchestrator after both agents return, by combining their per-candidate findings.

Per-candidate prompt shape (use the same outer template, fill in candidate name and kept dimensions):

Candidate: {name} — {one-line what it is}
Topic: {topic from Step 1}
Score this single candidate on the following dimensions, each with concrete evidence ({file:line} for codebase, doc/source link for external). Report findings as one section per dimension.
Dimensions for this run:
- {dimension name} — {one-line of what to look for}
- ...
Do NOT compare against other candidates; another agent handles each one separately. Focus on depth of evidence for THIS candidate.

Wait for ALL agents to complete before proceeding.

Coverage check: every (candidate × kept-dimension) cell is filled — by an agent's evidence or by an explicit null ("does not apply to this candidate"). Cells silently dropped indicate a missing dispatch — re-run that candidate's agent.

Step 5: Synthesize and Recommend
  • Cross-reference per-candidate findings — fill the candidate × dimension grid with evidence per cell.
  • Apply the fit filter qualitatively per candidate: a candidate "clears" when no kept dimension surfaces a blocking concern (integration-risk that breaks load-bearing seams, migration-cost that exceeds the topic's scope, verification-cost with no path to coverage).
  • If ≥1 candidate clears the fit filter: pick the strongest, document rationale with evidence, and explain why alternatives weren't chosen. Identify conditions that would change the recommendation. Set frontmatter verdict: pass.
  • If every candidate fails the fit filter: produce a "no-fit" recommendation — list each candidate's blocking dimension with evidence, recommend re-scoping the question or expanding the candidate pool, and set Step 7 frontmatter confidence: low and verdict: fail (needs_input when the call is the developer's).
Step 6: Determine Metadata and Filename

Use the substituted values from the Metadata block at the top of this skill:

  • Filename: .rpiv/artifacts/solutions/<slug>_<topic>.md — <slug> is the second tab-separated field on line 1 of the Metadata block above; <topic> is a brief kebab-case description.
  • repository: ← repo: label; branch: / commit: ← matching labels (already include no-branch / no-commit fallbacks).
  • date: / last_updated: ← <iso> (first tab-separated field on line 1 of the Metadata block above, offset verbatim).
  • Author: author: from the Metadata block (fallback: unknown).
Step 7: Generate Solutions Document
  • Use the metadata gathered in step 6
  • Structure the document with YAML frontmatter followed by content:

```markdown


date: {Current date and time with timezone in ISO format} author: {Author name} commit: {Current commit hash} branch: {Current branch name} repository: {Repository name} topic: "{Feature/Problem}" confidence: high | medium | low complexity: low | medium | high status: ready verdict: pass | fail | needs_input tags: [solutions, component-names] last_updated: {Same ISO timestamp as date: above} last_updated_by: {Author name}


# Solution Analysis: {Feature/Problem}

Date: {Current date and time with timezone from step 6} Author: {Author name from step 6} Commit: {Current commit hash from step 6} Branch: {Current branch name from step 6} Repository: {Repository name}

## Research Question {Original user query}

## Summary Problem: {What we're solving} Recommended: {Option name} - {One sentence why} Effort: {Low/Med/High} ({N days}) Confidence: {High/Med/Low}

## Problem Statement

Requirements:

  • {Requirement 1}
  • {Requirement 2}

Constraints:

  • {Hard constraint - must respect}
  • {Soft constraint - should consider}

Success criteria:

  • {What "done" looks like}

## Current State

Existing implementation: {What exists with file:line references}

Relevant patterns:

  • {Pattern 1}: file.ext:line - Used in {N} places
  • {Pattern 2}: file.ext:line - Used in {N} places

Integration points:

  • file.ext:line - {Where feature hooks in}
  • file.ext:line - {Another integration point}

## Solution Options

### Option 1: {Name} How it works: {2-3 sentence description + implementation approach}

Pros:

  • {Advantage with evidence from codebase}
  • {Advantage with evidence}

Cons:

  • {Disadvantage with impact}

Complexity: {Low/Med/High} (~{N} days)

  • Files to create: {N} (~{X} lines)
  • Files to modify: {N} (~{X} lines)
  • Risk level: {Low/Med/High}

### Option 2: {Alternative Name} {Same structure as Option 1}

### Option 3: {Another Alternative} {Same structure as Option 1}

## Comparison

CriteriaOption 1Option 2Option 3
Complexity{L/M/H}{L/M/H}{L/M/H}
Codebase fit{H/M/L}{H/M/L}{H/M/L}
Risk{L/M/H}{L/M/H}{L/M/H}

## Recommendation

<!-- Render exactly ONE of the two blocks below, based on Step 5's fit-filter outcome. -->

(A) When ≥1 candidate clears the fit filter:

Selected: {Option N}

Rationale:

  • {Key reason with evidence}
  • {Key reason with evidence}
  • ...

Why not alternatives:

  • Option X: {Reason}

Trade-offs:

  • Accepting {limitation} for {benefit}

Implementation approach:

  1. {Phase 1} - {What to build}
  2. ...

Integration points:

  • file.ext:line - {Specific change}
  • file.ext:line - {Specific change}

Patterns to follow:

  • {Pattern}: file.ext:line

Risks:

  • {Risk}: {Mitigation}

(B) When every candidate fails the fit filter:

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/juicesharp/rpiv-mono/explore/badge)](https://verified-skill.com/skills/juicesharp/rpiv-mono/explore)

Something wrong with this skill or its page? Tell us.