跳到主要内容

lesson-quiz 精选

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.

写作 Claude CodeMCP 客户端 v1.6.0 MIT 4.2 万
在 GitHub 打开

安装方式

cp -r .claude/skills/lesson-quiz ~/.claude/skills/lesson-quiz

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/luongnv89/claude-howto.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 依赖外部命令:go
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。

SKILL.md 正文

来源 luongnv89/claude-howto@065ab37 · 许可 MIT · 内容未修改

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 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:

Lesson mapping:

  • 01, slash-commands, commands → 01-slash-commands
  • 02, memory → 02-memory
  • 03, skills → 03-skills
  • 04, subagents, agents → 04-subagents
  • 05, mcp → 05-mcp
  • 06, hooks → 06-hooks
  • 07, plugins → 07-plugins
  • 08, checkpoints, checkpoint → 08-checkpoints
  • 09, advanced, advanced-features → 09-advanced-features
  • 10, 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:

  1. "Slash Commands (01)" — Custom commands, skills, frontmatter, arguments
  2. "Memory (02)" — CLAUDE.md, memory hierarchy, rules, auto memory
  3. "Skills (03)" — Progressive disclosure, auto-invocation, SKILL.md
  4. "Subagents (04)" — Task delegation, agent config, isolation

Question 2 (header: "Lesson"):

"Which lesson do you want to quiz on? (continued)"

Options:

  1. "MCP (05)" — External integration, transport, servers, tool search
  2. "Hooks (06)" — Event automation, PreToolUse, exit codes, JSON I/O
  3. "Plugins (07)" — Bundled solutions, marketplace, plugin.json
  4. "More lessons..." — Checkpoints, Advanced Features, CLI

If "More lessons..." is selected, present:

Question 3 (header: "Lesson"):

"Select your lesson:"

Options:

  1. "Checkpoints (08)" — Rewind, restore, safe experimentation
  2. "Advanced Features (09)" — Planning, permissions, print mode, thinking
  3. "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:

  1. "Before (pre-test)" — I haven't read the lesson yet, testing my prior knowledge
  2. "During (progress check)" — I'm partway through the lesson
  3. "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.

Scoring:

  • Each correct answer = 1 point
  • Total possible = 10 points

Grade scale:

  • 9-10: Mastered — Excellent understanding
  • 7-8: Proficient — Good grasp, minor gaps
  • 5-6: Developing — Fundamentals understood, needs review
  • 3-4: Beginning — Significant gaps, review recommended
  • 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:

  1. "Retake this quiz" — Try the same lesson quiz again
  2. "Quiz another lesson" — Switch to a different lesson
  3. "Explain a topic I missed" — Get a detailed explanation of an incorrect answer
  4. "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.

Validation

Triggering test suite

Should trigger:

  • "quiz me on hooks"
  • "lesson quiz"
  • "test my knowledge of lesson 3"
  • "practice quiz for MCP"
  • "do I understand skills"
  • "quiz me on slash commands"
  • "lesson-quiz 06"
  • "test me on checkpoints"
  • "how well do I know the CLI"
  • "quiz me before I start the memory lesson"

Should NOT trigger:

  • "assess my overall level" (use /self-assessment)
  • "explain hooks to me"
  • "create a hook"
  • "what is MCP"
  • "review my code"

质量与来源

所属仓库
luongnv89/claude-howto
仓库星标
4.2 万
最近更新
昨天
采集时间
今天
commit
065ab3734f64
内容指纹
sha256:adfe599fd3ac3fb
文件路径
.claude/skills/lesson-quiz/SKILL.md

同仓库其它 Skill

查看全部 25 个
self-assessment
Comprehensive Claude Code self-assessment and learning path advisor. Runs a multi-category quiz covering 10 feature areas, produces a detailed skill profile with per-topic scores, identifies specific gaps, and generates a personalized learning path with prioritized next steps. Use when asked to "assess my level", "take the quiz", "find my level", "where should I start", "what should I learn next", "check my skills", "skill check", or "level up".
精选 luongnv89/claude-howto 4.2 万 原文
Claude CodeMCP 客户端
blog-draft
Draft a blog post from ideas and resources. Use when users want to write a blog post, create content from research, or draft articles. Guides through research, brainstorming, outlining, and iterative drafting with version control.
精选 luongnv89/claude-howto 4.2 万 原文
Claude CodeMCP 客户端
brand-voice
Ensure all communication matches brand voice and tone guidelines. Use when creating marketing copy, customer communications, public-facing content, or when users mention brand voice, tone, or writing style.
精选 luongnv89/claude-howto 4.2 万 原文
Claude CodeMCP 客户端
claude-md
Create or update CLAUDE.md files following best practices for optimal AI agent onboarding
精选 luongnv89/claude-howto 4.2 万 原文
Claude CodeMCP 客户端
code-review-specialist
Comprehensive code review with security, performance, and quality analysis. Use when users ask to review code, analyze code quality, evaluate pull requests, or mention code review, security analysis, or performance optimization.
精选 luongnv89/claude-howto 4.2 万 原文
Claude CodeMCP 客户端
doc-generator
Generate comprehensive, accurate API documentation from source code. Use when creating or updating API documentation, generating OpenAPI specs, or when users mention API docs, endpoints, or documentation.
精选 luongnv89/claude-howto 4.2 万 原文
Claude CodeMCP 客户端

相似 Skill

更多「写作」
interview-prep
Prepares the user for a specific interview from their real experience. Builds a story bank in Situation/Task/Action/Result/Reflection form mapped to the competencies the role and company test (such as Amazon's Leadership Principles), writes a cited company and role brief from public sources, predicts questions per round, drafts opener, why-us, weakness and salary answers, prepares questions to ask and a logistics checklist, and runs a post-interview debrief. Use when the user says "help me prepare for my interview", "I have an interview tomorrow" or "in 2 hours", "build my story bank", "STAR stories", "interviewing as a career changer", "what will they ask me", "how do I answer tell me about yourself", "questions to ask the interviewer", "research the company" or "debrief my interview". Uses Reactive Resume MCP tools when connected. For scored role-play practice, mock-interview; for thank-you notes and tracking, job-application-manager; for a salary number, offers or negotiation, offer-negotiation.
精选 reactive-resume/reactive-resume 4.4 万 原文
Claude CodeCodex CLIGemini CLI
job-application-manager
Runs the job-search pipeline. Adds jobs from a link or pasted posting, keeps stages and dates accurate, sets follow-ups, runs a weekly review (stale applications, next actions, funnel stats), records the exact resume version sent, and drafts networking, LinkedIn, referral, recruiter-reply, follow-up, thank-you, status-check, expedite and withdrawal messages without sending them. Use when the user says "add this job to my tracker", "I applied", "log my interview", "I got rejected", "I was ghosted", "log my offer", "track my applications", "do my weekly review", "what should I follow up on", "write a thank-you note", "message this recruiter", "ask for a referral", "withdraw my application", or wants a job-search spreadsheet. Works with a Markdown/CSV tracker or Reactive Resume MCP tools. Not for resume work (resume-tailor, resume-bullet-writer, resume-content-guide), interview prep or practice (interview-prep, mock-interview), or judging, negotiating, accepting or declining an offer (offer-negotiation).
精选 reactive-resume/reactive-resume 4.4 万 原文
Claude CodeCodex CLIGemini CLI
mock-interview
Runs a mock interview for a specific job description. Plays the interviewer in a chosen round (recruiter screen, hiring manager, behavioral, coding, system design, case, product sense, panel), persona and difficulty; asks one question at a time, probes vague answers, and gives quote-backed rubric scores after each answer (coach mode) or at the end (realistic). Model answers use only the user's real experience. Use when the user says "mock interview me", "interview me for this job", "practice interview", "pretend you're the interviewer", "grill me for this role", "run a behavioral round", "quick recruiter screen", "hiring-manager mock", "system design mock" or "case interview practice". With Reactive Resume MCP it reads the application and stories and logs the session. For a story bank, company brief, questions to ask or a real-interview debrief, interview-prep; for scheduling or thank-you notes, job-application-manager; for fixing the resume, resume-tailor; for negotiation practice, offer-negotiation.
精选 reactive-resume/reactive-resume 4.4 万 原文
Claude CodeCodex CLIGemini CLI
offer-negotiation
Evaluates and negotiates job offers. Decodes base, bonus, equity, sign-on, level and terms with unknowns kept unknown and each offer in its own currency, benchmarks against checkable pay data, finds true leverage, drafts one counter as email and call script, role-plays the recruiter, and handles the salary-expectations number, deadlines and extensions, "best and final", competing offers, counteroffers and written acceptance or decline. Country-aware (India CTC, 13th-month pay, public-sector scales). Use when the user says "I got an offer of...", "is this offer good", "should I negotiate", "how do I counter", "compare my offers", "what is my equity worth", "they asked my salary expectations", "they want an answer by Friday", "can I ask for more time", "should I accept" or "practice the negotiation call". Uses Reactive Resume MCP tools when connected. For logging the offer, its deadline and withdrawal notes, job-application-manager; for other interview answers, interview-prep.
精选 reactive-resume/reactive-resume 4.4 万 原文
Claude CodeCodex CLIGemini CLI
resume-builder
Builds a complete resume from scratch as Reactive Resume JSON that conforms to the schema and imports at https://rxresu.me. Asks for each missing detail instead of inventing it, then produces valid JSON (UUIDs, HTML descriptions, template and layout). Use when the user wants to create, build or generate a new resume, turn their work history into Reactive Resume JSON, or asks about the Reactive Resume schema, sections, templates or layout. For what belongs on a resume or a resume audit use resume-content-guide; for rewriting bullets, resume-bullet-writer; for fitting one job posting, resume-tailor; for tracking applications, job-application-manager; for interviews, interview-prep or mock-interview.
精选 reactive-resume/reactive-resume 4.4 万 原文
Claude CodeCodex CLIGemini CLI
resume-bullet-writer
Turns resume duties into truthful impact bullets. Questions the user role by role to dig out achievements, asks for real numbers or honest ranges (never invents them), and writes concise bullets in XYZ, CAR, scope or qualitative form. Use when the user says "rewrite my bullets", "make this bullet stronger", "quantify my resume", "turn my duties into achievements", "improve my experience section", "my resume sounds boring", "I don't have any numbers", pastes resume lines for feedback, or works in a low-number job (nursing, teaching, care, trades, admin, creative). With the Reactive Resume MCP server connected, it edits experience, project, volunteer and education descriptions with apply_resume_patch after the user approves. Use resume-content-guide instead for which sections or details belong and for summaries or headlines, resume-tailor to fit one job posting, interview-prep or mock-interview for interview stories and practice, and resume-builder to build a resume from scratch.
精选 reactive-resume/reactive-resume 4.4 万 原文
Claude CodeCodex CLIGemini CLI