From explore
Generates a dependency map of the codebase by scanning source files, building a module graph, and identifying high-risk areas like circular dependencies and single points of failure. Outputs text or Mermaid diagram.
How this command is triggered — by the user, by Claude, or both
Slash command
/explore:mapThe summary Claude sees in its command listing — used to decide when to auto-load this command
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 ## 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.
Generate a dependency map showing how modules and files relate to each other in the codebase.
Core Modules (high fan-in):
- <module>: imported by <N> files
Dependency Chains:
2plugins reuse this command
First indexed Mar 30, 2026
npx claudepluginhub costrict-plugins-repo/github-trending-plan --plugin explore/analyze-dependenciesAnalyzes project dependencies for circular issues, layer violations, coupling, and Clean Architecture compliance, producing metrics reports, violation alerts, and ASCII visualizations.
/mapDisplays codebase dependency map summary (risks, coverage, top files), rebuilds with 'rebuild', or shows blast radius for a file path.
/analyze-dependenciesAnalyzes project module dependencies and architecture health, detecting circular deps, layer violations, Clean Arch issues. Outputs metrics, violation reports, recommendations, optional visualizations. Supports --visual, --circular, --depth, --focus flags.
/analyze-dependenciesAnalyzes project dependencies for circular refs, layer violations, coupling issues, and clean architecture compliance. Outputs metrics summary, violation reports, recommendations, and optional visuals.
/deep-surveyRuns 7-phase TypeScript codebase analysis using typegraph-mcp tools like ts_dependency_tree and ts_import_cycles, producing markdown report typegraph-exploration-report.md. Supports --skip-phases.