comprehensive skill analysis & documentation
A visual-explainer agent skill that transforms complex terminal output into styled HTML pages. Replaces ASCII art and box-drawing tables with professional diagrams, interactive Mermaid charts, and readable typography.
graph TD
A[Why Use It] --> B[ASCII Art]
A --> C[Bad Tables]
B -->|1-3 nodes| D[Acceptable]
B -->|>5 nodes| E[Unreadable]
C -->|4+ rows/cols| F[Painful]
G[Solution] --> H[Styled HTML]
H --> I[Mermaid Diagrams]
H --> J[Typography]
H --> K[Zoom Controls]
L[Commands] --> M[/generate-web-diagram]
L --> N[/generate-visual-plan]
L --> O[/diff-review]
L --> P[/plan-review]
L --> Q[/project-recap]
L --> R[/fact-check]
SKILL.md workflow document that defines design principles, routing logic, and quality checkpoints. It reads from multiple reference files to absorb a diverse design vocabulary without repetition.
flowchart TD
A[SKILL.md
workflow + design principles]
A --> B[references/]
B --> C[css-patterns.md
layouts, animations, theming]
B --> D[libraries.md
Mermaid, Chart.js, fonts]
B --> E[responsive-nav.md
sticky TOC for multi-section pages]
B --> F[slide-patterns.md
slide engine, transitions, presets]
A --> G[templates/]
G --> H[architecture.html
CSS Grid architecture layout]
G --> I[mermaid-flowchart.html
Mermaid diagrams with zoom]
G --> J[data-table.html
HTML table with KPI cards]
G --> K[slide-deck.html
10 slide types]
A --> L[~/.agent/diagrams/
output directory]
| Command | Purpose | Flag |
|---|---|---|
| /generate-web-diagram | General-purpose HTML diagram generator | |
| /generate-visual-plan | Blueprint-style feature implementation plans | |
| /generate-slides | Magazine-quality slide deck presentations | |
| /diff-review | Visual code diff review with panels and code review | --slides (slide mode) |
| /plan-review | Plan vs codebase with architecture comparison | --slides (slide mode) |
| /project-recap | Quick mental-model snapshot for context-switching | --slides (slide mode) |
| /fact-check | Document accuracy verification vs actual code |
theme: 'base' to enable full variable customization. Preload dark mode via prefers-color-scheme and apply CSS overrides to prevent hard-coded colors from breaking in the opposite theme.
| Setting | Value | Notes |
|---|---|---|
| theme | base | Enables all themeVariables |
| look | classic | Clean lines, no fill |
| layout | elk | For complex graphs (>15 nodes) |
| fontSize | 16px | Default scaling |
| zoom | CSS zoom | Fixed in v0.4.3 |
.nodeLabel, .edgeLabel, and .actor to ensure theme-switching reliability.
flowchart LR
A[Install] --> B[Pi]
A --> C[Claude Code]
B -->|pi install
visual-explainer| D[Automatic Setup]
C -->|Git clone
& copy commands| D
D --> E[~/.claude/skills/
visual-explainer]
E --> F[~/.claude/commands/
_*.md]
Generated from visual-explainer SKILL.md and reference documentation