Test a learner on a single Claude Code tutorial lesson (01-10) with 10 questions, scoring answers and flagging weak spots. Use before, during, or after a lesson. Don't use for whole-tutorial assessment or explaining a topic instead of testing it.
Interactive quiz that tests understanding of a specific Claude Code lesson with 10 questions, provides per-question feedback, and identifies areas to review.
Prerequisites
This skill requires:
The tutorial repo checked out, so the lesson directories 01-slash-commands/ … 10-cli/ and each README.md are readable.
references/question-bank.md present in this skill (the source of all questions).
Before starting, confirm the target lesson's README.md exists. If it is missing, do not fabricate questions — warn the user and ask them to check the repository structure (see Error Handling).
Guardrails:
Never invent questions or answers. Ask only questions drawn from references/question-bank.md for the selected lesson; if the bank lacks entries for a lesson, say so rather than making them up.
Score accurately. Track which shuffled position holds the correct answer for every question and validate each response against it — never guess a score.
Confirm timing before scoring. The pre/during/after choice changes how results are framed; do not skip it.
Instructions
Step 1: Determine the Lesson
If the user provided a lesson as an argument (e.g., /lesson-quiz hooks or /lesson-quiz 03), map it to the lesson directory:
Read the lesson README.md file to refresh context:
Read file: <lesson-directory>/README.md
Then use the question bank from references/question-bank.md for that lesson (10 pre-written questions with answers and explanations). To stay within the context budget, read only the one selected lesson's README — not all ten.
Step 3: Present the Quiz
Ask the user about quiz timing context:
Use AskUserQuestion (header: "Timing"):
"When are you taking this quiz relative to the lesson?"
Options:
"Before (pre-test)" — I haven't read the lesson yet, testing my prior knowledge
"During (progress check)" — I'm partway through the lesson
"After (mastery check)" — I've completed the lesson and want to verify understanding
This context affects how the results are framed (see Step 5).
Step 4: Present Questions in Rounds
Present 10 questions from the question bank in rounds of 2 questions each (5 rounds total). Each question uses AskUserQuestion with the question text and 3-4 answer options.
IMPORTANT: Use AskUserQuestion with max 4 options per question, 2 questions per round.
For each round, present 2 questions. After the user answers each round, immediately show per-question feedback: whether each answer was correct or incorrect, and if incorrect, show the correct answer and a brief explanation. Then proceed to the next round. After all 5 rounds, proceed to final scoring.
Question format per round:
Each question from the question bank has:
question: The question text
options: 3-4 answer choices (one correct, labeled in the bank)
correct: The correct answer label
explanation: Why the answer is correct
category: "conceptual" or "practical"
CRITICAL — Shuffle answer options: For each question, you MUST randomize the order of the answer options before presenting them via AskUserQuestion. Do NOT present them in the order they appear in the question bank (A, B, C, D), and do NOT place the correct answer first. Use a different random permutation for each question. Track which shuffled position contains the correct answer so you can score accurately.
Example: If the question bank lists options A (correct), B, C, D — you might present them as: C, A, D, B. The correct answer is now in position 2.
Present each question using AskUserQuestion. Record the user's answer for each.
Step 5: Score and Present Results
After all rounds, calculate the score and present results.
0-2: Not yet — Start from the beginning of this lesson
Output format: Follow the report template in references/results-template.md. It defines the score line, the per-question results table, the "Incorrect Answers — Review These" block, the timing-specific message (pre-test / during / after), and the "Recommended Next Steps" section. Fill its bracketed placeholders with this run's data.
Step 6: Offer Follow-up
After presenting results, use AskUserQuestion:
"What would you like to do next?"
Options:
"Retake this quiz" — Try the same lesson quiz again
"Quiz another lesson" — Switch to a different lesson
"Explain a topic I missed" — Get a detailed explanation of an incorrect answer
"Done" — End the quiz session
If Retake: Go back to Step 4 (skip timing question, use same timing).
If Quiz another lesson: Go back to Step 1.
If Explain a topic: Ask which question number, then read the relevant section from the lesson README.md and explain it with examples.
Acceptance Criteria
A completed quiz run must satisfy all of these — verify each before presenting final results:
Exactly one lesson (01-10) was resolved before any question was asked.
The timing context (before / during / after) was captured via AskUserQuestion.
10 questions from references/question-bank.md for that lesson were presented, in 5 rounds of 2, with answer options shuffled per question.
Every answer was scored against the tracked correct-position, producing an integer score in the range 0-10.
Expected output: a ## Lesson Quiz Results report containing the score line (Score: N/10 with a grade label), the per-question results table, an "Incorrect Answers — Review These" block for each miss, and a timing-specific message.
The follow-up prompt (retake / another lesson / explain / done) was offered.
Example: for a 7/10 "after" run on Hooks, the report asserts Score: 7/10 — Proficient, lists all 10 rows in the results table, and expands the 3 incorrect questions with correct answer, explanation, and a review pointer.
Edge Cases & Error Handling
Invalid lesson argument
If the argument doesn't match any lesson, show the valid lesson list and ask the user to pick one.
User wants to quit mid-quiz
If the user indicates they want to stop during any round, present partial results for the questions answered so far (score out of the number attempted, not out of 10).
Lesson README not found
If the README.md file doesn't exist at the expected path, inform the user and suggest checking the repository structure. Do not proceed with fabricated content.
Question bank missing entries for a lesson
If references/question-bank.md has no questions for the resolved lesson, tell the user and stop — never invent questions to fill the gap.
Go from typing claude to orchestrating agents, hooks, skills, and MCP servers — with visual tutorials, copy-paste templates, and a guided learning path.
You installed Claude Code. You ran a few prompts. Now what?
The official docs describe features — but don't show you how to combine them. You know slash commands exist, but not how to chain them with hooks, memory, and subagents into a workflow that actually saves hours.
There's no clear learning path. Should you learn MCP before hooks? Skills before subagents? You end up skimming everything and mastering nothing.
Examples are too basic. A "hello world" slash command doesn't help you build a production code review pipeline that uses memory, delegates to specialized agents, and runs security scans automatically.
You're leaving 90% of Claude Code's power on the table — and you don't know what you don't know.
How Claude How To Fixes This
This isn't another feature reference. It's a structured, visual, example-driven guide that teaches you to use every Claude Code feature with real-world templates you can copy into your project today.
Official Docs
This Guide
Format
Reference documentation
Visual tutorials with Mermaid diagrams
Depth
Feature descriptions
How it works under the hood
Examples
Basic snippets
Production-ready templates you use immediately
Structure
Feature-organized
Progressive learning path (beginner to advanced)
Onboarding
Self-directed
Guided roadmap with time estimates
Self-Assessment
None
Interactive quizzes to find your gaps and build a personalized path
What you get:
10 tutorial modules covering every Claude Code feature — from slash commands to custom agent teams
Copy-paste configs — slash commands, CLAUDE.md templates, hook scripts, MCP configs, subagent definitions, and full plugin bundles
Mermaid diagrams showing how each feature works internally, so you understand why, not just how
A guided learning path that takes you from beginner to power user in 11-13 hours
Built-in self-assessment — run /self-assessment or /lesson-quiz hooks directly in Claude Code to identify gaps
Take the self-assessment quiz or run /self-assessment in Claude Code. Get a personalized roadmap based on what you already know.
2. Follow the guided path
Work through 10 modules in order — each builds on the last. Copy templates directly into your project as you learn.
3. Combine features into workflows
The real power is in combining features. Learn to wire slash commands + memory + subagents + hooks into automated pipelines that handle code reviews, deployments, and documentation generation.
4. Test your understanding
Run /lesson-quiz [topic] after each module. The quiz pinpoints what you missed so you can fill gaps fast.
Installation note: Starting in v2.1.113, Claude Code ships as a native per-platform binary (macOS/Linux/Windows). The recommended install is the native installer (curl -fsSL https://claude.ai/install.sh | bash); npm installation is deprecated in the official README; prefer the native installer, Homebrew (brew install --cask claude-code) or WinGet (winget install Anthropic.ClaudeCode). For reference, npm install -g @anthropic-ai/claude-code pulls the same native binary through a per-platform optional dependency at install time. As of v2.1.116, downloads come from https://downloads.claude.ai/claude-code-releases — corporate proxies must allowlist this host.
# 1. Clone the guide
git clone https://github.com/luongnv89/claude-howto.git
cd claude-howto
# 2. Copy your first slash command
mkdir -p /path/to/your-project/.claude/commands
cp 01-slash-commands/optimize.md /path/to/your-project/.claude/commands/
# 3. Try it — in Claude Code, type:
# /optimize
# 4. Ready for more? Set up project memory:
cp 02-memory/project-CLAUDE.md /path/to/your-project/CLAUDE.md
# 5. Install a skill:
cp -r 03-skills/code-review-specialist ~/.claude/skills/
Want the full setup? Here's the 1-hour essential setup:
Is this free?
Yes. MIT licensed, free forever. Use it in personal projects, at work, in your team — no restrictions beyond including the license notice.
Is this maintained?
Actively. The guide is synced with every Claude Code release. Current version: v2.1.310 (October 2026), compatible with Claude Code 2.1+.
How is this different from the official docs?
The official docs are a feature reference. This guide is a tutorial with diagrams, production-ready templates, and a progressive learning path. They complement each other — start here to learn, reference the docs when you need specifics.
How long does it take to go through everything?
11-13 hours for the full path. But you'll get immediate value in 15 minutes — just copy a slash command template and try it.
Can I use this with Claude Sonnet / Haiku / Opus?
Yes. All templates work with Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5.5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 5.5, and Claude Haiku 4.5.
Can I contribute?
Absolutely. See CONTRIBUTING.md for guidelines. We welcome new examples, bug fixes, documentation improvements, and community templates.
Can I read this offline?
Yes. Run uv run scripts/build_epub.py to generate an EPUB ebook with all content and rendered diagrams.
Start Mastering Claude Code Today
You already have Claude Code installed. The only thing between you and 10x productivity is knowing how to use it. This guide gives you the structured path, the visual explanations, and the copy-paste templates to get there.
MIT licensed. Free forever. Clone it, fork it, make it yours.
What: Model Context Protocol for accessing external tools and APIs
Examples:
github-mcp.json - GitHub integration
database-mcp.json - Database queries (point DATABASE_URL at a SELECT-only user; see read-only setup)
filesystem-mcp.json - File operations
multi-mcp.json - Multiple MCP servers
Installation:
# Set environment variables
export DATABASE_URL="postgresql://..."
# Add MCP server via CLI
claude mcp add --transport http github https://api.githubcopilot.com/mcp/ --header "Authorization: Bearer YOUR_GITHUB_PAT"
# Or add to project .mcp.json manually (see 05-mcp/ for examples)
Usage: MCP tools are automatically available to Claude once configured
Task Hooks: UserPromptSubmit, UserPromptExpansion, MessageDisplay, TaskCompleted, TaskCreated, TeammateIdle — TaskCompleted and TaskCreated only fire when the todo tools are enabled, which is available by default only on Claude 3.x models, Opus 4 through 4.7, Sonnet 4 through 4.6, and Haiku 4.5 (CLAUDE_CODE_ENABLE_TODO_TOOLS=1 restores them)
What: Bundled collections of commands, agents, MCP, and hooks
Examples:
pr-review/ - Complete PR review workflow
devops-automation/ - Deployment and monitoring
documentation/ - Documentation generation
Installation:
# From the repo root (this repo ships no marketplace, so /plugin install does not apply)
claude --plugin-dir ./07-plugins/pr-review
claude --plugin-dir ./07-plugins/devops-automation
claude --plugin-dir ./07-plugins/documentation
What: Save conversation state and rewind to previous points to explore different approaches
Key Concepts:
Checkpoint: Snapshot of conversation state
Rewind: Return to previous checkpoint
Branch Point: Explore multiple approaches from same checkpoint
Usage:
# Checkpoints are created automatically with every user prompt
# To rewind, press Esc twice or use:
/rewind
# Then choose from six options:
# 1. Restore code and conversation
# 2. Restore conversation
# 3. Restore code
# 4. Summarize from here
# 5. Summarize up to here
# 6. Never mind
What: Complete command-line interface reference for Claude Code
Quick Examples:
# Interactive mode
claude "explain this project"
# Print mode (non-interactive)
claude -p "review this code"
# Process file content
cat error.log | claude -p "explain this error"
# JSON output for scripts
claude -p --output-format json "list functions"
# Resume session
claude -r "feature-auth" "continue implementation"
Boris Cherny's Claude Code Workflow - The creator of Claude Code shares his systematized workflow: parallel agents, shared CLAUDE.md, Plan mode, slash commands, subagents, and verification hooks for autonomous long-running sessions.
Contributing
We welcome contributions! Please see our Contributing Guide for details on how to get started.
License
MIT License - see LICENSE. Free to use, modify, and distribute. The only requirement is including the license notice.
Last Updated: October 26, 2026
Claude Code Version: 2.1.310
Sources: