deepsearch
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDeep Search Mode
深度搜索模式
[DEEPSEARCH MODE ACTIVATED]
[DEEPSEARCH MODE ACTIVATED]
Objective
目标
Perform thorough search of the codebase for the specified query, pattern, or concept.
针对指定的查询、模式或概念,对代码库执行全面搜索。
Search Strategy
搜索策略
-
Broad Search
- Search for exact matches
- Search for related terms and variations
- Check common locations (components, utils, services, hooks)
-
Deep Dive
- Read files with matches
- Check imports/exports to find connections
- Follow the trail (what imports this? what does this import?)
-
Synthesize
- Map out where the concept is used
- Identify the main implementation
- Note related functionality
-
广度搜索
- 搜索精确匹配内容
- 搜索相关术语及变体
- 检查常见位置(组件、工具函数、服务、钩子)
-
深度探究
- 读取包含匹配内容的文件
- 检查导入/导出以找出关联
- 追踪调用链(哪些模块导入了它?它导入了哪些模块?)
-
综合整理
- 梳理该概念的使用位置
- 确定核心实现
- 记录相关功能
Output Format
输出格式
- Primary Locations (main implementations)
- Related Files (dependencies, consumers)
- Usage Patterns (how it's used across the codebase)
- Key Insights (patterns, conventions, gotchas)
Focus on being comprehensive but concise. Cite file paths and line numbers.
- 核心位置(主要实现)
- 相关文件(依赖项、调用方)
- 使用模式(在代码库中的使用方式)
- 关键洞察(模式、约定、注意事项)
重点在于全面且简洁。请标注文件路径和行号。