code-architecture-map
星标7
分支0
更新时间2026年5月22日 15:02
Build a compact architecture map of a repository using CGC, Semble, rg, and source reads.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Build a compact architecture map of a repository using CGC, Semble, rg, and source reads.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Choose the right code intelligence tool before searching, navigating, refactoring, or analyzing a codebase.
Check whether global code intelligence tools are installed and configured consistently.
Safely analyze code impact before refactors, behavior changes, API changes, and cross-module edits.
| name | code-architecture-map |
| description | Build a compact architecture map of a repository using CGC, Semble, rg, and source reads. |
| execution_mode | docs_only |
| supported_agents | ["codex","claude"] |
Creates a compact architecture map with entry points, core domains, adapters, risky files, verification points, and recommended next reads.
Use this when entering a large repo, reviewing architecture, finding high-risk modules, or planning a multi-file change.
AGENTS.md, CLAUDE.md, README.md, and package manifests.rg --files to understand languages and major folders.Commands:
rg --files | sed -n '1,160p'
cgc stats . --context "$(basename "$PWD")"
cgc analyze complexity --limit 25 --context "$(basename "$PWD")"
cgc report --output /tmp/CGC_REPORT.md --context "$(basename "$PWD")"
uvx --from semble==0.2.0 semble search -k 10 "main application flow" .