Chuyển đến nội dung
Skillpedia
Khác46k · #6318

lesson-quiz

Skill này làm gì

Nó cho agent của bạn một bài trắc nghiệm ngắn để kiểm tra những gì bạn học được từ một bài học trong hướng dẫn Claude Code. Nó dành cho người học muốn kiểm tra mức hiểu trước, trong hoặc sau khi học.

Khi nào nên dùng

  • ✓Khi bạn học xong một bài Claude Code và muốn kiểm tra những gì mình nhớ.
  • ✓Khi bạn muốn tự kiểm tra một bài học trước khi bắt đầu.
  • ✓Khi bạn muốn biết phần nào của bài học còn cần ôn lại.

Liên kết skill

https://github.com/luongnv89/claude-howto/blob/main/.claude/skills/lesson-quiz/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/luongnv89/claude-howto/blob/main/.claude/skills/lesson-quiz/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể quiz tôi về bài các lệnh slash và cho tôi biết các chủ đề nào nên ôn lại không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chọn câu hỏi từ ngân hàng câu hỏi cố định cho bài học đã chọn, hỏi từng câu một và chấm điểm từng câu trả lời. Sau đó nó liệt kê các điểm yếu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 c
Câu hỏi thường gặp

Nó có tự tạo câu hỏi không?

Không. Skill nói chỉ dùng câu hỏi từ ngân hàng câu hỏi của bài học đã chọn.

Nó bao gồm những bài nào?

Nó bao gồm bài 01 đến bài 10 của hướng dẫn, và các file hướng dẫn phải có sẵn trên máy.

Nó có thể quiz tôi về toàn bộ hướng dẫn không?

Không. Skill chỉ dành cho một bài học, không dùng để đánh giá toàn bộ hướng dẫn.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
46k
Vị trí xếp hạng
#6318
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự