zebbern/dev-guide-generator
Generates complete technical tutorials from prerequisites and environment setup to core steps, troubleshooting, and a final cheatsheet. Trigger on requests to write a tutorial, create a setup guide, organize steps for beginners, or keywords like step-by-step, quickstart, or how-to guide.
npx skills add https://github.com/zebbern/claude-code-guide --skill dev-guide-generator
One topic → complete technical tutorial: Through a structured SOP workflow, transform a technical topic into a comprehensive tutorial covering prerequisites, environment setup, core steps, common error troubleshooting, and advanced topics — all accompanied by a cheatsheet.
The user simply provides a technical topic or operational goal, and the Agent automatically generates a complete tutorial following this workflow:
User: Help me write a Docker beginner's tutorial
Agent: [Outputs complete technical tutorial + Cheatsheet following the SOP workflow]
Goal: Define the tutorial's technical subject, target audience, and scope boundaries.
Steps:
Output: Tutorial metadata summary (topic, audience, objective, scope — no more than 150 words)
Goal: List all knowledge and tools the reader needs before starting this tutorial, ensuring there are no knowledge gaps.
Steps:
**Must know**:
- [Concept]: [Why you need it] (Recommended resource)
**Nice to know**:
- [Concept]: [What aspects of the tutorial it relates to]
Output: Tiered prerequisites checklist
Goal: Provide a reproducible environment configuration path so the reader is fully set up before starting the core steps.
Steps:
Tool name Version requirement (e.g., >= x.y) | Purpose **macOS**:
# Install xxx (via Homebrew)
brew install xxx
**Linux (Ubuntu/Debian)**:
# Install xxx (via apt)
sudo apt update && sudo apt install -y xxx
# Verify installation
xxx --version
# Expected output: xxx x.y.z
YOUR_API_KEY) and explain how to obtain the real valueOutput: OS-specific installation and configuration guide + verification commands
Goal: Walk the reader through the core operations in a progressive structure, where each step can be independently verified.
Steps:
#### Step N: [Step Title]
**Objective**: [What state is achieved after this step]
**Actions**:
[Code block or operational instructions]
**Explanation**:
- [Line-by-line or section-by-section explanation of key parts]
**Verification**:
[What command to run / what result to check to confirm success]
Expected output: [Specific expected result]
bash, python)YOUR_PROJECT_NAME) and are explained on first occurrenceOutput: Numbered step list, each containing actions + explanation + verification
Goal: Anticipate problems the reader may encounter and provide a direct path from error message to solution.
Steps:
**Error N: [Error message summary]**
Full error message:
[Actual error output]
Cause: [One-sentence explanation of why this error occurs]
Solution:
[Specific fix commands or steps]
Verify the fix:
[What to run to confirm the issue is resolved]
sudo or chmod 777chmod 777, disabling firewalls)Output: Structured troubleshooting table
Goal: Point readers who have completed the basics toward next steps, providing a learning path from beginner to advanced.
Steps:
**Direction N: [Topic Name]** | Difficulty: [Intermediate/Advanced]
[Short paragraph]
Recommended resources:
- [Resource name] ([Type: documentation/book/course])
Output: Advanced learning roadmap + hands-on project suggestions + best practices
Goal: Distill the tutorial's essentials into a one-page quick reference for everyday use.
Steps:
# [Technology Name] Cheatsheet
## Environment Info
| Item | Command/Path |
|------|--------------|
| Install | `command` |
| Version check | `command` |
| Config file location | `path` |
## Common Commands
| Action | Command | Description |
|--------|---------|-------------|
| xxx | `xxx` | xxx |
## Common Code Snippets
[Up to 5 frequently used code snippets, each no more than 10 lines]
## Quick Troubleshooting
| Symptom | Possible Cause | Quick Fix |
|---------|---------------|-----------|
| xxx | xxx | `xxx` |
Output: One-page cheatsheet
Goal: Assemble the outputs from the previous seven phases into a complete tutorial document.
Tutorial document template:
# [Technical Topic] Complete Tutorial
> Last updated: [Current date] | Applicable version: [Version number]
> Difficulty: [Beginner/Intermediate/Advanced] | Estimated time: [N hours/minutes]
## Tutorial Overview
[Phase 1 metadata summary — what the reader will be able to do after completion]
## 1. Prerequisites
[Phase 2 prerequisites checklist]
## 2. Environment Setup
[Phase 3 installation and configuration guide]
## 3. Core Steps
[Phase 4 numbered step list]
## 4. Troubleshooting
[Phase 5 troubleshooting table]
## 5. Advanced Topics
[Phase 6 advanced roadmap and hands-on projects]
## 6. Cheatsheet
[Phase 7 cheatsheet]
## Appendix
- Glossary (if domain-specific terminology is used, list in a table: Term | Definition)
- Reference links (official documentation, community resources, etc.)
Document output requirements:
YOUR_XXX format and are explained on first occurrenceChoose the mode based on the level of detail in the user's input:
| User Input | Mode | Behavior |
|------------|------|----------|
| Just a technology name (e.g., "Docker tutorial") | Guided mode | Execute Phase 1 questions, wait for answers before continuing |
| Specific goal (e.g., "Deploy a Node.js app with Docker") | Semi-auto mode | Ask 1–2 key questions while simultaneously planning the steps |
| Detailed description (includes audience, environment, goal) | Full-auto mode | Start output directly from Phase 2 |
| User says "just write it / don't ask" | Quick mode | Output the complete tutorial based on default assumptions |
Before outputting the final tutorial, check each item:
chmod 777)If the user provides feedback on the tutorial:
This tutorial generator is suitable for the following types of technical tutorials:
Take zebbern/dev-guide-generator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference brew.
Without those the skill loads but fails at the first command.