一键导入
researching-codebase
Evidence-based codebase investigation. Use when exploring unfamiliar code, understanding architecture, or gathering context for implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Evidence-based codebase investigation. Use when exploring unfamiliar code, understanding architecture, or gathering context for implementation.
用 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.
Context compression for verbose outputs. Use when conversation context exceeds 70% capacity or when summarizing large outputs.
Academic/technical writeups with Pandoc-compatible markdown. Use for documentation, reports, or technical explanations.
| name | researching-codebase |
| description | Evidence-based codebase investigation. Use when exploring unfamiliar code, understanding architecture, or gathering context for implementation. |
Conducts evidence-based investigation of codebases to gather accurate context. Never assume - always verify through code examination.
Architecture Understanding:
# Project structure
tree -L 2 src/
# Entry points
grep -r "def main" src/
# Dependencies
cat pyproject.toml | grep dependencies
Code Flow Tracing:
# Find function definitions
grep -rn "def function_name" src/
# Find usages
grep -rn "function_name(" src/
# Find imports
grep -rn "from.*import.*function_name" src/
Pattern Discovery:
# Find similar implementations
grep -rn "class.*Base" src/
# Find configuration patterns
grep -rn "@dataclass" src/
Always include:
src/module.py:42Never:
## Research: [Question]
### Findings
1. **[Topic]** - `file.py:line`
- Evidence: [direct quote or summary]
- Implication: [what this means]
### Conclusions
[Answer to research question with evidence references]