一键导入
researching-codebase
Investigates codebase before planning. Use before any non-trivial implementation task to gather context in isolation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Investigates codebase before planning. Use before any non-trivial implementation task to gather context in isolation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate commit message for staged changes, pause for approval, then commit. Stage files first with `git add`, then run this skill.
Interactive Q&A to build UserStory.md from user input. Use when the user wants to create a user story document or start the assisted workflow.
Generates prd.json task tracking file from PRD.md requirements document. Use when initializing Ralph loop or when the user asks to convert PRD to JSON format for autonomous execution.
Transforms UserStory.md into PRD.md by extracting features and converting user stories into functional requirements.
Provides concise, focused code reviews matching exact task complexity requirements. Use when reviewing code quality, security, or when the user asks for code review.
Writes tests following TDD (using pytest and Hypothesis) and BDD best practices. Use when writing unit tests, integration tests, or BDD scenarios.
| name | researching-codebase |
| description | Investigates codebase before planning. Use before any non-trivial implementation task to gather context in isolation. |
| argument-hint | ["topic-or-question"] |
| context | fork |
| agent | Explore |
| allowed-tools | Read, Grep, Glob |
Query: $ARGUMENTS
Gathers codebase context in isolation before planning. Prevents search artifacts from polluting main context.
Follow ACE-FCA quality equation: Correct + Complete + Minimal noise
---
research_query: "<original question>"
timestamp: "<ISO 8601>"
files_examined: <count>
---
## Key Files
| File | Purpose | Key Lines |
|------|---------|-----------|
| `path/to/file.ext` | Brief purpose | L42-58 |
## Patterns
- **Pattern name**: Description with file reference (`path:line`)
## Constraints
- Constraint with evidence (`path:line`)
Every claim must include:
src/auth/login.ts)L42-58 or L127)Bad: "Authentication uses JWT tokens"
Good: "Authentication uses JWT tokens (src/auth/jwt.ts:L23-45, verifyToken function)"
See .claude/rules/context-management.md and .claude/rules/core-principles.md.