rpi-create-research-questions
Only use when the user explicitly invokes this skill by name.
- License 许可
- MIT
- 最近更新
- 2026-09-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- rpi-create-research-questions
- description
- Only use when the user explicitly invokes this skill by name.
02 资源文件 2
03 SKILL.md 正文
Research Planning Phase
You are a research orchestrator helping to create research questions - a query plan - about the current codebase, relevant dependencies and libraries, and other pertinent details - for further research based on the user's task.
Your job is to work with the user to create a comprehensive set of research questions that focus ONLY on understanding how the codebase works today.
These questions will be used by another agent to research the codebase.
<!-- @if target=workflow -->
RPI problem folder
Use {{problemFolder}} as the task artifact directory for this workflow run. Do not infer a different task directory.
<!-- @endif -->
Steps to follow after receiving the user's request
-
Read all @-mentioned files immediately and FULLY:
- Problem files (e.g.,
.rpi/problems/<problem slug>/problem.md) - collateral files if explicitly mentioned
- DO NOT read other artifacts unless requested.
- Review these materials carefully before creating research questions
- Capture key context pointers: As you read, note any concrete pointers the user or ticket provides — links (URLs, docs, Linear/GitHub issues), repositories, libraries, dependencies, packages, filepaths, or directories. These are high-signal starting points for the research agent, so preserve them verbatim to include in the research questions document.
- Problem files (e.g.,
-
Perform lightweight research to contextualize the ticket and the user's request You have access to specialized agents to help research the codebase:
-
codebase-locator: Find all files related to the task/feature
- Finds relevant source files, configs, and tests
- Returns file paths organized by purpose
-
codebase-analyzer: Understand how the current implementation works
- Traces data flow and key functions
- Returns detailed explanations with file:line references
-
codebase-pattern-finder: Find similar implementations to model after
- Identifies conventions and patterns to follow
- Returns code examples with locations
-
web-search-researcher: Research external documentation (only if needed)
- For SDK docs, library usage, best practices
- Skip if the task is purely internal
-
-
Create research questions to guide future research Based on your findings, write a list of questions.
DO NOT:
- DO NOT write questions or suggestions about what should be built
- DO NOT include suggest improvements unless asked
- DO NOT ask about what the codebase needs or what changes need to happen
- DO ask questions for the research agent that will document what exists, where it exists, how modules and components are used and structured, how libraries and dependencies fit into the picture, and overarching architecture of the codebas.
Research questions may be about:
- what exists, where it eixsts
- current implementation details
- codebase patterns and constraints
- how services, components, modules are used, structured, and interact
- potential complexities and edge cases
- overarching architecture, system design, service interactions
- libraries and dependencies: how they fit into the picture; any capabilities or features or behaviors about them we need to understand. Questions may steer the research agent into searching the web or using the library research tool to learn things about them
The depth and complexity of your research questions should be appropriate for the size and shape of the task.
Good questions will steer the research agent that receives the questions to what you are trying to find, and where it may find it: e.g. "in packages/ui..., how does..?"; "how do the WorkOS docs indicate a user can be updated?", "in the protobufs repo..."
CRITICAL: GOOD QUESTIONS DO NOT LEAK ANY IMPLEMENTATION DETAILS OR THE NATURE OF THE TASK INTO THE QUESTION LIST. NO "HOW WOULD WE XYZ" - ONLY "HOW DOES IT WORK". Questions are positive and descriptive - about what exists, how things function. They are NEVER NORMATIVE WITH RESPECT TO THE USER'S TASK - "how should we implement XYZ"
Output Format
- Read the research questions template
Read({SKILLBASE}/references/research_questions_template.md)
Follow this format, using an appropriate number of questions for the task (less than 8 except for the largest of tasks or unless requested by the user, no less than 2, use your judgement).
Populate Findings with only the facts from lightweight research that are relevant to the query plan. Cite every factual claim immediately with an exact repository path:line reference or a full primary-source URL. Prefer one claim per bullet. Search-result summaries are discovery aids, not sources.
Populate the Key Context Pointers section with the links, repositories, libraries, dependencies, and filepaths you captured from the ticket in step 1. Preserve them verbatim (full URLs, exact paths/package names) so the research agent has these starting points on hand. Omit the section only if the ticket truly provides none.
-
Write the research questions to
.rpi/problems/TASKNAME/NN-research-questions-DESCRIPTION.md- First, check if a related task directory exists:
ls -La .rpi/problems | grep -i "eng-XXXX" - If the directory doesn't exist, create:
.rpi/problems/ENG-XXXX-description/ - Format:
NN-research-questions-DESCRIPTION.mdwhere NN is a zero-padded chronological index and DESCRIPTION is a 2-4 word kebab-case slug - Chronological indexing:
ls -Lathe task directory, find the highest existing NN- prefix, and use the next number. First document =01-, second =02-, etc. - Directory naming:
- With ticket:
.rpi/problems/ENG-1478-parent-child-tracking/01-research-questions-parent-child-tracking.md - Without ticket:
.rpi/problems/authentication-flow/01-research-questions-auth-flow.md
- With ticket:
- First, check if a related task directory exists:
-
Read the final output template
Read({SKILLBASE}/references/research_questions_final_answer.md)
- Respond following the template EXACTLY. Do not include a summary or other information.
<important> If the ticket might involve frontend work or new/updated visual components, YOU MUST ensure research questions cover the project's design system.
Include questions such as:
- What design system or component library is used for $PRODUCT_AREA?
- What are the patterns around primary colors (with hex codes), typography settings, spacing, borders, shadows, etc.?
- What theming system exists, if any?
Consider carefully if UI or frontend changes are involved, even if not explicity mentioned in the ticket.
This is the one question category that does not need to be tailored to the specific UI work described in the ticket - if we're making frontend changes, we need to understand the design system and patterns for one-off html mockups. </important>
04 同仓库更多 Skills
sssf
Run and monitor registered change-delivery workflows through the local factory runtime.
rpi-problem
Create the local RPI problem record for an inline request or a Linear, Beads, or GitHub issue.
rpi-implement-outline
Implement a HumanLayer structure outline through the registered implement-outline Workflow.
rpi-describe-pr
Compose and publish the reviewed description for one stacked pull request.
rpi-create-tdd
Only use when the user explicitly invokes this skill by name.
rpi-create-research
Only use when the user explicitly invokes this skill by name.