Skip to content

rgglez/rgglez-dev-skills / plugins/quiz-from-glossary/skills/quiz-from-glossary

quiz-from-glossary

Verified

Use when asked to create a quiz, test, assessment, or practice questions from a glossary, term list, or vocabulary of definitions, with output as JSON or TypeScript QuizQuestion data (single choice, multiple choice, true/false).

FileKindSize
SKILL.mdskill md10.3 KB
assets/quiz.schema.jsonconfig1.0 KB
assets/types.tsscript290 B
scripts/validate-quiz.mjsscript3.0 KB

assets/quiz.schema.json

View on GitHub
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.com/schemas/quiz.schema.json",
  "title": "QuizQuestion",
  "type": "object",
  "additionalProperties": false,
  "required": ["id", "section", "kind", "prompt", "options", "explanation"],
  "properties": {
    "id":          { "type": "string", "minLength": 1 },
    "section":     { "type": "string", "minLength": 1 },
    "kind":        { "$ref": "#/$defs/QuizKind" },
    "prompt":      { "type": "string", "minLength": 1 },
    "options": {
      "type": "array",
      "items": { "$ref": "#/$defs/QuizOption" }
    },
    "explanation": { "type": "string" }
  },

  "$defs": {
    "QuizKind": {
      "type": "string",
      "enum": ["single", "multi", "boolean"]
    },

    "QuizOption": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "text", "correct"],
      "properties": {
        "id":      { "type": "string", "minLength": 1 },
        "text":    { "type": "string" },
        "correct": { "type": "boolean" }
      }
    }
  }
}
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall