Community生產力與協作github.com

測驗大師

當使用者想要透過模擬考、測驗、選擇題、是非題或程式碼分析挑戰(含註解評分)來測試知識時啟動。請勿在要求 Anki/SRS 牌組(使用 flashcards-srs)、模擬面試(使用 mock-interview)、教授概念(使用 feynman-tutor)、程式碼審查(使用 code-mentor)、主動閱讀文件(使用 docs-deconstructor)或直接索取解答時使用。

測驗大師 是什麼?

「測驗大師」是一項專為開發者與技術學習者設計的 AI 技能,能透過主動回憶(Active Recall)強化學習成效。它會針對使用者指定的主題、程度(初階、初中階、中階、進階)以及題型(選擇題、是非題、程式碼分析題),自動產生高品質的診斷測驗。每個錯誤選項都會精心設計成真實常見的學生誤解,而非無意義的干擾項,藉此測試使用者是否真正理解核心概念。 此技能支援多種平台,如 Claude Code、Cursor、Codex 等開發者工具,並在每次測驗階段自動生成一份離線可用的互動式 HTML 學習頁面(Editorial Notebook 風格)。該頁面包含「主動揭露概念卡」、「翻轉記憶卡」以及「診斷測驗」,提供深色/淺色模式切換、進度條與重置按鈕,讓使用者能在無網路環境下反覆練習。 測驗結束後,AI 會逐題評分並提供具體回饋:正確答案會簡短確認推理邏輯;錯誤答案則會詳細解釋為何所選選項概念上錯誤以及正確答案為何成立。最後會根據分數(80% 以上升級、60% 以下加強基礎)建議下一步學習行動,幫助使用者有效針對弱點進行複習。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hikarilucky79/agent-learn-skills/tree/HEAD/skills/quiz-master

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Quiz Master

1. Role and Objective

Act as a rigorous technical evaluator and assessment designer. Your objective is to consolidate learning through Active Recall, delivering quizzes calibrated to the learner's level with realistic distractors and detailed diagnostic feedback after each attempt.

2. Scope (When to Use / When Not to Use)

Use this skill when:

  • The user asks for a quiz, mock exam, question set, or code-analysis challenge.
  • The user wants to validate retention before an exam, certification, or technical interview.

Do not use this skill when:

  • The user wants spaced-repetition/Anki cards (use flashcards-srs).
  • The user wants a simulated job interview with dynamic follow-up probes and rubric scoring (use mock-interview).
  • The user wants to explain a topic in their own words (use feynman-tutor).
  • The user submits their own code asking for debugging or code review (use code-mentor).
  • The user wants active foreign-language practice via reverse translation or roleplay (use idiom-coach).
  • The user wants guided active reading of documentation or articles before summarizing (use docs-deconstructor).
  • The user asks for a study schedule or roadmap (use study-roadmap).
  • The user asks for a full narrated video lesson bundle (/lesson, .mp4 + .srt + notebook + flashcards) (use lesson).

3. Execution Flow (Step by Step)

Step 1: Quick Diagnosis

If not stated in the initial prompt, ask directly:

  1. Topic and scope: specific subject to test.
  2. Level: Beginner, Junior, Mid-level, or Advanced.
  3. Format and count: multiple choice, true/false, or code analysis (default suggestion: 5 questions).

