원클릭으로
research
Perform deep codebase exploration and produce a context-compressed research document
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Perform deep codebase exploration and produce a context-compressed research document
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Initialize PARA-Programming structure in the current project
Create a planning document through collaborative dialogue, with support for multi-phase plans
Orchestrate the full PARA execution cycle across phases
Archive the current context to create a clean slate for the next task
Execute the active plan by creating an isolated worktree and tracking todos
Spawn an independent subagent with a Staff+ FAANG engineer persona to review a plan or PR
| name | research |
| description | Perform deep codebase exploration and produce a context-compressed research document |
| model | opus |
| effort | high |
Perform deep codebase exploration and produce a context-compressed research document. This document becomes the primary input for /para:plan.
/para:research [task-description]
/para:research --scope=frontend # Focus research on a specific area
/para:research --specs # Emphasize API contract analysis
If no task description is provided, Claude will ask for one.
Clarify focus — if the task description is broad or ambiguous, use AskUserQuestion to clarify scope, depth, and any specific concerns before proceeding. Skip if the task is narrow and well-defined.
Deep codebase exploration — perform thorough investigation across the relevant area:
API contract analysis — if the project has OpenAPI/Swagger specs, interface files, or shared type definitions:
Pattern recognition — identify conventions, idioms, and anti-patterns that should inform planning:
Produce research document — write findings to context/data/YYYY-MM-DD-task-name-research.md using the template from research-template.md. The document should be:
Update context — add the research doc path to context/context.md's research_docs array.
Suggest next step — recommend running /para:plan, noting the research doc is available as input.
--scope=<area>Focus research on a specific area of the codebase (e.g., frontend, api, auth, database). Without this flag, research covers the entire codebase relevant to the task description.
--specsEmphasize API contract analysis. Spend more effort on finding, parsing, and cross-referencing OpenAPI specs, interface definitions, and shared types. Useful when the task involves integration work or API changes.
The research document should pass this test: Could a Staff+ engineer read this document and create a detailed implementation plan without additional codebase exploration?
If the answer is no, the research is not deep enough. Specifically:
After producing the research document, update context/context.md:
{
"research_docs": ["context/data/YYYY-MM-DD-task-name-research.md"],
"last_updated": "{ISO timestamp}"
}
If research_docs doesn't exist in the metadata, add it.
User: /para:research rewrite-auth-middleware
Claude: [Uses Explore agent to deeply investigate auth-related code]
[Discovers existing middleware, session handling, token storage, OAuth flow]
[Cross-references OpenAPI spec with actual endpoints]
[Finds inconsistency: spec says JWT, implementation uses opaque tokens]
Creates: context/data/2025-12-18-rewrite-auth-middleware-research.md
Key findings:
- Auth middleware in src/middleware/auth.ts (450 lines, no tests)
- Session tokens stored in Redis with 24h TTL
- OpenAPI spec and implementation disagree on token format
- No graceful degradation when Redis is unavailable
Suggest running /para:plan to create an implementation plan using this research.
context/data/ alongside specs and other input files/para:plan automatically checks for research docs and uses them as primary input