juicesharp/rpiv-mono/plan

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.

Convert a design artifact into a phased implementation plan with parallelized atomic phases and explicit success criteria, written to .rpiv/artifacts/plans/. Use after the design skill when the user wants a design turned into an actionable, phase-by-phase plan to hand to the implement skill. Prefer plan when a straightforward phased breakdown is sufficient, and prefer blueprint when iterative vertical-slice micro-checkpoints between phases are needed.

Install

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

SKILL.md

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

Plan

You are tasked with creating phased implementation plans from design artifacts. The design artifact contains all architectural decisions, full implementation code, and ordering constraints. Your job is to decompose that design into parallelized atomic phases with success criteria that implement can execute.

Input

$ARGUMENTS — path to a design artifact (.rpiv/artifacts/designs/*.md).

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. Inherit phase boundaries from design's ## Slices (1:1) → 3. Write plan (code from Architecture, Success Criteria pass through from ## Slices) → 4. Independent Plan Review (code-reviewer + coverage-reviewer in parallel) → 5. Triage merged findings → 6. Follow-ups

The final artifact is implement-ready.

Steps

Step 1: Read Design Artifact

When this command is invoked:

  1. Determine input mode:

Design artifact provided (path to a .md file in .rpiv/artifacts/designs/):

  • Read the design artifact FULLY using the Read tool WITHOUT limit/offset
  • Extract: Architecture (the code changes), `## Slices` (slice boundaries + per-slice Success Criteria — authored by `/skill:design` Step 6.1, verified by slice-verifier at 6.2), File Map, Ordering Constraints, Verification Notes, Performance Considerations, Scope
  • These are the inputs for phasing. ## Slices is the phase contract: each ### Slice N: {name} becomes ## Phase N: {name} with the same **Files**: list and the same Success Criteria. No reauthoring.
  • Design decisions are settled — do not re-evaluate them
  • If the design has unresolved questions OR the ## Slices section is missing/empty, STOP — tell the developer to return to design

No arguments provided: ``` I'll create an implementation plan from a design artifact. Please provide the path:

/skill:plan .rpiv/artifacts/designs/2025-01-20_09-30-00_feature.md

Run /skill:design first to produce the design artifact. There is no standalone path. ``` Then wait for input.

  1. Read any additional files mentioned in the design's References — research documents, tickets. Read them FULLY for context.
Step 2: Inherit Phase Boundaries from ## Slices

Slice ≡ phase, 1:1. Each ### Slice N: {name} in the design's ## Slices section becomes ## Phase N: {name} in the plan. No recomposition: do not merge two slices into one phase, do not split a slice into multiple phases, do not reorder. The slice-verifier (design Step 6.2) already verified each slice's atomicity and cross-slice consistency with code + Success Criteria; recomposing here would discard that guarantee.

The design's Ordering Constraints and File Map are reference material — the slice ordering in ## Slices already encodes them. Parallelism annotations (e.g., "Phases 2 and 3 can run in parallel after Phase 1") carry forward from the design's Ordering Constraints when slices have no inter-dependency.

Present the inherited phase structure as confirmation only (no recomposition options):

Inheriting {N} slices from `{design path}` as {N} phases (1:1):
## Implementation Phases:
1. {Slice 1 name} - {what it delivers} ({N} files)
2. {Slice 2 name} - {what it delivers} ({N} files)
3. {Slice 3 name} - {what it delivers} ({N} files)
Parallelism per design's Ordering Constraints: {e.g., "Phases 2 and 3 independent after Phase 1"}.
Total: {N} files across {M} phases. Success Criteria pass through from design's `## Slices` unchanged.
Proceeding to write the plan artifact.

No developer question — boundary changes are out of scope for plan. If the developer wants different boundaries, they revisit /skill:design and re-decompose. (This guarantees blueprint-equivalent slice-verified atomicity throughout.)

Step 3: Write Plan

Write the plan incrementally — skeleton first, then fill each phase. Code comes from the design's ## Architecture (file-grouped); Success Criteria come from the design's ## Slices section unchanged — no reauthoring, no re-derivation from Verification Notes.

  1. Write the plan skeleton to .rpiv/artifacts/plans/<slug>_<description>.md (use <slug> from line 1 of the Metadata block above; copy <iso> verbatim into frontmatter date: and last_updated:).
  • Format: <slug>_<description>.md where:
  • <slug> is the second tab-separated field on line 1 of the Metadata block above
  • description is a brief kebab-case description (may include ticket number)
  • Examples:
  • With ticket: 2025-01-08_14-30-00_ENG-1478-parent-child-tracking.md
  • Without ticket: 2025-01-08_14-30-00_improve-error-handling.md
  • The skeleton includes everything EXCEPT large code blocks: frontmatter, Overview, Desired End State, What We're NOT Doing, full phase structure (Overview, Changes Required with file paths and change summaries, Success Criteria copied verbatim from design's `## Slices`, parallelism annotations), Testing Strategy, Performance Considerations, References. Phase boundaries are inherited 1:1 from ## Slices — no recomposition.
  • Frontmatter `phases:` array — one { n, title, files, depends_on } entry per ## Phase N: section, in body order; phase_count equals its length. implement fans out over it. Populate files: from each phase's ### Changes Required: **File**: paths (every repo-root-relative path the phase creates or edits) and depends_on (lower n only) from the design's Ordering Constraints when the ordering is semantic (no shared file).
  1. Fill code blocks using Edit — one phase at a time:
  • For each phase, Edit to insert the code blocks from the design's ## Architecture section into the Changes Required subsections. Use the slice's **Files**: list (from the design's ## Slices) to know which Architecture entries belong to which phase.
  • Success Criteria for each phase are already populated in the skeleton from the design's matching ### Slice N subsection — do not re-author. If the design's criteria look wrong, that's a design defect; do not patch here.
  1. Use this template structure:
markdown
---
date: {Current date and time with timezone in ISO format}
author: {`author:` from Metadata block}
commit: {Current commit hash}
branch: {Current branch name}
repository: {Repository name}
topic: "{Feature/Task Name}"
tags: [plan, relevant-component-names]
status: in-progress
parent: "{path to design artifact}"
phase_count: {number of `## Phase N:` sections}
phases:
-{ n: 1, title: {Phase 1 name}, files: [{repo-root-relative paths Phase 1 creates/edits}], depends_on: [] }
-{ n: 2, title: {Phase 2 name}, files: [{paths}], depends_on: [1] }
last_updated: {Same ISO timestamp as `date:` above}
last_updated_by: {`author:` from Metadata block}
---
# {Feature/Task Name} Implementation Plan
## Overview
{Brief description of what we're implementing and why. Reference design artifact.}
## Desired End State
{From design artifact's Desired End State / Summary — what "done" looks like and how to verify it}
## What We're NOT Doing
{From design artifact's Scope → Not Building}
## Phase 1: {Descriptive Name}
### Overview
{What this phase accomplishes}
### Changes Required:
#### 1. {Component/File Group}
**File**: `path/to/file.ext`
**Changes**: {Summary of changes}

// Code from design artifact's Architecture section

### Success Criteria:
{Copied verbatim from design's `### Slice N` subsection — same `- [ ]` bullets that slice-verifier (design 6.2) already validated against the slice's code. Do NOT re-author here.}
#### Automated Verification:
- [ ] {From design's `## Slices` → `### Slice N` → `#### Automated Verification:`}
#### Manual Verification:
- [ ] {From design's `## Slices` → `### Slice N` → `#### Manual Verification:`}
---
## Phase 2: {Descriptive Name}
{Similar structure with both automated and manual success criteria...}
---
## Testing Strategy
### Automated:
- {Standard project checks from success criteria}
### Manual Testing Steps:
1. {From design's Verification Notes — listed as manual testing steps for reference; not load-bearing for verification since design's `## Slices` Success Criteria already encode the per-phase manual checks}
2. {Another reference step}
## Performance Considerations
{From design artifact — copied directly}
## Migration Notes
{From design artifact — copied directly. If applicable: schema changes, data migration, rollback strategy, backwards compatibility. Empty if not applicable.}
## Developer Context
{Empty at skeleton write; Step 4.4 fallback notes and any post-write developer interactions land here.}
## References
- Design: `.rpiv/artifacts/designs/{file}.md`
- Research: `.rpiv/artifacts/research/{file}.md`
- Original ticket: `thoughts/me/tickets/{file}.md`
Step 4: Independent Plan Review

After Step 3 finalizes the artifact, dispatch two independent review subagents in parallel — one to walk every Phase code fence, one to walk every verification intent — both against the live codebase at HEAD. This is the single post-finalization quality gate for the entire design → plan pipeline: code review was deliberately deferred from design to here, where code + Success Criteria + phasing are all visible in one artifact for joint review (blueprint-equivalent topology).

4.0. Flip status to in-review

Before dispatching the reviewers, Edit frontmatter status: in-progress → status: in-review (Step 5 flips to ready after triage — keeps consumers off an artifact still being edited).

4.1. Dispatch artifact-code-reviewer and artifact-coverage-reviewer in parallel

Reuse the exact file_path string passed to Write at Step 3 — the runtime already resolved it for this platform; do not rebuild it from pwd. ls to verify it still exists; abort dispatch on miss.

Send both Agent calls in a single assistant message so they run in parallel:

Agent({
subagent_type: "artifact-code-reviewer",
description: "post-finalization plan code review",
prompt: `Plan artifact: {Step-3 Write file_path, ls-verified}
Review the finalized plan against the live codebase at HEAD. Walk every Phase code fence, audit against code-quality / codebase-fit / actionability, emit one severity-tagged row per finding.`
})
Agent({
subagent_type: "artifact-coverage-reviewer",
description: "post-finalization plan coverage review",
prompt: `Plan artifact: {Step-3 Write file_path, ls-verified}
Review the finalized plan's verification-intent coverage. Walk every ## Verification Notes and ## Precedents & Lessons entry; for each, verify it lands in either a phase's ### Success Criteria: bullet or as a visible code mirror. Emit one severity-tagged row per uncovered entry.`
})
4.2. Persist the merged review table to the artifact

Each agent returns a markdown table with columns plan-loc | codebase-loc | severity | dimension | finding | recommendation. Merge both tables into one section, prepending a source column (code for artifact-code-reviewer rows, coverage for artifact-coverage-reviewer rows) and appending a resolution column (initially blank, filled progressively at Step 5):

markdown
## Plan Review (Step 4)
_Independent post-finalization review by artifact-code-reviewer and artifact-coverage-reviewer subagents. Findings triaged at Step 5._

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/plan/badge)](https://verified-skill.com/skills/juicesharp/rpiv-mono/plan)

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