agentleFS
xiongxianfeixiongxianfei/skillsmith/skills/quiz-generator/SKILL.md

quiz-generator

Skill2 starsChanged 8 months agoMITView on GitHub

Quiz generator that creates source-grounded diagnostic quizzes with blueprints, objectives, answer keys, rationales, feedback, rubrics, and canonical JSON. Use for quizzes, diagnostic questions, comprehension checks, MCQs, short-answer items, assessment items, and feedback from notes, documents, code, courses, papers, or project material.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use course-description-analyzer, glossary-generator and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vishalsachdevSkill

    course-description-analyzer

    This skill analyzes or creates course descriptions for intelligent textbooks by checking for completeness of required elements (title, audience, prerequisites, topics, Bloom's Taxonomy outcomes) and providing quality scores with improvement suggestions. Use this skill when working with course descriptions in /docs/course-description.md that need validation or creation for learning graph generation.

    Also in 3 projects that use this

  • vishalsachdevSkill

    glossary-generator

    This skill automatically generates a comprehensive glossary of terms from a learning graph's concept list, ensuring each definition follows ISO 11179 metadata registry standards (precise, concise, distinct, non-circular, and free of business rules). Use this skill when creating a glossary for an intelligent textbook after the learning graph concept list has been finalized.

    Also in 3 projects that use this

  • jasonatcbSkill

    faq-generator

    為文件新增常見問題 (FAQ) 區塊。當用戶說「為某個文檔添加 FAQ」、「在文件中加入常見問題」、「生成 FAQ」或類似意圖時觸發此技能。使用方式:提供文檔路徑(如 docpath.md),技能會分析文檔內容,生成 2-3 個與主題相關的常見問題,並使用 zensical quote callout 格式添加到 ## 常見問題區塊中。

    Also in 3 projects that use this

  • +1 more from vishalsachdev

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 21 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 21

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create diagnostic and learning-oriented quiz questions from the user's supplied source material.

    line 13
  2. Distinctive:

    Use the user's supplied source as the factual base.

    line 15
  3. Distinctive:

    Use local references when useful:

    line 17
  4. Distinctive:

    Create a quiz blueprint covering:

    line 37
  5. Distinctive:

    Default assumptions when the user does not specify:

    line 47
  6. Distinctive:

    Every item maps to a learning objective.

    line 58
  7. Distinctive:

    Every answer key entry is correct for the supplied source or clearly marked inference.

    line 59
  8. Distinctive:

    Avoid ambiguous wording and multiple defensible answers unless the question is explicitly marked as multi-answer or discussion-based.

    line 61
  9. Distinctive:

    Do not create unsupported advanced questions from thin source material.

    line 63
  10. Distinctive:

    Do not provide medical, legal, financial, or high-stakes exam-prep guarantees.

    line 64
  11. Distinctive:

    Use a clear stem.

    line 68
  12. Distinctive:

    Avoid "all of the above" and "none of the above" by default.

    line 72
  13. Distinctive:

    If another skill can handle the flashcards, keep this skill focused on the quiz and let the flashcard skill provide its section.

    line 77
  14. Distinctive:

    If only this skill is active, use this compact fallback:

    line 79
  15. Distinctive:

    Keep the quiz and flashcard sections and JSON payloads separate.

    line 84
  16. Distinctive:

    Do not create a merged study-artifacts schema.

    line 85
  17. Distinctive:

    When source material is provided:

    line 89
  18. Distinctive:

    Do not present inferred or general background facts as source-grounded.

    line 93
  19. Distinctive:

    Avoid questions that require hidden context to answer.

    line 94
  20. Distinctive:

    If source material is too thin for the requested count or difficulty, say so and produce only supportable questions.

    line 95
  21. Distinctive:

    Use concise Markdown-compatible plain text.

    line 99

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Input

$ARGUMENTS

Core Standard

Create diagnostic and learning-oriented quiz questions from the user's supplied source material. Test more than recall when the source supports it: comprehension, contrast, application, prediction, diagnosis, transfer, and tradeoff judgment.

Use the user's supplied source as the factual base. Mark inferred or external context explicitly when the user asks for advanced or related questions beyond the source. Avoid unsupported details.

Use local references when useful:

  • references/learning-design.md for shared learning-design principles.
  • references/question-quality.md for quiz-specific quality checks.
  • schemas/quiz-item.schema.json as the reference contract for canonical JSON. The schema is documentation only; do not claim executable validation.

In canonical JSON, use "source" when the item is grounded directly in supplied material. Use "inferred" only when the user requested related or external context and the inference is clearly marked.

Workflow

  1. Identify quiz purpose, audience, source material, difficulty, question count, question types, and requested export format when provided.
  2. Extract learning objectives before writing questions.
  3. Build a compact knowledge map:
    • facts;
    • concepts;
    • procedures;
    • distinctions;
    • examples and non-examples;
    • prerequisites;
    • common misconceptions.
  4. Create a quiz blueprint covering:
    • objective coverage;
    • cognitive-level distribution;
    • question-type distribution;
    • difficulty distribution.
  5. Generate questions from the blueprint.
  6. Validate each item for objective alignment, source grounding, answerability, ambiguity, appropriate difficulty, useful feedback, and redundancy.
  7. Rewrite or drop failed items before returning the final quiz.
  8. Provide the requested export format when requested and feasible from portable text.

Default assumptions when the user does not specify:

  • Purpose: diagnostic learning quiz.
  • Audience: general professional learner.
  • Count: 7-10 questions, or fewer when the source cannot support that many useful questions.
  • Difficulty: mixed.
  • Output: Markdown plus canonical JSON.
  • Feedback: include answer key, rationales, and remediation unless the user asks for interactive mode.

Question Rules

  • Every item maps to a learning objective.
  • Every answer key entry is correct for the supplied source or clearly marked inference.
  • Difficulty should be effortful but answerable.
  • Avoid ambiguous wording and multiple defensible answers unless the question is explicitly marked as multi-answer or discussion-based.
  • Include application, prediction, diagnosis, or transfer items when appropriate.
  • Do not create unsupported advanced questions from thin source material.
  • Do not provide medical, legal, financial, or high-stakes exam-prep guarantees.

For MCQs:

  • Use a clear stem.
  • Provide one best answer unless multiple-select is explicitly requested.
  • Make distractors plausible but clearly wrong.
  • Avoid grammatical clues.
  • Avoid "all of the above" and "none of the above" by default.
  • Explain why each option is right or wrong.

Combined Flashcard And Quiz Requests

If another skill can handle the flashcards, keep this skill focused on the quiz and let the flashcard skill provide its section.

If only this skill is active, use this compact fallback:

  1. Extract shared learning objectives and one compact knowledge map.
  2. Produce the quiz using this skill's full output contract.
  3. Produce a compact flashcard fallback section with a deck summary, 3-5 atomic cards, and a separate flashcard JSON payload.
  4. Keep the quiz and flashcard sections and JSON payloads separate.
  5. Do not create a merged study-artifacts schema.

Source Boundaries

When source material is provided:

  • Ground factual questions and answers in that source.
  • Mark external or inferred context as inferred.
  • Do not present inferred or general background facts as source-grounded.
  • Avoid questions that require hidden context to answer.
  • If source material is too thin for the requested count or difficulty, say so and produce only supportable questions.

Output Format

Use concise Markdown-compatible plain text. No emoji.

Quiz blueprint

  • Purpose: <purpose>
  • Audience: <audience>
  • Source scope: <source summary>
  • Objective coverage: <objective-to-count mapping>
  • Cognitive levels: <distribution>
  • Question types: <distribution>
  • Difficulty: <distribution>

Learning objectives

  1. <objective>
  2. <objective>

Knowledge map

  • Facts: <items>
  • Concepts: <items>
  • Procedures: <items or none>
  • Distinctions: <items>
  • Examples/non-examples: <items or none>
  • Misconceptions: <items or none>
  • Prerequisites: <items or none>

Questions

  1. <question> - Type: <MCQ/short-answer/etc.> - Objective: <objective> - Cognitive level: <level> - Difficulty: <difficulty> - Answer: <answer> - Rationale: <why the answer is correct> - Feedback: <remediation or misconception note> - Source: <source/inferred reference>

Canonical JSON

{
  "quiz_title": "<title>",
  "purpose": "<purpose>",
  "audience": "<audience>",
  "source_scope": "<source summary>",
  "blueprint": {
    "objective_coverage": [{"objective": "<objective>", "count": 1}],
    "cognitive_levels": {"recall": 1, "comprehension": 1, "application": 1},
    "question_types": {"mcq": 1, "short_answer": 1},
    "difficulty": {"easy": 1, "medium": 1, "hard": 0}
  },
  "questions": [
    {
      "id": "Q1",
      "type": "mcq",
      "objective": "<objective>",
      "cognitive_level": "application",
      "difficulty": "medium",
      "stem": "<question>",
      "options": [
        {"id": "A", "text": "<option>", "is_correct": true, "rationale": "<why>"}
      ],
      "answer": "<answer>",
      "feedback": "<feedback>",
      "source": {"kind": "source", "reference": "<source location or summary>"}
    }
  ]
}

Requested export <Markdown, JSON, answer key, LMS-oriented text, or "Not requested">

Quality check <one concise line confirming objective alignment, source grounding, ambiguity check, feedback quality, and unsupported inference handling>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.