building-a-local-html-visual-explainerlisted
Install: claude install-skill sblattj/agent-chandlery
## More triggers
sketch (old name), visualize X locally, sketch-local-html-visual-explainer (old name), explaining-a-code-concept-from-source (old name), explain-concept (old name), explain-code-concept-from-source-with-snippets-and-handdrawn-svg (old name), show me <term> in the code, ELI5 <term>, diagram how <term> flows, draw me <term>, explain this like the last one, create a styled html visual, draw me a comparison, who owns what diagram, html visual of, glossary page with examples from the repo, ownership color legend, labels are clipped, lint the svgs for overlaps, bundle these pages into one shareable html file, this is ugly make it look like this theme
# building-a-local-html-visual-explainer
`S=${CLAUDE_SKILL_DIR:-${SKILL_DIR:-~/.claude/skills/building-a-local-html-visual-explainer}}`
Two modes, same grounding. **Quick mode** for "what is X" / "explain X" / "where is X defined": a text answer, plus one `.svg` when the flow needs it. **Page mode** for "sketch X vs Y", "visualize", "styled html", or a follow-up to a quick answer.
## Quick mode
1. Bridge the prose name to code identifiers (read-only): `$S/find-concept.sh "<term>" [code_root] [docs_root] [-a codeAlias ...]`. Roots: args, else `CODE_ROOT` / `DOCS_ROOT`, else the cwd repo and its `docs/`; the user's agent instructions may name defaults. Env: `MAX`, `BRIDGE_MAX`, `INCLUDE_TESTS=1`.
2. Read the top definition file and the one call site that enforces it.
3. Answer tight: one-line definition, why it exi