mcpField
R
rpi

rpi

github.com/humanlayerAgent workflows5.5k533 installsUpdated today
Repository

About rpi

rpi is an agent skill for guiding research, design, and implementation work through defined workflow phases. It helps users choose a process, maintain task documents, and move from one phase to the next.

Key features

  1. 01Phase-based research and implementation
  2. 02Flow selection and handoffs
  3. 03Task artifact directory management
  4. 04Create or update workflow documents

Use cases

  1. 01Starting a change with research questions
  2. 02Developing a PRD or technical design
  3. 03Implementing an existing outline

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/humanlayer/skills --skill rpi

After installing, type/rpiin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/create-design-discussion/
process.md
references/create-design-discussion/references/
design_discussion_final_answer_resolved.md
design_discussion_final_answer.md
design_discussion_template.md
references/create-prd/
process.md
references/create-prd/references/
prd_final_answer_resolved.md
prd_template.md
references/create-research-questions/
process.md
references/create-research-questions/references/
request_template.md
research_questions_final_answer.md
research_questions_template.md
references/create-research/
process.md
references/create-research/references/
research_final_answer.md
research_template.md
references/create-structure-outline/
process.md
references/create-structure-outline/references/
structure_outline_final_answer.md
structure_outline_template.md
references/create-tdd/
process.md
references/create-tdd/references/
tdd_final_answer_resolved.md
tdd_template.md
references/implement-outline/
process.md
references/implement-outline/references/
implement_outline_final_answer.md
references/iterate-design-discussion/
process.md
references/iterate-design-discussion/references/
design_discussion_final_answer_resolved.md
design_discussion_final_answer.md
design_discussion_template.md
references/iterate-implementation/
process.md
references/iterate-implementation/references/
iterate_implementation_final_answer.md
references/iterate-prd/
process.md
references/iterate-prd/references/
prd_final_answer_resolved.md

Details

From the project README

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:

RequestStep
Research questionscreate-research-questions or iterate-research-questions
Researchcreate-research or iterate-research
Design discussioncreate-design-discussion or iterate-design-discussion
Product requirements / PRDcreate-prd or iterate-prd
Technical design / TDDcreate-tdd or iterate-tdd
Implementation outlinecreate-structure-outline or iterate-structure-outline
Implementimplement-outline
Implementation feedback or fixesiterate-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 bundled agent instructions for codebase-locator, codebase-analyzer, codebase-pattern-finder, web-search-researcher, and outline-implementer-agent as directed by each phase.

read the subagent instructions from $SKILLBASE/references/subagents/SUBAGENT_NAME.md read the subagent instructions from $SKILLBASE/references/subagents/SUBAGENT_NAME.md and pass them into the subagent with your main prompt, with REFERENCE_CONTENTS YOUR_MESSAGE ON WHAT TO LOOK FOR OR BUILD

Comments

Markdown supported