← ClaudeAtlas

codebase-anatomylisted

Dissect a codebase to atomic nodes (functions, classes, symbols), wire the call/import web, tag each node's domain, and build a cross-domain overlap graph that ranks consolidation/de-duplication opportunities, then render an interactive HTML map. Use to restructure your own codebase into well-defined non-duplicative systems, OR to fully map and review an external repo (git URL / owner-repo) before adopting it. Triggers include "map this codebase", "dependency/relationship graph", "find duplication/overlap", "atomic dissection", "review this repo before I use it", and the /codeweb command.
GhostlyGawd/codeweb · ★ 0 · AI & Automation · score 75
Install: claude install-skill GhostlyGawd/codeweb
# Codebase Anatomy (codeweb) Build a "biological web" of a system: every atomic part (function, class, method, exported symbol) is a node; calls/imports/inheritance are the edges; each node belongs to a domain; and an **overlap graph** shows where separate parts do the same work — the simplification targets. The goal is not a pretty picture. It is an **evidence-backed restructure plan**: which duplicated logic should collapse into one well-defined system, and who should depend on it. ## When to Use - Restructuring your own codebase and you need to *see* the real dependency web and where it's duplicative before moving code. - Onboarding to a large/legacy system at symbol resolution, not just folder-level. - Reviewing an **external** repo (a plugin, library, or template you found on GitHub) end-to-end before adopting it — what it does, how it's wired, and whether it's worth committing to. - Hunting cross-cutting duplication that file/module tools miss (the same check coded N times in N domains). ## Two Modes - **internal** — analyze the current project; produce a domain map + overlap graph + restructure recommendations. - **external** — `target` is a git URL or `owner/repo`. Clone it **read-only** to a temp dir, map it the same way, and add an **adoption review** (risk, dependencies, architecture verdict, "should you adopt this?"). Auto-detect: a URL or `owner/repo` ⇒ external; a path or `.` ⇒ internal. `--mode` overrides. ## Non-Negotiable Rules - **Never