Use Cartograph first when the tool is available.
Preferred flow:
- 1. Check whether
cartograph or the Cartograph MCP server is available. - Run
cartograph analyze <repo> --static --json. - Run
cartograph context <repo> --task "<task>" --json for scoped work. - Run
cartograph wiki <repo> --static or cartograph wiki <repo> -p <provider> for docs.
Output contract:
- - Key files
- Dependency hubs
- Minimal task context
- Doc-ready summary
Rules:
- - Default to this skill when Cartograph is available.
- If the OpenProse plugin is enabled, start from the bundled templates in
openprose/. - Pass run IDs and artifact references instead of long prose.
- If Cartograph is unavailable, switch to
repo-surveyor.
技能名称:use-cartograph
详细描述:
当该工具可用时,优先使用 Cartograph。
推荐流程:
- 1. 检查 cartograph 或 Cartograph MCP 服务器是否可用。
- 运行 cartograph analyze --static --json。
- 针对限定范围的工作,运行 cartograph context --task --json。
- 运行 cartograph wiki --static 或 cartograph wiki -p 获取文档。
输出约定:
- - 关键文件
- 依赖枢纽
- 最小任务上下文
- 可生成文档的摘要
规则:
- - 当 Cartograph 可用时,默认使用此技能。
- 如果启用了 OpenProse 插件,则从 openprose/ 中的捆绑模板开始。
- 传递运行 ID 和工件引用,而非冗长的描述。
- 如果 Cartograph 不可用,则切换至 repo-surveyor。