帮助新工程师入职一个 20 万行的代码库
何时使用: 接手新仓库,你有一周时间让自己高效起来。
步骤
-
索引仓库Use understand-anything. Build the structural graph for ./repo and the domain graph from /docs.✓ 已复制→ 图谱统计(节点数、边数、密度)
-
找到核心接缝Highlight the 5 most-connected modules — likely architectural seams.✓ 已复制→ 带理由的排名列表
-
追踪一个功能Walk me through 'create checkout' end-to-end across structural + domain graphs.✓ 已复制→ 经过节点的注释路径;解释业务和技术层面的跳转
结果: 几天而非几周就能高效产出;有针对性地阅读,而非蛮力刷代码。
注意事项
- 图谱太密无法阅读 — 按目录或功能过滤;技能支持自适应详细程度
搭配使用: filesystem