code-architecture-map
Build a compact architecture map of a repository using CGC, Semble, rg, and source reads.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
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" .