一键导入
cds-map-codebase
Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add an idea to the backlog parking lot (999.x numbering)
Systematic debugging with persistent state across context resets
Gather phase context through adaptive questioning before planning. Use --auto to skip interactive questions (Claude picks recommended defaults). Use --chain for interactive discuss followed by automatic plan+execute. Use --power for bulk question generation into a file-based UI (answer at your own pace).
Import a GSD-2 (.gsd/) project back to GSD v1 (.planning/) format
Build, query, and inspect the project knowledge graph in .planning/graphs/
Query, inspect, or refresh codebase intelligence files in .planning/intel/
| name | cds-map-codebase |
| description | Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents |
| argument-hint | [optional: specific area to map, e.g., 'api' or 'auth'] |
| allowed-tools | ["Read","Bash","Glob","Grep","Write","Task"] |
Each mapper agent explores a focus area and writes documents directly to .planning/codebase/. The orchestrator only receives confirmations, keeping context usage minimal.
Output: .planning/codebase/ folder with 7 structured documents about the codebase state.
<execution_context> @$HOME/.claude/cds-workflow/workflows/map-codebase.md </execution_context>
Focus area: $ARGUMENTS (optional - if provided, tells agents to focus on specific subsystem)Load project state if exists: Check for .planning/STATE.md - loads context if project already initialized
This command can run:
<when_to_use> Use map-codebase for:
Skip map-codebase for:
<success_criteria>