← 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 73
Install: claude install-skill GhostlyGawd/codeweb
# Codebase Anatomy (codeweb) Build a structural map of the system. Each function, class, method, or exported symbol is a node. Calls, imports, and inheritance relationships are edges. Each node belongs to a domain. An **overlap graph** identifies separate parts that do the same work. The result is an **evidence-backed restructuring plan**. It identifies the duplicated logic that can move into one defined system and the symbols that must depend on that system. ## 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 or legacy system at symbol resolution, including relationships across folders. - 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 exe