dependency-graph
Generates a Mermaid dependency graph showing import relationships between modules. Use when analyzing coupling, finding circular deps, or planning refactors.
npx skills add majiayu000/claude-skill-registry --skill dependency-graph-athola-claude-night-market --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Dependency Graph Generate a Mermaid flowchart showing import and dependency relationships between modules, packages, or plugins. ## When To Use - Understanding what depends on what - Finding circular dependencies - Analyzing coupling between modules - Planning refactoring by seeing dependency impact - Answering "what breaks if I change this?" ## Workflow ### Step 1: Explore the Codebase 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. ``` ### Step 2: Generate Mermaid Syntax Transform the structural model into a Mermaid flowchart with directed edges representing dependencies. **Rules for dependency graphs**: - Use `flowchart LR` (left-right) for dependency direction - Each node is a module or package - Edges point from dependent to dependency (A --> B means "A depends on B") - Color-code by dependency type: - Default arrows for internal dependencies - Dotted arrows (`-.->`) for external/optional deps - Thick arrows (`==>`) for critical path dependencies - Group into subgraphs b
- When To Use
- Workflow
- Step 1: Explore the Codebase
- Step 2: Generate Mermaid Syntax
- Step 3: Render via MCP
- Step 4: Present Results
What does the dependency-graph skill do?
Generates a Mermaid dependency graph showing import relationships between modules. Use when analyzing coupling, finding circular deps, or planning refactors.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill dependency-graph-athola-claude-night-market --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
