Explains code, algorithms, and system design using ASCII diagrams. Trigger phrases: "explain visually", "I don't get it", "show me", "ascii diagram", "help me understand". Produces diagram-first explanations that end with TL;DR tables.
Before drawing, DIAGNOSE:
CRITICAL: Diagnosis IS the skill. Surfacing "user assumes X, but actually Y" is the value—not drawing boxes.
| If the concept has... | Use | ASCII Pattern |
|-----------------------|-----|---------------|
| Steps in order | DAG | A → B → C |
| States + events | State Machine | [S1] --evt--> [S2] |
| Parent-child hierarchy | Tree | Root with / \ branches |
| Cycles/feedback | Graph | Arrows that loop back |
| Stages that transform | Pipeline | [Stage1] ──▶ [Stage2] |
| 2D relationships | Matrix | Grid with ┌─┬─┐ |
For full primitive taxonomy → see PRIMITIVES.md
Continuous (infinite states)? ──Yes──▶ MANIFOLD
│No
Time/order focused? ──Yes──▶ SEQUENCE│QUEUE│STACK│PIPELINE│TIMELINE
│No
Concurrent states? ──Yes──▶ PETRI NET
│No
States + transitions? ──Yes──▶ STATE MACHINE
│No
Two distinct node types? ──Yes──▶ BIPARTITE
│No
Edges connect 3+ nodes? ──Yes──▶ HYPERGRAPH
│No
Partial ordering? ──Yes──▶ LATTICE
│No
Spatial cells? ──Yes──▶ GRID
│No
N-dimensional? ──Yes──▶ TENSOR/MATRIX
│No
Direction matters? ──No──▶ UNDIRECTED GRAPH
│Yes
Can loop back? ──Yes──▶ CYCLIC GRAPH
│No
Multiple parents? ──Yes──▶ DAG
│No──▶ TREE
If obvious, skip.
Use Quick Pick or flowchart. State: "This is a [PRIMITIVE] because [ONE REASON]."
─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ ← → ↑ ↓ ● ○ █"Does this capture the structure? What's missing?"
[1-line context]
┌─────────────────────────────────────┐
│ WHAT [USER/ISSUE] ASSUMES: │
├─────────────────────────────────────┤
│ [Their mental model] │
└─────────────────────────────────────┘
┌─────────────────────────────────────┐
│ ACTUAL STATE: │
├─────────────────────────────────────┤
│ [Reality] │
│ ↑ key difference │
└─────────────────────────────────────┘
Primitive: [NAME] — "[reason]"
[ASCII DIAGRAM]
┌─────────┬────────────┬─────────────┐
│ Aspect │ Assumed │ Actual │
├─────────┼────────────┼─────────────┤
│ X │ state A │ state B │
└─────────┴────────────┴─────────────┘
★ Insight ─────────────────────────────
[Transferable lesson]
───────────────────────────────────────
↑ or ← with 1-line labels+--+ with ┌──┐)Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer