Agent skill

dependency-graph

Generates a Mermaid dependency graph showing import relationships between modules. Use when analyzing coupling, finding circular deps, or planning refactors.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/analysis/dependency-graph-athola-claude-night-market/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When To Use
  2. Workflow
  3. Step 1: Explore the Codebase
  4. Step 2: Generate Mermaid Syntax
  5. Step 3: Render via MCP
  6. Step 4: Present Results
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going