agentleFS
yarikletoyarikleto/claude-teacher-plugin/skills/ascii/SKILL.md

ascii

Skill9 starsChanged 2 months agoMITView on GitHub

DEFAULT diagram skill — simplest tier. Use when user invokes /claude-teacher:ascii OR when suggesting a quick visual. Creates ASCII art rendered inline in terminal — zero friction. Escalate to /claude-teacher:excalidraw for complex static diagrams (5+ components, multi-layer). Escalate to /claude-teacher:demo for animated/dynamic concepts (protocol handshakes, algorithm traces, state transitions).

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. EveryInc/ascii-factory★ 2same name

    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 repository15 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before accessing education data, read ${CLAUDE_PLUGIN_ROOT}/references/education-data.md.

    line 9
  2. Distinctive:

    Create ASCII art diagrams with detailed educational explanations.

    line 13
  3. Very specific:

    Avoid ASCII diamond shapes — use condition?

    line 81
  4. Distinctive:

    Use pure ASCII for this style — IETF convention

    line 93
  5. Very specific:

    Never mix pure ASCII (+ - |) with Unicode box-drawing in the same diagram

    line 138
  6. Distinctive:

    Use 2+ space gaps between unrelated elements

    line 140
  7. Distinctive:

    Keep consistent arrow lengths in sequence diagrams

    line 141
  8. Distinctive:

    If a diagram exceeds ~40 lines or ~10 nodes, split it up

    line 142
  9. Distinctive:

    After creating the diagram and explanation:

    line 146
  10. Very specific:

    If the concept corresponds to a tracked topic, update only last_seen.

    line 154

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Requested topic/task: $ARGUMENTS

Before accessing education data, read ${CLAUDE_PLUGIN_ROOT}/references/education-data.md. Resolve every <education-db> below using that contract. Current session ID: ${CLAUDE_SESSION_ID}.

ASCII

Create ASCII art diagrams with detailed educational explanations. All output is pure Unicode box-drawing art — renders in any modern terminal, no external tools needed.

Invocation

/claude-teacher:ascii <concept description>

Style Selection

Concept TypeStyleExample Use
Time-ordered (protocol flows, request/response)Sequence diagramTCP handshake, HTTP request
States/decisions (transitions, branching)FlowchartConnection lifecycle, error handling
Byte-level/structural (memory, packets, formats)RFC-style grid or tableTCP header, packet layout
Relationships/architecture (components, deps)Box-and-line with layersSystem architecture, module deps
Comparisons (A vs B)Side-by-side or before/afterActive vs passive mode
Hierarchies (trees, org charts)Tree with branchesDirectory structure, class hierarchy

Character Toolkit

Visual hierarchy through line weight:

WeightCharactersUse For
Double═ ║ ╔ ╗ ╚ ╝ ╠ ╣ ╦ ╩ ╬Outer boundaries, system borders, emphasis
Single─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼Standard boxes, connections
Rounded╭ ╮ ╰ ╯Softer/informal elements
Dashed┄ ┆ or - - -Optional, conditional, weak relationships
Heavy━ ┃ ┏ ┓ ┗ ┛Bold emphasis

Arrows: → ← ↑ ↓ ↔ standard, ▶ ◀ ▲ ▼ filled, ⇒ ⇐ double

Fill/shading: ░ light, ▒ medium, ▓ dark, █ full

Elision: ⋮ vertical omission, ⋯ horizontal omission

Style Recipes

Sequence Diagram

  Client              Server
    │                    │
    │   SYN (seq=x)      │
    │───────────────────▶│
    │                    │
    │  SYN-ACK (seq=y)   │
    │◀───────────────────│
    │                    │
  • Vertical lifelines per actor, names at top
  • Horizontal arrows with labels above
  • Consistent column spacing and arrow lengths

Flowchart

  ┌─────────┐
  │  Start  │
  └────┬────┘
       │
       ▼
  condition? ──no──▶ Action B
       │                 │
      yes                │
       │                 │
       ▼                 │
  Action A               │
       │                 │
       ◀─────────────────┘
  • Avoid ASCII diamond shapes — use condition? with branching labels instead
  • Label branches on the arrows

RFC-Style Protocol Header

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Source Port          |       Destination Port        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  • Each -+- = one bit, centered field names
  • Use pure ASCII for this style — IETF convention

Architecture / Layer Diagram

╔═══════════════════════════════╗
║      Presentation Layer       ║
║  ┌────────┐    ┌───────────┐  ║
║  │  CLI   │    │  REST API │  ║
║  └───┬────┘    └─────┬─────┘  ║
╠══════╪════════════════╪═══════╣
║      ▼   Service Layer▼       ║
║  ┌────────────────────────┐   ║
║  │      Core Logic        │   ║
║  └───────────┬────────────┘   ║
╚══════════════╪════════════════╝
               ▼
         ┌──────────┐
         │ Database │
         └──────────┘
  • Double-line for system boundaries
  • Single-line for components inside
  • Horizontal dividers between layers

Process

  1. Analyze the concept — what type of information is it?
  2. Pick style using the selection table
  3. Research the concept using WebSearch before creating the diagram — verify accuracy against official docs, RFCs, or standards. Include source links.
  4. Create the diagram in a text code block:
    • Max width 78 characters
    • Generous whitespace — padding inside boxes
    • Standardize box widths where possible
    • Center vertical connectors under boxes
    • Break complex concepts into multiple smaller diagrams
  5. Write educational explanation:
    • What it shows — walk through the diagram
    • Why it works this way — reasoning behind the design
    • Key concepts — define terms that might be new
    • Common pitfalls — what people often misunderstand
    • Sources — links to official docs, RFCs, or standards used
  6. Save to docs/ — automatically save the diagram and explanation to docs/<concept-name>.md for future reference.

Quality Rules

  • Never mix pure ASCII (+ - |) with Unicode box-drawing in the same diagram
  • Align everything carefully — misaligned ASCII art is worse than no diagram
  • Use 2+ space gaps between unrelated elements
  • Keep consistent arrow lengths in sequence diagrams
  • If a diagram exceeds ~40 lines or ~10 nodes, split it up

DB Integration

After creating the diagram and explanation:

  1. Save to project-local docs/<concept-name>.md (for project-specific concepts)
  2. Save to global <education-db>/docs/<concept-name>.md (for general concepts)
  3. Append to session log <education-db>/sessions/[date].jsonl:
    {"time": "[now]", "event": "ascii", "topic": "[concept-slug]", "saved_to": "global|project|both"}
  4. If the concept corresponds to a tracked topic, update only last_seen; preserve its assessment dates and review interval

Integration with Other Skills

This skill is part of the claude-teacher plugin:

  • /claude-teacher:quiz-me — if a student gets a visual concept wrong during a quiz, suggest illustrating it.
  • /claude-teacher:challenge — challenges may need diagrams as part of the answer.
  • /claude-teacher:progress — diagrams count toward topic engagement.
  • Diagrams saved to docs/ become the student's personal reference library.
  • The tutor (via CLAUDE.md) will suggest /claude-teacher:ascii when visual explanation helps.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.