Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz Generator logo: a clipboard with a multiple-choice quiz

Quiz Generator

MCQs where the wrong answers are actually wrong for the right reasons.

License Claude Code plugin

Ask an LLM for multiple-choice questions and you tend to get a correct answer that's noticeably longer, more specific, or more "serious" sounding than the three distractors around it — guessable without knowing the subject at all. This skill is a set of writing rules that closes that gap: balanced option length, distractors that require real subject knowledge to eliminate, and a small script to check the result instead of just trusting it.

Get started in one minute

/plugin marketplace add Simooo45/quiz-generator
/plugin install quiz-generator@quiz-generator

Send these as two separate messages — the install only sees the marketplace once the first one has landed. Then just ask for what you want:

"Write 10 MCQs on photosynthesis for a high-school bio quiz"

and Claude reaches for the skill on its own — or invoke it directly with /quiz-generator:quiz-generator. Prefer not to touch the plugin system at all? Jump to manual install, it's one cp.

What it actually fixes

The most common tell in a generated question bank: the correct option runs longer than the other three, because it's the one built from a real, dense fact and the distractors are filler. Once you know to check for that, it's an easy pattern to write around — but nobody writing a hundred questions by hand keeps it in mind on every single one. This skill keeps you honest: length and register balanced across all options, distractors that need subject knowledge (not tone or absurdity) to rule out, and a role-swap technique for the "these two are basically the same" trap, which is the hardest distractor shape to fake convincingly.

scripts/verify-quiz.mjs runs the length check for real, on a plain JSON export of your question bank, zero dependencies:

node scripts/verify-quiz.mjs questions.json

Manual install, no plugin system

Skills work the same whether they come from a plugin or sit directly in a skills folder:

git clone https://github.com/Simooo45/quiz-generator.git
cp -r quiz-generator ~/.claude/skills/quiz-generator   # available in every project
# or
cp -r quiz-generator .claude/skills/quiz-generator     # this project only

Invoke it as /quiz-generator.

License

MIT — see LICENSE.

About

Claude Code skill for writing exam-style multiple-choice questions. Rules for balanced-length options and distractors that need real subject knowledge to rule out, not tone or absurdity, plus a zero-dependency script that checks a question bank for length imbalance and structural errors.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages