Use this skill only when Cartograph itself is unavailable or when you need to manually verify its outputs.
Manual workflow:
- 1. Discover source, config, and entry files. Skip generated, vendored, and build output.
- Rank likely-important files by entry points, fan-in, API surface, and root wiring role.
- Trace the strongest dependency hubs instead of reading the whole tree.
- Build the smallest useful file set for the current task.
- Produce a doc-ready summary from that reduced set.
Output contract:
- - Key files
- Dependency hubs
- Minimal task context
- Doc-ready summary
Rules:
- - If the OpenProse plugin is enabled, start from the bundled templates in
openprose/. - Prefer
use-cartograph whenever the tool becomes available. - Keep manual reads narrow.
- Match the same output shape as
use-cartograph.
技能名称:repo-surveyor
详细描述:
仅在Cartograph本身不可用或需要手动验证其输出时使用此技能。
手动工作流程:
- 1. 发现源代码、配置文件和入口文件。跳过自动生成、供应商依赖和构建输出文件。
- 根据入口点、扇入数、API表面和根级连接角色对可能重要的文件进行排序。
- 追踪最强的依赖枢纽,而不是读取整个代码树。
- 为当前任务构建最小的有用文件集。
- 从该精简文件集生成一份可直接用于文档的摘要。
输出约定:
- - 关键文件
- 依赖枢纽
- 最小任务上下文
- 可直接用于文档的摘要
规则:
- - 如果OpenProse插件已启用,则从openprose/中的捆绑模板开始。
- 当工具可用时,优先使用use-cartograph。
- 保持手动读取范围狭窄。
- 匹配与use-cartograph相同的输出格式。