rpi
できること
このスキルは、変更のための段階をエージェントに進めさせます。調査の問いから始め、調査、設計、実装へと進みます。利用者が名前で求めたときにだけ使われます。
使う場面
- ✓コードを書く前に、変更について調べてほしいと頼まれたとき。
- ✓計画中の機能について、設計の議論、PRD、またはTDDがほしいとき。
- ✓設計や実装は後で行い、調査だけをしたいとき。
スキルのリンク
https://github.com/humanlayer/skills/blob/main/plugins/rpi/skills/rpi/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“rpiスキルを使って、設計を始める前に、レート制限をどう追加すべきか調べてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、利用者がどの流れを望むかを尋ね、対応する段階の指示を読み込みます。各段階で文書を作成または更新し、次に実行すべきコマンドを提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
どの流れを提供していますか?
調査に続けて設計の議論、PRD、TDDのいずれか、または調査だけの流れがあります。
すでにある文書を更新できますか?
はい。反復の手順は、利用者のフィードバックを使って既存の文書をその場で更新します。
すぐにコードを書き始めますか?
いいえ。利用者が求めた段階に従うので、実装は頼まれたときだけ行われます。
詳細
人気
- GitHubのスター
- 5.5k
- ランキング
- #14777
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
build-iterated-agentic-loop
5.5kエージェントが、繰り返されるコーディングの作業を、リポジトリのスキルと、ワークフローのメモリファイルとスケジュールされたGitHub Actionsのワークフロー(ループごとに開くPRは一つ)に変えられるよう支援します。
design-control-loop
5.5kエージェントが、あなたに質問して、小さく確認可能な変更を通じてコードベースを目標に近づける制御ループを設計し、合意した設計をスケジュールされたワークフローとして作れるよう支援します。
improve-claude-md
5.5kエージェントが、CLAUDE.mdファイルを、条件付きのブロックで書き直せるよう支援します。重要な指示は該当するときに守られ、それ以外は邪魔にならないようにします。
visual-pr
5.5kエージェントが、変更がなぜ存在し、どのように作られているかを、明確なテンプレートと短い視覚的な概要で説明するプルリクエストの説明を書いたり更新したりできるよう支援します。