lesson-quiz
できること
このスキルは、Claude Codeのチュートリアルの1つのレッスンで学んだことを確認する短いクイズを、エージェントに与えます。レッスンの前後や最中に理解を確かめたい学習者向けです。
使う場面
- ✓Claude Codeのレッスンを終え、覚えていることを確認したいとき。
- ✓レッスンを始める前に、自分を試したいとき。
- ✓レッスンのどの部分を復習すべきかを知りたいとき。
スキルのリンク
https://github.com/luongnv89/claude-howto/blob/main/.claude/skills/lesson-quiz/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“スラッシュコマンドのレッスンについてクイズを出し、復習すべき項目を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、選んだレッスンの決まった問題バンクから問題を選び、1問ずつ尋ねて、各回答を採点します。その後、弱点を一覧にします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Lesson Quiz
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 eachREADME.mdare readable. references/question-bank.mdpresent 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.mdfor 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:
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-cli
If no argument was provided, present a selection prompt using AskUserQuestion:
Question 1 (header: "Lesson"): "Which lesson do you want to quiz on?" Options:
- "Slash Commands (01)" — Custom commands, skills, frontmatter, arguments
- "Memory (02)" — CLAUDE.md, memory hierarchy, rules, auto memory
- "Skills (03)" — Progressive disclosure, auto-invocation, SKILL.md
- "Subagents (04)" — Task delegation, agent config, isolation
Question 2 (header: "Lesson"): "Which lesson do you want to quiz on? (continued)" Options:
- "MCP (05)" — External integration, transport, servers, tool search
- "Hooks (06)" — Event automation, PreToolUse, exit codes, JSON I/O
- "Plugins (07)" — Bundled solutions, marketplace, plugin.json
- "More lessons..." — Checkpoints, Advanced Features, CLI
If "More lessons..." is selected, present:
Question 3 (header: "Lesson"): "Select your lesson:" Options:
- "Checkpoints (08)" — Rewind, restore, safe experimentation
- "Advanced Features (09)" — Planning, permissions, print mode, thinking
- "CLI Reference (10)" — Flags, output formats, scripting, piping
Step 2: Read the Lesson Content
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 textoptions: 3-4 answer choices (one correct, labeled in the bank)correct: The correct answer labelexplanation: Why the answer is c
よくある質問
問題を作り出しますか?
いいえ。スキルは、選んだレッスンの問題バンクにある問題だけを使うよう定めています。
どのレッスンが対象ですか?
チュートリアルの01から10までのレッスンが対象で、チュートリアルのファイルがローカルで利用可能である必要があります。
チュートリアル全体のクイズはできますか?
いいえ。スキルは単一のレッスン向けで、チュートリアル全体の評価には対応していません。
詳細
作者による元の説明
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.
repo: luongnv89/claude-howto
人気
- GitHubのスター
- 46k
- ランキング
- #6318
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
self-assessment
46kClaude Codeの10の機能領域についてクイズを出し、トピック別の点数と、次に学ぶ内容の学習パスを示します。
blog-draft
46kアイデアと情報源からブログ記事を下書きする作業を、段階を追って案内します。各段階で版を追跡し、あなたの承認を得ながら進めます。
claude-md
46kエージェントがCLAUDE.mdファイルを作成・改善できるよう支援します。CLAUDE.mdは、AIエージェントにプロジェクトを紹介するガイドです。
code-review-specialist
46kチェックリストと明確な指摘事項を使い、コードのセキュリティ問題、性能の問題、保守性を確認します。