Map

Architecture overview of the codebase. Reports total file/line/byte counts, top hot files (most imported), largest files by line count, orphan files (imported by nobody), and most-used external dependencies. Pure regex on import statements, no AST. Use to understand a new codebase, find dead code, or audit dependency surface. Run as `node ~/.claude/skills/dragoon/skills/map/scripts/map.js [root]`.

dragoon0x 03ac973 2 files · 3.8 KB Updated

File contents

/map

Static architecture overview from import-graph analysis.

When to use

  • Onboarding to a new codebase
  • Finding dead code or files imported by nobody
  • Auditing top external dependencies
  • Spotting overgrown files that need splitting

Run it

dragoon map
dragoon map ./packages/web
dragoon map --json

Dragoon0x/dragoon-skills/tree/main/skills/map commit 03ac9733fb

Frequently asked questions

npx skillmds@latest add dragoon0x/map