← ClaudeAtlas

building-a-local-html-visual-explainerlisted

Explain a code or design concept grounded in real repo code: a quick text answer (snippet with file:line and commit, flow, S-T line, a hand-drawn SVG when the flow is complex) or a styled LOCAL HTML explainer page (inline SVG diagrams, ownership legend, comparison table, light + dark), linted and screenshotted. Local file only; never publish unless asked. Triggers on: what is <term>, explain <term>, how does <term> work, where is <term> defined, sketch this, sketch X vs Y, visual explainer, show me X vs Y as a diagram, explain this visually, replace the mermaid with hand-drawn svg.
sblattj/agent-chandlery · ★ 0 · Web & Frontend · score 72
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