Skip to content
Development
Command

/map

Generate a dependency map showing how modules and files relate to each other in the codebase.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/map

Context preview

What this command does when you run it.

Generate a dependency map showing how modules and files relate to each other in the codebase.

Command definition

map.md

Generate a dependency map showing how modules and files relate to each other in the codebase.

Steps

1. Scan all source files and extract import/require statements. 2. Build a dependency graph: 3. Classify modules by role: 4. Calculate module metrics: 5. Identify high-risk areas: 6. Generate a visual map in text or Mermaid format.

Format

Core Modules (high fan-in):
  - <module>: imported by <N> files

Dependency Chains:

Rules

  • Only map first-party code, not node_modules or third-party packages.
  • Flag circular dependencies as issues that need resolution.
  • Highlight modules that are single points of failure.
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin