원클릭으로
extract
当需要对代码库进行多维度深度分析时使用。路由到具体维度的提取技能,或一键全量提取。scan 的自然后续步骤。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
当需要对代码库进行多维度深度分析时使用。路由到具体维度的提取技能,或一键全量提取。scan 的自然后续步骤。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when executing implementation plans with independent tasks in the current session
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Use when you have a spec or requirements for a multi-step task, before touching code
| name | extract |
| description | 当需要对代码库进行多维度深度分析时使用。路由到具体维度的提取技能,或一键全量提取。scan 的自然后续步骤。 |
解析用户意图,分发到具体的维度提取技能。
`_map.md` 不存在时,必须先调用 scan 技能。extract 不负责 scan——它只路由到维度提取技能。| 命令 | 行为 |
|---|---|
extract --target <path> --project <name> | 全量提取(5 个维度) |
extract --target <path> --project <name> --dimension topology | 只提取拓扑 |
extract --target <path> --project <name> --dimension api | 只提取接口 |
extract --target <path> --project <name> --dimension data-model | 只提取数据模型 |
extract --target <path> --project <name> --dimension flows | 只提取业务流程 |
extract --target <path> --project <name> --dimension concepts | 只提取领域概念 |
extract --kb-data-root <path> | 指定数据根目录 |
| 反模式 | 正确做法 |
|---|---|
| "我直接调用 extract-topology,不需要 extract 路由" | 可以,但 extract 路由帮你处理 scan 前置检查和多维度并发编排 |
| "全量提取太慢了,先做两个维度" | 合理。用 --dimension 参数选择需要的维度,后续可以增量补充 |
{KB_DATA_ROOT}/raw/<project>/_map.md 不存在,先调用 scan 技能--dimension 参数决定调用哪些技能:
topology → extract-topologyapi → extract-apidata-model → extract-data-modelflows → extract-flowsconcepts → extract-concepts--kb-data-root 参数),或并发调用(如果 extract-agent 可用,或由 /kb 命令并行派发)