Generate a zero-to-hero markdown learning guide for any topic, with progressive chapters, ASCII art header, ASCII diagrams, sequence diagrams, analogies, and code examples. Use when the user asks to create a guide, tutorial, or learning doc on a topic. Supports pace (slow/normal/fast), depth (basic/advanced), and --analogy (with or without a value) to control the master analogy thread.
Ships in akash-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate a comprehensive, progressively structured learning guide as a .md file.
/zero-to-hero <topic> [options]
Options the user may provide (all optional):
--pace slow|normal|fast — how much hand-holding and repetition (default: normal)--depth basic|advanced — how deep to go into internals/expert patterns (default: normal, between basic and advanced)--output <path> — where to save the file (default: <cwd>/<topic-slug>.md)--context <extra context> — any additional framing (e.g. "for a Java dev who knows Go")--analogy — flag: auto-pick the best analogy and announce it prominently (default behavior even without flag, but this makes it explicit)--analogy <theme> — flag with value: use this specific real-world domain as the master analogy (e.g. --analogy restaurant, --analogy "post office", --analogy factory). You do NOT need to know the topic — it's just a preference, not a requirement.--analogy with no value = "pick the best one for me"
--analogy restaurant = "use restaurant, I have a preference"
omitting --analogy entirely = still auto-picks, just silently
If options are NOT provided, ask the user ONE compact question before generating:
Topic:
<topic>— a few quick questions:
- Pace?
slow(lots of analogies, small steps) /normal(balanced) /fast(cut to the chase)- Depth?
basic(concepts + usage) /normal(+ internals + patterns) /advanced(+ expert patterns, edge cases, tradeoffs)- Any context? (e.g. "I know Python but not distributed systems")
- Analogy? (just type
--analogyto let me pick, or--analogy restaurantif you have a preference — or skip entirely)Reply with e.g.
normal / basic / knows Java / --analogy— or just the pace and depth.
Wait for the reply, then generate.
Every document starts with an ASCII art banner, then flows through progressive chapters:
[ASCII ART BANNER — topic name in large ASCII font]
# <Topic>: From Zero to Hero
<One-line tagline>
---
## Chapter 1: What is <Topic>? (The Plain English Version)
## Chapter 2: The Simplest Possible Version
## Chapter 3: How It Actually Works
## Chapter 4: Real Patterns and Power Features
## Chapter 5+: Advanced / Production / At Scale (omit if depth=basic)
## Final Chapter: Everything Side by Side
## Glossary
Scale chapter count to the topic's natural complexity (3–4 for simple, 6–8 for complex).
No ASCII art banners. Use clean markdown:
# Zero to Hero: <Topic>
> pace: slow | depth: basic | analogy: restaurant
<one-line tagline>
---
Chapter 0 never shows code. It starts from what the reader can already see or experience — the surface behavior. Then each chapter peels back exactly one layer: behavior → components → how they communicate → internals → production concerns.
Never start with theory. Start with: "When you do X, Y happens. Here's why."
Every concept gets a written explanation before its first code block:
After the code:
pace=slow: write all three questions in full paragraphs. pace=fast: one dense paragraph covering all three, then code.
When introducing a real code snippet (not a toy example), show it side-by-side with a plain English translation. Left = code, right = what it actually means in conversational language:
```typescript
const result = await generateText({
model: openai("gpt-4o-mini"), // which AI model to use
prompt: "Summarise this article.", // the instruction you're sending
maxTokens: 200, // stop after 200 tokens (cost + speed control)
});
```
What this says in plain English:
- `model:` — "use OpenAI's fast cheap model"
- `prompt:` — "here is your task"
- `maxTokens:` — "don't write more than 200 tokens worth of response"
- `result.text` — "the AI's reply is here"
Use this format for the first appearance of any non-trivial code block. For subsequent uses of the same pattern, regular code comments suffice.
Every distinct concept gets its own metaphor, invented specifically for it. Not recycled from the chapter analogy. The metaphor must fit the concept's unique mechanic, not be forced from the chapter theme.
Examples of custom-per-concept metaphors:
The chapter analogy (restaurant, post office, etc.) is the world. Custom metaphors are the specific props within or outside that world that best explain individual concepts.
Frame examples as real tasks the reader would actually want to do, not abstract demonstrations:
Weak: "Here is how generateText works." Strong: "You want to build an endpoint that summarises user-submitted articles. Here's how you'd use generateText for that."
Weak: "Tools allow the LLM to call functions." Strong: "Your AI needs to check live order status — it can't answer from training data. Here's how you give it a tool that calls your database."
Every major concept should have at least one example framed as: "You want to [do X]. Here's how."
Do not over-simplify code examples. Show code that looks like what the reader would actually write in a project:
foo / barimport statementsmaxTokens, abortSignal, type annotations)// WHY: not // this is XOne exception: the very first code block for a brand-new concept may be a minimal 5-10 line version. Follow it immediately with a more realistic version.
At the end of each major chapter, include one scenario question — a situational prompt that tests whether the reader understood the concept, not just memorised a definition:
Format: a brief scenario → a question → the answer with explanation.
Examples:
generateText call returns a truncated sentence. What field do you check, and what does it tell you?"These should feel like real debugging or design decisions, not quiz-bowl trivia.
The analogy is a landing pad, not a recurring theme.
Chapter 0: Full treatment. Introduce the world, all key roles, the mapping table. After this chapter, the reader should have a complete mental map.
Subsequent chapters: One-line callbacks only when a concept is genuinely confusing without it. Then move on. Do NOT re-explain the analogy or re-introduce roles.
Picking the analogy:
Include a mapping table in Chapter 0:
ANALOGY WORLD TECHNICAL WORLD
------------- ---------------
Chef --> LLM
Order --> Prompt
...
Use for: flows, sequences, state machines, layered architecture, timelines, decision trees.
Box-drawing characters: ┌ ─ ┐ │ └ ┘ ├ ┤ ┬ ┴ ┼ ╔ ═ ╗ ║ ╚ ╝ ╠ ╣ ╦ ╩ ╬ ► ▼ ◄ ▲
Every major concept gets at least one ASCII diagram. Put in fenced code blocks (no language tag).
When a concept involves multiple parties interacting over time — e.g. client/server, producer/consumer, request/reply, multi-step handshakes — use an ASCII sequence diagram:
Client Server Database
│ │ │
│── request ────►│ │
│ │── query ──────►│
│ │◄── result ─────│
│◄── response ───│ │
│ │ │
Rules for sequence diagrams:
│ lifeline──► (sync call) or ··► (async/fire-and-forget)// WHY: or # WHY: comments on non-obvious lines.End each major chapter with a compact ASCII tree:
<Topic> = <one-line definition>
├── Key 1: ...
├── Key 2: ...
├── Best for: ...
└── Limitation: ...
When two or more implementations/approaches are covered, include a full aligned ASCII comparison table.
End every document with a ## Glossary — compact two-column style:
Term Definition in one sentence.
Term Definition.
Do NOT squish multiple tools/concepts into one chapter. Give each major concept its own full chapter. For "AI SDK and Mastra", that means:
Chapter 0 The Analogy World (set the scene, map every term)
Chapter 1 The Core Concept (e.g. "What is an LLM?")
Chapter 2 Tool/Library A (e.g. AI SDK — full treatment)
Chapter 3 Tool/Library A Patterns (e.g. AI SDK — tools, streaming, structured output)
Chapter 4 Framework B (e.g. Mastra — full treatment)
Chapter 5 Framework B Patterns (e.g. Mastra — agents, memory, workflows)
Chapter 6 Side by Side (comparison + decision guide)
Glossary
Within EACH chapter, the minimum structure is:
depth=basic:
depth=normal (default):
depth=advanced:
<cwd>/<topic-slug>-zero-to-hero.md (always include -zero-to-hero in the filename so docs are easy to find and identify).Written to <path> — chapter count, depth, pace, analogy chosen./zero-to-hero Redis
/zero-to-hero "Kafka" --analogy ← auto-pick best analogy, announce it
/zero-to-hero "Kafka" --analogy "post office" ← use post office specifically
/zero-to-hero "Kubernetes networking" --pace slow --depth basic
/zero-to-hero "Temporal workflows" --depth advanced --output ./docs/temporal-guide.md
/zero-to-hero "Postgres indexes" --context "I'm a frontend dev, never touched SQL internals"
/zero-to-hero "AI SDK and Mastra" --pace slow --depth basic --analogy "restaurant kitchen"
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/akash-skills:zero-to-herofrom akash-skills
akash-skills@akashp1712 is listed by akashp1712/claude-marketplace — review the source before installing
npx claudepluginhub akashp1712/claude-marketplace --plugin akash-skills6 skills in this plugin
/carousel-pressTurn writing into swipe-carousel slides for LinkedIn, Instagram, and TikTok in a warm editorial letterpress style — oversized serif headlines, mono eyebrows, hairline rules, one accent color, and a dot-grid dark treatment. Writes a .deck.md file and renders the size each platform actually wants (LinkedIn square PDF, Instagram 4:5 PNGs, TikTok 9:16 PNGs) using headless Chrome with no dependencies to install. Auto-applies when turning a post, article, README, or skill into slides. Triggered by /carousel-press./next-error-tsxWrite Next.js App Router error.tsx (and global-error.tsx) so a thrown page does not dump the production digest screen. Auto-applies when creating or editing a data-fetching page.tsx that has no sibling error boundary. Triggered by /next-error-tsx./next-loading-skeleton⚡ Instant Loading UI for Next.js - Auto-generate beautiful loading.tsx with shadcn/ui Skeleton placeholders. Perfect for dashboards, data tables, and profile pages. Zero wait time, maximum user satisfaction./prompt-guard🛡️ Unbreakable AI Security Guard - Highest-priority protection against prompt injection, jailbreaks, and malicious skill behavior. Auto-activates on threats and cannot be overridden./workspace-disk-cleanupScan a development workspace and remove regenerable dev caches (node_modules, .next, .venv, .turbo, etc.) from projects that have not been edited recently. Never deletes source code or .git. Use when the user asks to free disk space, clean stale node_modules, prune build artifacts, or tidy a monorepo/workspace.