Rpi workflow
Skills that help YOU operate at staff-researcher level. The agent does the grunt work; you stay in the driver's seat. A proper workflow for polishing ideas, expressing them rigorously, and implementing them properly. Works with Claude Code + Codex.
npx -y skills add shubham0704/claude-skills --skill rpi-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Research-Plan-Implement workflow with Codex peer review. Use when the user says /rpi, asks to start a research-plan-implement cycle, wants Codex review on a plan, or needs to create research docs, plans, or implementation reports following the RPI protocol.
SKILL.md
3.5 KB, as published. Nobody here has run it
RPI Workflow: Research -> Plan -> Implement
A structured workflow for complex engineering tasks with Codex architectural review.
When to Invoke
- User says
/rpior "start RPI" - User wants structured research before implementation
- User wants Codex to review a plan
- User needs to create research docs or implementation plans
File Structure
All artifacts go in docs/ at the project root:
docs/
├── research/
│ └── YYYY-MM-DD-topic.md # Research findings
└── plans/
├── PLAN-<repo>-<task>.md # Claude creates
├── FEEDBACK-<repo>-<task>.md # Codex creates
├── IMPL-<repo>-<task>.md # Claude creates after implementation
└── VALIDATION-<repo>-<task>.md # Codex creates (optional)
Workflow Steps
Step 1: Research Phase
Launch parallel Explore agents to gather codebase understanding:
Task(subagent_type="Explore", prompt="Research how X works...")
Task(subagent_type="Explore", prompt="Research how Y connects to Z...")
Save findings to docs/research/YYYY-MM-DD-topic.md using the research template. For the template structure, see TEMPLATES.md.
Step 2: Plan Phase
Create docs/plans/PLAN-<repo>-<task>.md with:
- Goal (1-2 sentences)
- Key Files (
path:linereferences) - Problem (what's broken/missing)
- Proposed Solution (phased, with file-level changes)
- Success Criteria (checkboxes)
- Risks (numbered)
- Questions for Review (for Codex)
Step 3: Codex Review
Run from the project root:
codex exec --skip-git-repo-check "Read docs/plans/PLAN-<repo>-<task>.md and provide architectural feedback. Review the proposed solution, identify risks, suggest improvements. Write your feedback to docs/plans/FEEDBACK-<repo>-<task>.md"
Notes:
- Always use
--skip-git-repo-checkfor non-git repos - No
--quietflag exists - Codex writes feedback autonomously to the FEEDBACK file
Step 4: Read & Incorporate Feedback
Read docs/plans/FEEDBACK-<repo>-<task>.md and present key findings to the user:
- Executive assessment
- Missing edge cases
- Better abstractions suggested
- Risks not identified
- Phase reordering suggestions
- Actionable recommendations
Step 5: Implement
Make the changes. Create docs/plans/IMPL-<repo>-<task>.md documenting:
- What was actually changed (with
path:linerefs) - Deviations from plan and why
- Test results
- Remaining work
Step 6: Validate (Optional)
codex exec --skip-git-repo-check "Read docs/plans/IMPL-<repo>-<task>.md and validate the implementation. Check if success criteria are met, identify any issues. Write your validation to docs/plans/VALIDATION-<repo>-<task>.md"
Guidelines
- Research first: Never plan without understanding the codebase
- Parallel agents: Use multiple Explore agents simultaneously
- Compact findings: Use
file:linereferences, not full code dumps - Questions for Codex: Always include 3-5 specific architectural questions
- Parity checks: Before deleting old code, run side-by-side comparisons
- Phase boundaries: Each phase should be independently mergeable