Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
spences10 avatar

Structured Rpi

  • 1 installs
  • 35 repo stars
  • Updated April 29, 2026
  • spences10/claude-code-toolkit

Runs a 6-phase Research-Plan-Implement workflow with user approval gates and a markdown artifact at each phase.

About

Decomposes complex tasks into six gated phases from clarifying questions through implementation, requiring user approval before advancing. A developer uses it for complex refactors or features with unclear requirements.

  • Six phases each produce a concise markdown artifact and a phase gate
  • Includes rules for skipping phases when scope is small or requirements are clear

Structured Rpi by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #2,479 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/spences10/claude-code-toolkit --skill structured-rpi

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars35
Last updatedApril 29, 2026
Repositoryspences10/claude-code-toolkit

What it does

Runs a 6-phase Research-Plan-Implement workflow with user approval gates and a markdown artifact at each phase.

Files

SKILL.mdMarkdownGitHub ↗

Structured RPI (Research-Plan-Implement)

A 6-phase workflow that decomposes complex tasks into gated stages, each producing a markdown artifact the user approves before advancing.

Quick Start

Use structured RPI to refactor the authentication module.

The workflow walks through six phases sequentially. Each phase produces a concise markdown artifact. You must get user approval before moving to the next phase.

Phases

#PhaseArtifactPurpose
1QuestionsClarifying questions listSurface unknowns and ambiguity
2ResearchFindings summaryGather context from code and docs
3Design DiscussionDesign options + tradeoffsExplore approaches with the user
4Structure OutlineComponent/file outlineAgree on shape before details
5PlanImplementation plan (Plan tool)Concrete steps with acceptance criteria
6ImplementWorking code + verificationExecute the plan

How It Works

1. Announce the phase — State which phase you're entering and what it produces 2. Do the work — Research, analyze, design, or implement as appropriate 3. Present the artifact — Output a markdown artifact with a clear heading 4. Gate — Ask the user to approve, request changes, or skip ahead 5. Advance — Only move to the next phase after explicit user approval

Phase Gate Format

After each artifact, present:

Phase N complete. Ready to proceed to Phase N+1 (Name)?
Options: [approve] [request changes] [skip to phase N+X] [abort]

Key Rules

  • Always gate — Never advance without user approval
  • Phase 5 uses the Plan tool — Create a structured plan, not just prose
  • Artifacts are markdown — Clean, scannable, no JSON blobs
  • Keep artifacts concise — Prefer bullet points and tables over walls of text
  • Self-contained — This workflow runs in a single session, no delegation

When to Use

SituationUse Structured RPI?
Complex refactor spanning multiple filesYes
New feature with unclear requirementsYes
Bug fix with known causeNo — just fix it
One-file changeNo — overkill
User says "plan this out" or "let's think through this"Yes

When to Skip Phases

  • User already provided requirements — Skip Phase 1 (Questions)
  • Small scope, well-understood — Skip Phase 2 (Research)
  • Single obvious approach — Compress Phase 3 (Design) into Phase 4 (Outline)
  • User says "just do it" — Jump to Phase 6 with a lightweight plan

References

  • phase-details.md - Detailed phase descriptions, inputs/outputs, done criteria
  • structured-outputs.md - Artifact templates for each phase
  • exit-conditions.md - When to skip, go back, or exit the workflow

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.