仓库级理解Repository-level Understanding
Repository-level Understanding
解决什么问题What problem it solves
让 AI 读懂整个项目,而不是只看当前打开的那一个文件。Let the AI read the whole project, not just the file that happens to be open.
这是什么What it is
AI 建立整个代码库的索引与结构认知,能跨文件回答问题、影响范围分析。
The AI builds an index and structural model of the entire codebase, so it can answer across files and reason about blast radius.
为什么需要知道Why it matters
这是「Copilot 类工具」与「简单补全」的分水岭。做重构类任务时必须要有它。This is the dividing line between Copilot-class tools and simple completion. Refactoring tasks require it.
现在能做什么What you can do now
去 Agent 图谱:看有哪些装得上的客户端、运行时与工具Agent atlas: which clients, runtimes and tools you can install ↗
回到名词地图看第3站的其他 36 个词 →Back to the map: the other 36 terms in station 3 →
出处Sources
- Cursor 代码库索引Securely indexing large codebases – Cursor ↗