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.
74
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Interactive quiz that tests understanding of a specific Claude Code lesson with 8-10 questions, provides per-question feedback, and identifies areas to review.
This skill requires:
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:
references/question-bank.md for the selected lesson; if the bank lacks entries for a lesson, say so rather than making them up.If the user provided a lesson as an argument (e.g., /lesson-quiz hooks or /lesson-quiz 03), map it to the lesson directory:
Lesson mapping:
01, slash-commands, commands → 01-slash-commands02, memory → 02-memory03, skills → 03-skills04, subagents, agents → 04-subagents05, mcp → 05-mcp06, hooks → 06-hooks07, plugins → 07-plugins08, checkpoints, checkpoint → 08-checkpoints09, advanced, advanced-features → 09-advanced-features10, cli → 10-cliIf no argument was provided, present a selection prompt using AskUserQuestion:
Question 1 (header: "Lesson"): "Which lesson do you want to quiz on?" Options:
Question 2 (header: "Lesson"): "Which lesson do you want to quiz on? (continued)" Options:
If "More lessons..." is selected, present:
Question 3 (header: "Lesson"): "Select your lesson:" Options:
Read the lesson README.md file to refresh context:
<lesson-directory>/README.mdThen 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.
Ask the user about quiz timing context:
Use AskUserQuestion (header: "Timing"): "When are you taking this quiz relative to the lesson?" Options:
This context affects how the results are framed (see Step 5).
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 textoptions: 3-4 answer choices (one correct, labeled in the bank)correct: The correct answer labelexplanation: Why the answer is correctcategory: "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.
After all rounds, calculate the score and present results.
Scoring:
Grade scale:
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.
After presenting results, use AskUserQuestion:
"What would you like to do next?" Options:
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.
A completed quiz run must satisfy all of these — verify each before presenting final results:
references/question-bank.md for that lesson were presented, in 5 rounds of 2, with answer options shuffled per question.## 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.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.
If the argument doesn't match any lesson, show the valid lesson list and ask the user to pick one.
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).
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.
If references/question-bank.md has no questions for the resolved lesson, tell the user and stop — never invent questions to fill the gap.
Should trigger:
Should NOT trigger:
97fc961
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.