Explain Code HTML

Generate a rich, interactive, self-contained HTML page that explains code — annotated syntax-highlighted source, collapsible sections, a table of contents, an interactive step-through of the key path, and inline SVG diagrams. Reach for this whenever the user wants to understand, explain, walk through, visualize, or document how code works — a snippet, a function, a whole file, an algorithm, a subsystem across files, or a concept or behavior you must first track down in a codebase (e.g. "how does caching work in this service", "walk me through the request lifecycle"). Especially use it when they want the explanation detailed, visual, interactive, or shareable rather than a few lines of terminal text, or when they ask for an "HTML explanation", "interactive walkthrough", or "visual explanation" — even if they never say the word "HTML". Prefer it over plain text whenever a diagram or clickable annotations would make code click faster than prose.

truong-v Updated

File contents

truong-v/claude-skills/tree/main/plugins/explain-code-html/skills/explain-code-html commit 88bca20e7a

Frequently asked questions

npx skillmds@latest add truong-v/explain-code-html