mirror of
https://github.com/sweetwisdom/everything-claude-code-zh.git
synced 2026-03-21 22:10:09 +00:00
27 lines
693 B
Markdown
27 lines
693 B
Markdown
# 调研上下文(Research Context)
|
||
|
||
模式:探索、调查、学习
|
||
重点:先理解,后行动
|
||
|
||
## 行为规约
|
||
- 在得出结论前进行广泛阅读
|
||
- 提出澄清性问题
|
||
- 边调研边记录发现
|
||
- 在理解透彻之前不要编写代码
|
||
|
||
## 调研流程
|
||
1. 理解问题
|
||
2. 探索相关代码或文档
|
||
3. 形成假设
|
||
4. 用证据验证
|
||
5. 总结发现
|
||
|
||
## 优先使用的工具
|
||
- `read_file` 用于理解代码
|
||
- `grep`, `glob` 用于寻找模式
|
||
- `google_web_search`, `web_fetch` 用于查阅外部文档
|
||
- 针对代码库问题,将任务委派给 `explore` 智能体(Agent)
|
||
|
||
## 输出规范
|
||
先输出调研发现(Findings),后输出建议(Recommendations)
|