claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
Generates a Mermaid dependency graph showing import relationships between modules. Use when analyzing coupling, finding circular deps, or planning refactors.
Claude Code
$ npx -y skills add athola/claude-night-market --skill dependency-graph --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill dependency-graph -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill dependency-graph -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill dependency-graph -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill dependency-graph -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill dependency-graph -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill dependency-graph -a windsurf -y
name: dependency-graph description: Generates a Mermaid dependency graph showing import relationships between modules. Use when analyzing coupling, finding circular deps, or planning refactors.
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**:
"A depends on B")
**Example 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 -.-> subprocessCall 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:
from dependent to dependency (A --> B means "A depends on B")
called and returns without error
and highest fan-out modules
styling and listed explicitly in the analysis notes
internal dependency arrows
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.