plugins/claude-workflow/skills/structured-rpi/SKILL.md
Enhanced Research-Plan-Implement workflow with structured phase gates. Use when tackling complex tasks that benefit from a phased approach with user checkpoints.
npx skillsauth add spences10/claude-code-toolkit structured-rpiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A 6-phase workflow that decomposes complex tasks into gated stages, each producing a markdown artifact the user approves before advancing.
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.
| # | Phase | Artifact | Purpose | | --- | ------------------ | --------------------------- | ------------------------------------ | | 1 | Questions | Clarifying questions list | Surface unknowns and ambiguity | | 2 | Research | Findings summary | Gather context from code and docs | | 3 | Design Discussion | Design options + tradeoffs | Explore approaches with the user | | 4 | Structure Outline | Component/file outline | Agree on shape before details | | 5 | Plan | Implementation plan (Plan tool) | Concrete steps with acceptance criteria | | 6 | Implement | Working code + verification | Execute the plan |
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]
| Situation | Use Structured RPI? | | --- | --- | | Complex refactor spanning multiple files | Yes | | New feature with unclear requirements | Yes | | Bug fix with known cause | No — just fix it | | One-file change | No — overkill | | User says "plan this out" or "let's think through this" | Yes |
development
Design and create Claude Skills using progressive disclosure principles. Use when building new skills, planning skill architecture, or writing skill content.
testing
Verify sources before presenting findings. Use when asked to research links or documentation.
data-ai
Analyze session history for learnings and persist to skills. Solves "memory zero" - correct once, never again.
tools
Validate, test, and distribute Claude Code plugins and marketplaces. Use when developing plugins, debugging validation errors, or preparing for distribution.