visual-explainer
Skill0 starsChanged 3 months agoMITView on GitHub
Generate self-contained HTML visual explanations for systems, code changes, plans, data, and technical concepts. Use for diagrams, architecture overviews, diff or plan reviews, project recaps, comparison tables, slide decks, and other visual explanations.
28 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Prahaladha-Reddy/skillstheir own version, first seen Nov 15, 2026
- mhylle/claude-skills-collectiontheir own version, first seen Nov 8, 2026
- tsukhani/jclawtheir own version, first seen Nov 5, 2026
- maxbuildog/skillstheir own version, first seen Nov 1, 2026
- coco-research/cocoedited, first seen Nov 1, 2026
- lubshad/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use verification-before-completion.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillverification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
Also in 3 projects that use this
Other versions28 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- coco-research/coco★ 79799% same
Wrote their own version · 27
- vercel-labs/vgpu★ 2.6ksame name
- jamditis/claude-skills-journalism★ 453same name
- luanmorenommaciel/agentspec★ 256same name
- tsukhani/jclaw★ 42same name
- chacosoldier/compabob★ 34same name
- mhylle/claude-skills-collection★ 20same name
- parthjshah95/visual-planning-skills★ 14same name
- jscraik/Agent-Skills★ 9same name
- alexandergirardet/visual-explainer★ 4same name
- sublimotion/agent-aiops-on-aws★ 4same name
17 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- infographic-creatorSkill
- architecture-drawerSkill
- article-to-infographicSkill
- card-skillSkill
- dashmotionSkill
- figeditSkill
- fireworks-tech-graphSkill
- paper2posterSkill
- tufteSkill
- visual-note-cardSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. 0 are common, 10 are distinctive, and 15 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Prefer an HTML page over terminal ASCII when the output is inherently visual.
- Distinctive: line 18
If a table would have 4+ rows or 3+ columns, render it as HTML and give only a short chat summary.
- Very specific: line 19
Write files to ~/.agent/diagrams/ or the explicit eval output path.
- Distinctive: line 25
Read only the references needed for the current output:
- Very specific: line 52
Use theme: 'base' with custom themeVariables matching the page palette.
- Very specific: line 54
Never use bare <pre class="mermaid">.
- Very specific: line 55
Use the canonical diagram-shell pattern from templates/mermaid-flowchart.html: .diagram-shell > .mermaid-wrap > .zoom-controls + …
- Very specific: line 56
Every Mermaid diagram needs zoom in/out/reset/expand controls, Ctrl/Cmd+scroll zoom, drag panning, and click-to-expand.
- Very specific: line 57
Prefer flowchart TD for complex diagrams.
- Very specific: line 58
Use <br/> in quoted flowchart labels.
- Very specific: line 59
Never define page-level .node.
- Very specific: line 64
Use semantic HTML where it helps accessibility and copy/paste: <table>, headings, lists, <details>, captions.
- Very specific: line 65
Use CSS custom properties for palette: --bg, --surface, --border, --text, --text-dim, and 3–5 accents.
- Very specific: line 67
Avoid generic defaults: no body font that is only Inter, Roboto, Arial, Helvetica, or system-ui.
- Very specific: line 71
Do not set display: flex directly on <li> when list markers matter.
- Distinctive: line 72
Use depth sparingly: hero/elevated only for primary sections.
- Very specific: line 73
Use entrance/hover animation only when it clarifies hierarchy.
- Distinctive: line 77
Use slides only when explicitly requested or when a command asks for slides.
- Distinctive: line 80
Use larger type, fewer objects per slide, varied compositions, and visible navigation.
- Distinctive: line 82
Before writing HTML, inventory the source and map every source item to slides.
- Distinctive: line 83
Do not drop content to fit a fixed slide count.
- Very specific: line 84
Use the 10 slide types from slide-patterns.md: Title, Section Divider, Content, Split, Diagram, Dashboard, Table, Code, Quote, Full-Bleed.
- Very specific: line 88
If surf is available, generated images may be embedded as base64 for hero banners, conceptual illustrations, or educational visuals.
- Distinctive: line 96
no console errors when opened.
- Distinctive: line 97
no horizontal overflow at normal desktop width.
“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Visual Explainer
Generate self-contained HTML pages that explain systems, code changes, plans, data, and technical concepts visually. Use this skill for diagram requests, architecture overviews, diff/plan reviews, project recaps, comparison tables, slide decks, and any visual explanation.
Trigger and delivery rules
- Prefer an HTML page over terminal ASCII when the output is inherently visual.
- If a table would have 4+ rows or 3+ columns, render it as HTML and give only a short chat summary.
- Write files to
~/.agent/diagrams/or the explicit eval output path. Use descriptive filenames. - Open generated pages in the browser when running normally. In Pi package installs, use
visual_explainerwithpreparefor planning/context andrenderonly after the complete HTML document exists. - The final page must be a complete self-contained HTML document, including embedded CSS and any needed JS.
Reference routing
Read only the references needed for the current output:
| Need | Read |
| Text-heavy architecture/cards | ./templates/architecture.html |
| Mermaid flowcharts, sequence, ER, state, class, C4, data flow | ./templates/mermaid-flowchart.html, Mermaid sections in ./references/libraries.md |
| Data tables, comparisons, audits | ./templates/data-table.html |
| Slide decks | ./templates/slide-deck.html, ./references/slide-patterns.md |
| CSS layout, overflow, depth, collapsibles, SVG connectors, generated images | ./references/css-patterns.md |
| Pages with 4+ major sections | ./references/responsive-nav.md |
| Prose-heavy pages | “Prose Page Elements” in css-patterns.md, typography sections in libraries.md |
Choose the representation
| Content | Default representation |
| Flowchart, pipeline, state machine, decision tree | Mermaid |
| Sequence, ER/schema, class, C4, topology-focused architecture | Mermaid |
| Text-heavy architecture, module internals, implementation plans | CSS grid cards, optionally with a Mermaid overview |
| 15+ element architecture | Hybrid: small Mermaid overview + CSS detail cards |
| Comparison/audit/status matrix | Semantic HTML <table> |
| Timeline/roadmap | CSS timeline |
| Dashboard/metrics | CSS grid + charts/KPIs |
| Slide deck | 100dvh slides using slide template patterns |
Mermaid invariants
- Use
theme: 'base'with customthemeVariablesmatching the page palette. - For complex diagrams use ELK layout when available.
- Never use bare
<pre class="mermaid">. - Use the canonical
diagram-shellpattern fromtemplates/mermaid-flowchart.html:.diagram-shell>.mermaid-wrap>.zoom-controls+.mermaid-viewport>.mermaid-canvas. - Every Mermaid diagram needs zoom in/out/reset/expand controls, Ctrl/Cmd+scroll zoom, drag panning, and click-to-expand.
- Prefer
flowchart TDfor complex diagrams. UseLRonly for simple 3–4 node linear flows. - Use
<br/>in quoted flowchart labels. Do not use escaped\nlabels. - Never define page-level
.node; Mermaid uses it internally. Use namespaced page classes such as.ve-card. - For 15+ elements, do not cram everything into one Mermaid diagram. Use the hybrid overview + cards pattern.
Layout and style invariants
- Use semantic HTML where it helps accessibility and copy/paste:
<table>, headings, lists,<details>, captions. - Use CSS custom properties for palette:
--bg,--surface,--border,--text,--text-dim, and 3–5 accents. - Pick a clear aesthetic direction before writing: blueprint, editorial, paper/ink, terminal, IDE-inspired, or data-dense.
- Avoid generic defaults: no body font that is only Inter, Roboto, Arial, Helvetica, or system-ui; no violet/fuchsia Tailwind-default accents as the main palette (
#8b5cf6,#7c3aed,#a78bfa,#d946ef); no cyan+magenta+purple neon dashboard; no gradient-mesh blobs. - Good font pair families: DM Sans + Fira Code; Instrument Serif + JetBrains Mono; IBM Plex Sans + IBM Plex Mono; Bricolage Grotesque + Fragment Mono; Plus Jakarta Sans + Azeret Mono.
- Good accent directions: terracotta+sage, teal+slate, rose+cranberry, amber+emerald, deep blue+gold.
- Prevent overflow:
min-width: 0on grid/flex children,overflow-wrap: break-wordfor long text, and scroll containers for wide tables/code. - Do not set
display: flexdirectly on<li>when list markers matter. - Use depth sparingly: hero/elevated only for primary sections; flat/recessed for reference material.
- Use entrance/hover animation only when it clarifies hierarchy. Respect
prefers-reduced-motion. Do not use continuous glow, pulse, or breathing effects on static content.
Slide deck mode
Use slides only when explicitly requested or when a command asks for slides. Slides are a different medium, not a paginated article:
- Each slide is one viewport (
100dvh) with no page-level scrolling. - Use larger type, fewer objects per slide, varied compositions, and visible navigation.
- Include slide nav chrome from
slide-deck.html: prev/next controls, slide count, keyboard navigation, and carousel dots/indicators. - Before writing HTML, inventory the source and map every source item to slides.
- Do not drop content to fit a fixed slide count. Add slides instead.
- Use the 10 slide types from
slide-patterns.md: Title, Section Divider, Content, Split, Diagram, Dashboard, Table, Code, Quote, Full-Bleed.
Optional generated images
If surf is available, generated images may be embedded as base64 for hero banners, conceptual illustrations, or educational visuals. Skip images for data-heavy, structural, or Mermaid/CSS-suitable content. Pages must stand on CSS, typography, and diagrams without images.
Final checklist
Before delivery, verify:
- complete HTML document;
- output written to the requested path;
- no console errors when opened;
- no horizontal overflow at normal desktop width;
- fonts load with fallbacks;
- tables preserve rows/columns and wrap long text;
- Mermaid diagrams use
diagram-shellwith zoom/pan/expand; - slides fit one viewport, include carousel dots, and preserve source coverage;
- visual hierarchy makes the main idea obvious in the first viewport;
- styling would still be recognizable if compared against a generic dark/violet template.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

