rpi
Skill này làm gì
Skill này hướng dẫn agent qua các giai đoạn của một thay đổi, bắt đầu từ câu hỏi nghiên cứu rồi đến nghiên cứu, thiết kế và triển khai. Skill chỉ được dùng khi người dùng gọi đúng tên.
Khi nào nên dùng
- ✓Khi người dùng muốn nghiên cứu một thay đổi trước khi viết bất kỳ mã nào.
- ✓Khi người dùng muốn thảo luận thiết kế, PRD hoặc TDD cho một tính năng đã lên kế hoạch.
- ✓Khi người dùng chỉ muốn nghiên cứu, với thiết kế hoặc triển khai để sau.
Liên kết skill
https://github.com/humanlayer/skills/blob/main/plugins/rpi/skills/rpi/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Dùng skill rpi để nghiên cứu cách chúng ta nên thêm giới hạn tốc độ trước khi thiết kế bất cứ điều gì.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent hỏi người dùng muốn luồng nào, rồi nạp hướng dẫn giai đoạn tương ứng. Mỗi giai đoạn tạo hoặc cập nhật một tài liệu, và agent gợi ý lệnh tiếp theo nên chạy.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Có những luồng nào?
Skill cung cấp nghiên cứu rồi thảo luận thiết kế, PRD hoặc TDD, hoặc chỉ nghiên cứu.
Nó có cập nhật tài liệu tôi đã có không?
Có. Các bước lặp cập nhật tài liệu tại chỗ dựa trên phản hồi của bạn.
Nó có bắt đầu viết mã ngay không?
Không. Skill làm đúng bước người dùng yêu cầu, nên triển khai chỉ diễn ra khi được yêu cầu.
Chi tiết
Mô tả gốc của tác giả
Only use when the user explicitly invokes this skill by name.
repo: humanlayer/skills
Độ phổ biến
- Sao GitHub
- 5.5k
- Vị trí xếp hạng
- #14777
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
build-iterated-agentic-loop
5.5kGiúp agent của bạn biến một tác vụ lập trình lặp lại thành skill của repo cùng workflow GitHub Actions chạy theo lịch, có file bộ nhớ và một PR mở mỗi vòng.
design-control-loop
5.5kGiúp agent của bạn phỏng vấn bạn và thiết kế vòng điều khiển đưa codebase tới mục tiêu qua các thay đổi nhỏ, dễ xem xét, rồi xây dựng nó thành workflow theo lịch.
improve-claude-md
5.5kGiúp agent của bạn viết lại file CLAUDE.md với các khối có điều kiện, để các chỉ dẫn quan trọng được tuân theo khi áp dụng, còn phần còn lại không gây cản trở.
visual-pr
5.5kGiúp agent của bạn viết hoặc cập nhật mô tả pull request, giải thích vì sao có thay đổi và nó được xây dựng thế nào, theo mẫu rõ ràng và một sơ đồ tóm tắt ngắn.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.