From cartograph
Generates Mermaid flowcharts visualizing import dependencies between modules/packages/plugins. Detects circular dependencies, analyzes coupling, and assesses refactoring impacts.
npx claudepluginhub athola/claude-night-market --plugin cartographThis skill uses the workspace's default tool permissions.
Generate a Mermaid flowchart showing import and dependency
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Generate a Mermaid flowchart showing import and dependency relationships between modules, packages, or plugins.
Dispatch the codebase explorer agent:
Agent(cartograph:codebase-explorer)
Prompt: Explore [scope] and return a structural model.
Focus on import statements and cross-module dependencies
for a dependency graph. Track both internal and external
imports.
Transform the structural model into a Mermaid flowchart with directed edges representing dependencies.
Rules for dependency graphs:
flowchart LR (left-right) for dependency direction-.->) for external/optional deps==>) for critical path dependenciesExample output:
flowchart LR
subgraph sanctum[Sanctum]
commit[commit]
pr_prep[pr_prep]
workspace[workspace]
end
subgraph leyline[Leyline]
git[git_platform]
errors[error_patterns]
end
subgraph external[External]
subprocess[subprocess]
json[json]
end
commit --> git
commit --> json
pr_prep --> workspace
pr_prep --> git
workspace --> errors
workspace -.-> subprocess
Call the Mermaid Chart MCP to render:
mcp__claude_ai_Mermaid_Chart__validate_and_render_mermaid_diagram
prompt: "Dependency graph of [scope]"
mermaidCode: [generated syntax]
diagramType: "flowchart"
clientName: "claude-code"
If rendering fails, fix syntax and retry (max 2 retries).
Show the rendered diagram with analysis notes: