/rpi:research_codebasefrom rpi
Documents and explains a codebase as-is by spawning parallel sub-agents to research components, patterns, and historical context from a thoughts directory.
Ships in rpi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are tasked with conducting comprehensive research across the codebase to answer user questions by spawning parallel sub-agents and synthesizing their findings.
When the research question comes with the request, start on it. Otherwise ask for the question or the area to research, and wait for it.
Read any directly mentioned files first:
Analyze and decompose the research question:
Spawn parallel sub-agent tasks for comprehensive research:
For codebase research:
IMPORTANT: All agents are documentarians, not critics. They will describe what exists without suggesting improvements or identifying issues.
For thoughts directory:
For web research (only if user explicitly asks):
The key is to use these agents intelligently:
Wait for all sub-agents to complete and synthesize findings:
Gather metadata for the research document:
spec-metadata to generate all relevant metadata./thoughts/shared/research/YYYY-MM-DD/ENG-XXXX-description.md
YYYY-MM-DD/ENG-XXXX-description.md where:
2025-01-08/ENG-1478-parent-child-tracking.md2025-01-08/authentication-flow.mdGenerate research document:
---
date: [Current date and time with timezone in ISO format]
researcher: [Researcher name from thoughts status]
git_commit: [Current commit hash]
branch: [Current branch name]
repository: [Repository name]
topic: "[User's Question/Topic]"
tags: [research, codebase, relevant-component-names]
status: complete
last_updated: [Current date in YYYY-MM-DD format]
last_updated_by: [Researcher name]
---
# Research: [User's Question/Topic]
**Date**: [Current date and time with timezone from step 5]
**Researcher**: [Researcher name from thoughts status]
**Git Commit**: [Current commit hash from step 5]
**Branch**: [Current branch name from step 5]
**Repository**: [Repository name]
## Research Question
[Original user query]
## Summary
[High-level documentation of what was found, answering the user's question by describing what exists]
## Detailed Findings
### [Component/Area 1]
- Description of what exists ([file.ext:line](link))
- How it connects to other components
- Current implementation details (without evaluation)
### [Component/Area 2]
...
## Code References
- `path/to/file.py:123` - Description of what's there
- `another/file.ts:45-67` - Description of the code block
## Architecture Documentation
[Current patterns, conventions, and design implementations found in the codebase]
## Historical Context (from thoughts/)
[Relevant insights from thoughts/ directory with references]
- `./thoughts/shared/something.md` - Historical decision about X
- `./thoughts/local/notes.md` - Past exploration of Y
## Related Research
[Links to other research documents in ./thoughts/shared/research/]
## Open Questions
[Any areas that need further investigation]
Add GitHub permalinks (if applicable):
git branch --show-current and git statusgh repo view --json owner,namehttps://github.com/{owner}/{repo}/blob/{commit}/{file}#L{line}Sync and present findings:
thoughts-sync to sync the thoughts directoryHandle follow-up questions:
last_updated and last_updated_by to reflect the updatelast_updated_note: "Added follow-up research for [brief description]" to frontmatter## Follow-up Research [timestamp]last_updated, git_commit)What SKILL.md sets; muted values are Claude Code's defaults
opusnpx claudepluginhub hoblin/claude-ruby-marketplace --plugin rpi17 skills in this plugin
/brainstormBrainstorm with the human and keep the brainstorm note, the record of how decisions were reached. Use the moment a conversation turns to ideas, design, architecture or a decision to make together, not only when something is written down, and when opening, continuing or writing to a brainstorm note./copilot-assisted-feature-deliveryFinish a pull request with Copilot as its reviewer, from marking it ready to the merge. Use when the repository's CLAUDE.md or the human says a pull request is finished with Copilot./create_handoffCreate handoff document for transferring work to another session/create_noteCapture findings or context as a persistent note in the thoughts system/document-codeDecide whether a comment belongs, and write the ones that do — in Ruby, YAML, a Dockerfile, a shell script, tests or config. Use it before adding any comment, docstring or YARD block, including one you are about to write mid-implementation, and before deleting or rewording one already there. Use it when finished code carries no documentation, when asked to document code or add YARD, and when auditing what a file or a diff already carries. Use it unprompted when a review says a comment restates the code, narrates reasoning, is outdated, or should be deleted rather than shortened. Not for prose documents — a README, a wiki page, a plan or a ticket./featureDeliver a feature or chore end to end, from branch creation to the merge, starting from its ticketOther plugins' skills for the same job