rpi
What it does
This skill guides an agent through phases for a change, starting with research questions and moving through research, design, and implementation. It is used only when a user asks for it by name.
When to use it
- ✓When a user asks to research a change before any code is written.
- ✓When a user wants a design discussion, a PRD, or a TDD for a planned feature.
- ✓When a user wants research only, with the design or implementation left for later.
Skill link
https://github.com/humanlayer/skills/blob/main/plugins/rpi/skills/rpi/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Use the rpi skill to research how we should add rate limiting before we design anything.”
5 new skills a week. 1 minute to read.
How it works
The agent asks which flow the user wants, then loads the matching phase instructions. Each phase creates or updates a document, and the agent suggests the next command to run.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Research, Design, and Implement
Help the user research a change, work through its design, and implement it. Follow their requested step, using the phase instructions below.
$SKILLBASE means the directory containing this SKILL.md.
<rpi-invocation> in templates means the host's skill command: $rpi in Codex, /rpi in Claude Code, or its plugin-qualified name when the host exposes one. Render next commands with that native invocation.
Choose the Step
Follow the user's requested step. Read $SKILLBASE/references/workflow.md when choosing or explaining a flow or what comes next.
For a task description with no requested step, start with research questions. Ask which flow the user wants: research followed by design discussion, PRD, or TDD, or research only. Wait for their choice before starting the phase, then carry it into suggested next commands.
When asking the user to choose a flow, read $SKILLBASE/references/workflow-choice.md and show its box-and-line chart with the question.
Create writes a new document; iterate updates an existing document in place using the user's feedback or resumes the workflow for a partially finished document.
Load the matching process from $SKILLBASE/references/<step>/process.md:
| Request | Step |
|---|---|
| Research questions | create-research-questions or iterate-research-questions |
| Research | create-research or iterate-research |
| Design discussion | create-design-discussion or iterate-design-discussion |
| Product requirements / PRD | create-prd or iterate-prd |
| Technical design / TDD | create-tdd or iterate-tdd |
| Implementation outline | create-structure-outline or iterate-structure-outline |
| Implement | implement-outline |
| Implementation feedback or fixes | iterate-implementation |
Update an existing document by default; create one when needed or requested. When several match, use the newest and name the chosen file.
Use the Task Directory
Use the directory supplied by the user.
Otherwise, look for existing task directories in .agents/artifacts/ whose names and workflow filenames match the request or current task branch. Reuse an obvious match without asking. If a directory looks close but could belong to a different task, or several directories look plausible, ask the user which to use before writing. Read only documents allowed by the selected phase when checking a match.
When no existing directory fits, use .agents/artifacts/<branch-name> with / replaced by - if the branch identifies the task. On main, or when no branch identifies the task, choose a short kebab-case slug from the request and use .agents/artifacts/<task-slug> without asking for approval. State the selected path and reuse or create the directory as needed.
Save at the selected path. If the sandbox blocks writes there, ask for scoped write access or a writable task directory and wait for the user's choice.
The RPI framework authors recommend not committing the artifacts.
Number new workflow documents using the next available NN- prefix in the task directory. Keep the existing path when updating a document. Save supporting mockups and diagrams beside the documents and link them as ordinary local files.
Workflow document frontmatter includes repos, a list of zero or more repositories with identifier and sha for each entry. Use repos: [] when none apply. Quote string values as needed for valid YAML.
Review the Document
After writing or updating a workflow document, read $SKILLBASE/references/prose.md and $SKILLBASE/references/show-me.md, then review the document against both. Make it shorter, more visual, and easier for a person to digest: cut words and sections that do not earn their place, replace dense prose with the smallest view that makes the point, and keep each visual beside the short text it supports.
Suggest the Next Step
Use the phase's handoff instructions and $SKILLBASE/references/workflow.md to choose what comes next. Users run each phase in a separate context window by default. When suggesting a next command, include the task directory and chosen flow. Say they can run it here, after compaction, or in a new session.
Use artifact filenames to locate the current phase when asked what's next, then read its document for unfinished work and settled choices. Recognize prd or product-requirements, tdd or tech-design, and structure-outline or outline.
Use Subagents
Use the bund
FAQ
What flows does it offer?
The skill offers research followed by design discussion, a PRD, or a TDD, or research only.
Can it update a document I already have?
Yes. The iterate steps update an existing document in place using your feedback.
Does it start coding right away?
No. The skill follows the step the user requested, so implementation happens only when asked.
Details
Original description by the author
Only use when the user explicitly invokes this skill by name.
repo: humanlayer/skills
Popularity
- GitHub stars
- 5.5k
- Ranking position
- #14777
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
build-iterated-agentic-loop
5.5kHelps your agent turn a repeated coding task into a repo skill plus a scheduled GitHub Actions workflow that runs a coding agent, with a memory file and one open PR per loop.
design-control-loop
5.5kHelps your agent interview you and design a control loop that moves your codebase toward a goal through small, reviewable changes, then builds it as a scheduled workflow.
improve-claude-md
5.5kHelps your agent rewrite a CLAUDE.md file with conditional blocks, so important instructions are followed when they apply and the rest stays out of the way.
visual-pr
5.5kHelps your agent write or update a pull request description that explains why a change exists and how it is built, using a clear template and a short visual outline.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.