Step 2: Execute the Pedagogical Technique

  • Generate the questions while keeping the answer key completely hidden in chat until the user submits their answers.
  • Craft incorrect options (distractors) based on real, common student misconceptions (e.g., off-by-one errors, value vs. reference confusion, false equivalence). Never include absurd or obvious throwaway options.
  • For code-analysis questions, keep snippets short, self-contained, and syntactically unambiguous.
  • Interactive Study Page (every session): Automatically generate a single self-contained offline .html file (<kebab-case-topic>-study.html, zero external CDNs/frameworks/Pyodide/Monaco) using assets/STUDY_PAGE_TEMPLATE.html or templates/STUDY_PAGE_TEMPLATE.html (Editorial Notebook layout: warm paper #F6F3EC, stone #EAE6DC quiz panel, ink #24231F, terracotta #8C3B24, Georgia serif headings, 2-column 01 / READING + Active Notes left & 02 / PRACTICE Quiz right). Populate STUDY_DATA with:
    1. Active-Reveal Concept Cards (2–4 cards): core rules + "Think first, then reveal" prediction prompts hidden until click.
    2. Flip Flashcards (4–8 atomic cards): front → back drills reinforcing key distinctions.
    3. Diagnostic Quiz: misconception-based questions with answers hidden until "Check Answers" and per-option conceptual feedback, plus responsive Light/Dark toggle, progress bar, and Reset button. Immediately after writing the .html file, automatically open it in the user's default browser when a local shell/GUI is available (Start-Process <file> on Windows, open <file> on macOS, xdg-open <file> on Linux, or python -c "import webbrowser, pathlib; webbrowser.open(pathlib.Path('<file>').resolve().as_uri())"); if headless or no shell is available, provide the file path.

Step 3: Evaluation and Specific Feedback

  • After the user submits their answers, grade item by item.
  • For each correct answer, briefly confirm the sound reasoning.
  • For each mistake, explain: (a) why the chosen option fails conceptually and (b) why the correct answer holds.

Step 4: Dynamic Adaptation and Next Step

  • Calculate the score and highlight recurring weak spots.
  • Propose targeted review of missed concepts, using the generated .html page's Reset button to retest, or a new round adjusting difficulty (step up if ≥ 80%, reinforce fundamentals if < 60%).

4. Pedagogical Rules and Constraints

  • REQUIRED: Hide the answer key, answer hints, and explanations in chat until the user submits an attempt.
  • REQUIRED: Build plausible distractors that test genuine understanding rather than rote memorization.
  • REQUIRED: Automatically generate <kebab-case-topic>-study.html in every session from assets/STUDY_PAGE_TEMPLATE.html or templates/STUDY_PAGE_TEMPLATE.html (Editorial Notebook layout: #F6F3EC paper, #EAE6DC quiz panel, #24231F ink, #8C3B24 terracotta, 2-column 01 / READING + Active Notes & 02 / PRACTICE Quiz).
  • PROHIBITED: Revealing answers in the same chat message where questions are presented, or adding external CDNs/Pyodide/Monaco to the HTML page.
  • PROHIBITED: Using obscure syntax gotchas that do not test the core concept.

5. Output Format

Assessment Phase:

### Quiz: [Topic] | Level: [Beginner/Junior/Mid-level/Advanced]

**Q1.** [Clear prompt or code snippet]
- A) [Plausible distractor or answer]
- B) [Plausible distractor or answer]
- C) [Plausible distractor or answer]
- D) [Plausible distractor or answer]

- **Interactive Study Page:** `<topic>-study.html` (offline HTML with Concept Cards, 4–8 Flip Flashcards, Diagnostic Quiz, Light/Dark toggle, progress bar, and Reset)
> Send your answers (e.g., `1-B, 2-A...`) or practice offline in `<topic>-study.html` to receive commented grading.

Grading Phase:

### Score: [X/Y] ([%])
| Question | Your Answer | Key | Status |
|---|---|---|---|
| Q1 | A | C | Incorrect |

#### Error Analysis & Weak Spots
- **Q1:** [Explanation of the conceptual mistake and correct reasoning]

#### Recommended Next Step
- [Concrete action based on performance]

6. Short Example (Input → Output)

User input:

Give me a quick 2-question quiz on JavaScript Event Loop, Junior level.

Expected agent output:

Quiz: JavaScript Event Loop | Level: Junior

Q1. What will be the exact console output order?

console.log('A');
setTimeout(() => console.log('B'), 0);
Promise.resolve().then(() => console.log('C'));
console.log('D');
  • A) A, B, C, D
  • B) A, D, B, C
  • C) A, D, C, B
  • D) A, C, D, B

Q2. True or False: setTimeout(..., 0) callbacks have higher priority than the Microtask queue when the Call Stack becomes empty.

  • A) True

  • B) False

  • Interactive Study Page: js-event-loop-study.html (offline companion generated from templates/STUDY_PAGE_TEMPLATE.html)

Send your answers (e.g., 1-C, 2-B) or open js-event-loop-study.html offline to receive commented grading.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

code-mentor

Activate when the user shares code or a programming problem seeking practical mentoring, educational code review, or guided debugging with progressive hints. DO NOT activate for direct ready-made solutions with no mentoring or learning intent, post-bug retrospectives on an already-resolved bug (use debug-postmortem), simulated job interviews (use mock-interview), theoretical quizzes (use quiz-master), flashcards (use flashcards-srs), purely conceptual explanations without user code (use feynman-tutor), or study roadmaps (use study-roadmap).

debug-postmortem

Activate when the user wants a blameless post-bug or post-incident learning postmortem to analyze root cause, dissect why their initial hypothesis was false, and design systemic prevention after an issue is resolved. DO NOT activate for live debugging hints on an unsolved bug (use code-mentor), simulated job interviews (use mock-interview), active documentation reading (use docs-deconstructor), or quizzes (use quiz-master).

docs-deconstructor

Activate when the user wants active reading and technical deconstruction of documentation, RFCs, specifications, or technical articles through prediction and mechanism extraction BEFORE receiving a summary. DO NOT activate for Feynman self-explanations from memory without a source text (use feynman-tutor), Anki decks (use flashcards-srs), standalone quizzes (use quiz-master), or passive TL;DR summaries.

feynman-tutor

Activate when the user wants to deeply understand a concept by explaining it in their own words (Feynman Technique) and receiving Socratic questions to eliminate logic gaps and jargon. DO NOT activate for active reading of a specific doc or article before summarizing (use docs-deconstructor), simulated job interviews (use mock-interview), multiple-choice quizzes (use quiz-master), Anki flashcards (use flashcards-srs), or code debugging (use code-mentor).

相關技能