What it is
The Visual Explainer Plugin is the Claude Code plugin component of the Visual Explainer project. It enforces nine core design rules for generating visual explanations: one claim per figure with single-sentence captions, figures lead with text providing labels only, the first viewport displays the main answer, mechanism drawings replace labeled boxes, visual differences are highlighted in comparisons, state is encoded through shape/position/pattern rather than color alone, all numbers get accompanying visuals, multiple cases appear as small diagram variations, and every fact is placed within figures before becoming prose. The plugin supports generating standalone HTML diagrams, animated scenes, comparison tables, diff/plan reviews, project recaps, slide decks, PowerPoint presentations, and narrated MP4 videos through commands like /generate-web-diagram, /generate-slides, and /generate-video.
Who it's for
- Claude Code users creating visual documentation
- developers explaining architecture and code changes visually
- teams producing slide decks and video explanations from agent output
Requirements
Requirements
- Web browser
- Optional: surf-cli for AI-powered images
- Optional: playwright-core for quality checks
Setup
Step 1
bashInstall via Claude Code plugin marketplaceStep 2
bashOr copy plugin directory to .claude/plugins/
مكون إضافة Claude Code من Visual Explainer الذي ينشئ شروحات بصرية HTML مستقلة تتبع تسع قواعد تصميم تعطي الأولوية للرسوم البيانية على النص.
Examples
Generate standalone HTML visual
Prompt/generate-web-diagramExpected output: Creates a self-contained HTML page with visual diagrams based on the current context.
Generate slide deck
Prompt/generate-slides --slidesExpected output: Produces a presentation deck from the visual explanation.
Generate video
Prompt/generate-videoExpected output: Creates a narrated MP4 video explanation.
Pros & cons
Pros
- Pro:Nine enforced design rules ensure consistent visual quality
- Pro:Supports multiple output types: HTML, slides, PPTX, and video
- Pro:First viewport shows the main answer for instant comprehension
- Pro:Figures lead content; text provides labels only
Cons
- Con:Video and PPTX generation require additional optional dependencies
- Con:Design rules are opinionated and may not suit all content types
- Con:Plugin structure requires compatible Claude Code version