From hugin-v0
Generate interactive HTML dependency graphs for React components. Use when asked to "visualize components", "show component dependencies", "dependency graph", "component map", or "what depends on what".
How this skill is triggered — by the user, by Claude, or both
Slash command
/hugin-v0:component-visualizerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate an interactive force-directed dependency graph of React components
Generate an interactive force-directed dependency graph of React components
as a standalone HTML file. Scans src/client/components/ and src/client/routes/
for import relationships and produces a browser-ready visualization.
Run the visualization script from the project root:
python3 "${CLAUDE_SKILL_DIR}/scripts/visualize-components.py"
This outputs component-graph.html in the project root. Open it in a browser.
To specify a custom output path:
python3 "${CLAUDE_SKILL_DIR}/scripts/visualize-components.py" /tmp/graph.html
src/client/routes/)src/client/components/)src/client/components/ui/ — DSAI)| Directory | Category | Purpose |
|---|---|---|
src/client/components/ui/ | UI (DSAI) | DSAI components (installed via dsai add) |
src/client/components/ | Component | Project feature components |
src/client/routes/ | Route | TanStack Router page files |
The script resolves these import patterns:
@/components/ui/button → src/client/components/ui/button.tsx@/components/app-sidebar → src/client/components/app-sidebar.tsx../components/header → relative path resolution./sub-component → same-directory resolutionNode module imports (e.g., react, @tanstack/router) are excluded.
Healthy patterns:
Warning signs:
ui/ (skipping feature abstraction layer)React.lazy() pathsindex.ts)@/ are not resolvednpx claudepluginhub michelve/hugin-marketplace --plugin hugin-v0Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.