quiz
Skill8 starsChanged 4 months agoMITView on GitHub
Use when the user asks to be quizzed on — or to verify their understanding of — a PR, commit, branch, diff, spec, plan, or a generated visual-skills doc. Generates a comprehension-check HTML quiz grounded in the real source, and optionally grades free-text answers live in the terminal.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- TimCodes04/second-braintheir own version, first seen Sep 23, 2026
- qiao/quiztheir own version, first seen Sep 17, 2026
- ajitta/know-your-unknownstheir own version, first seen Sep 6, 2026
- simoncorry/foundrytheir own version, first seen Sep 4, 2026
- kubilaiswf/claude-tutortheir own version, first seen Sep 3, 2026
Used with
Projects with it also use progress, learn 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.
theaichimeraSkillprogress
Track evolving understanding of a topic through a sequence of documents
Also in 3 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 4 projects that use this
nicodianskSkillbrainstorm
Use when starting creative work - creating features, building components, adding functionality, or modifying behavior. Explores requirements through Socratic dialogue before any implementation.
Also in 3 projects that use this
VercelSkillsetup
Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- readwiseio/readwise-skills★ 318same name
- serenakeyitan/open-exam-skills★ 141same name
- kirilxd/claude-tutor★ 133same name
- alexiocassanifm/anthropic-certifications★ 40same name
- simoncorry/foundry★ 39same name
- joyehuang/skills★ 9same name
- ProjectAJ14/eklavya★ 9same name
- Aetheria-Labs1/storefront-skills★ 8same name
- ajitta/know-your-unknowns★ 2same name
- qiao/quiz★ 2same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- atlas-reviewSkill
- visual-atlasSkill
- visual-docSkill
- visual-recapSkill
- visual-specSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Required language guide: Before writing user-facing text, read $VISUAL_SKILLS_DIR/skills/shared/plain-language.md.
- Distinctive: line 29
Every question belongs to exactly one family:
- Distinctive: line 50
Every question carries a model answer (bold takeaway + bullets) and ≥1 citation grounding it in the source.
- Distinctive: line 73
Spec / plan markdown: read the file, then the code it references.
- Very specific: line 74
Generated visual-skills doc: read its JSON sidecar — the narrative the user actually read — plus the underlying code:
- Distinctive: line 84
If no sidecar exists, quiz from the HTML itself plus the repo.
- Very specific: line 129
When the user wants to be graded (they say so, or accept the offer), use the authored quiz.json — same questions, same model answers:
- Distinctive: line 132
Ask one question at a time.
- Distinctive: line 139
After the last question, give a per-question verdict — got it / partial / missed — and for each partial/miss, point back to the exact …
- Distinctive: line 141
Do not lecture between questions.
- Distinctive: line 146
No scoring persistence or gamification.
“Common” is measured: kept by at least 6 in 10 of the 15 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.
Files
Quiz
Turn a change, spec, or generated doc into an on-demand comprehension check — a self-contained HTML quiz page — and optionally grade the user's answers live. The other skills in this family present understanding; this one verifies it.
Tool location (resolved through the installer's ~/.claude/visual-skills symlink — re-run npm run skills:install if the repo moves):
VISUAL_SKILLS_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/visual-skills"Required language guide. Before writing user-facing text, read
$VISUAL_SKILLS_DIR/skills/shared/plain-language.md. Apply it to every authored field and live
reply.
The standard — what makes a question good
The dividing line is recall-without-understanding, not depth. Banned: anything answerable by ctrl-F or re-reading one line ("which file…", "how many…", "did we test…"). Wanted: questions that require a mental model. The test:
If the reader could answer it correctly while still being unable to explain the change to a colleague, the question is bad.
Every question belongs to exactly one family:
- system-fit — where this sits in the architecture, what it touches, what depends on it.
- rationale — why this approach over the alternative; what tradeoff was accepted.
- mechanism — how the important code actually works: the algorithm, the ordering, the
invariants. "Walk through what happens when X arrives", "why must A run before B", "what
breaks if these two steps swap". Attach the real snippet via
codeso the question renders beside the code it interrogates.
Count scales with the material — the floor is fixed, the ceiling moves:
| Material | Questions | Mix |
| One-file fix | 2–3 | mechanism + rationale (skip system-fit if trivial) |
| Medium PR / short spec | 4–6 | all three families |
| Large spec / multi-domain change | 8–12, in quiz-group themes | all three families |
Proportionality is YOUR job, not the linter's — the renderer can't see the source. If the source has many sections/diffs/domains and you wrote a handful of questions, the quiz under-covers the material: go back and add questions.
Every question carries a model answer (bold takeaway + bullets) and ≥1 citation grounding it in the source.
Red flags — you stopped too early
- A question a reader could answer by searching the diff text. Delete or deepen it.
- A model answer that restates the question instead of explaining the why/how.
- A citation-free answer, or one grounded in "the PR" instead of a file:lines or doc section.
- 3 questions for a 20-file change. Proportionality is the standard.
- The tool printed warnings — fix
quiz.jsonand re-render until the output is clean.
Workflow
- Identify the source and the output folder (
--outis a directory, absolute path:<target-repo>/.visual/quizzes/<short-label>). - Ground yourself in the source (this step is most of the work):
- Git target (PR / commit / branch / working tree): gather raw material with
cd "$VISUAL_SKILLS_DIR" && npx tsx bin/recap.ts --repo <ABS_REPO> <target flag> --emit-blocks <ABS_OUT>/raw-blocks.json, then read the changed code. For--commitand--branch, the working tree is NOT the target snapshot — read files withgit show <headRef>:<path>, never from the working directory. For--pr, the gather runsgh pr checkout, which switches the user's checkout to the PR branch — tell the user this happened. - Spec / plan markdown: read the file, then the code it references.
Generated visual-skills doc: read its JSON sidecar — the narrative the user actually read — plus the underlying code:
Doc Sidecar Shape recap.html / doc output blocks.jsonbare Block[]arrayspec.html spec.json{ blocks: [...] }envelopeatlas.html atlas.jsonenvelope domain-<slug>.html domain-<slug>.jsonenvelope If no sidecar exists, quiz from the HTML itself plus the repo.
- Git target (PR / commit / branch / working tree): gather raw material with
- Author
quiz.json— aQuizDoc:{ "kind": "quiz", "title": "Quiz — <label>", "source": "<what was quizzed>", "intro": "<one-paragraph markdown>", "blocks": [...] }. Order questions broad → specific. Group intoquiz-groupthemes when there are 7+. Render and open:
npx tsx bin/quiz.ts --blocks <ABS_OUT>/quiz.json --out <ABS_OUT> open <ABS_OUT>/quiz.html- Close the warnings. The renderer lints the blocks (question floor, missing
answers/citations, trivia patterns, single-family medium quizzes, dangling fragments).
Edit
quiz.jsonand re-render until clean. - Offer live mode: "Want me to quiz you live instead of (or after) the page?"
Block catalog
quiz-question — the core block:
{ "type": "quiz-question", "id": "q-order", "family": "mechanism",
"title": "Migration ordering",
"question": "Why must the schema migration land **before** the router change deploys?",
"code": { "type": "annotated-code", "id": "q-order-code", "title": "capture()", "lang": "ts",
"code": "const row = await db.order.update(...)", "annotations": [{ "line": 1, "note": "reads the new column" }] },
"answer": { "takeaway": "**The router selects the new column** — reversed order 500s on every capture.",
"points": ["`capture` selects `paidAt`, added by the migration", "deploy order: migration → app"] },
"citations": [{ "label": "src/router.ts:12-30", "file": "src/router.ts", "lines": "12-30" }] }family:"system-fit" | "rationale" | "mechanism"— exactly one.title: optional short sidebar label (defaults to "Question N").code/diagram: optional attachedannotated-code/diagramprimitives.citations: text, not links —labelis required;file+linesfor code, or a doc section name.fragmentmay name another block id in THIS quiz doc (the only linkable form).
quiz-group — a theme wrapper for large quizzes:
{ "type": "quiz-group", "id": "theme-capture", "title": "The capture path",
"description": "The core mechanism.", "blocks": [ …quiz-question/prose blocks… ] }prose — freeform markdown (context, instructions), same as the other skills.
Live mode — grading free-text answers
When the user wants to be graded (they say so, or accept the offer), use the authored
quiz.json — same questions, same model answers:
- Ask one question at a time; the user answers free-text in the terminal.
- Judge each answer against the model answer. Push back on shallow or wrong answers with
one follow-up probe before scoring — never accept vibes:
- A restatement of the question is not an answer.
- Require the why for rationale questions, the actual sequence/invariant for mechanism questions — "it handles the ordering" is a miss; "the migration must land first because the router selects the new column" is a hit.
- After the last question, give a per-question verdict — got it / partial / missed — and for each partial/miss, point back to the exact source (file:lines or doc section) to reread.
- Do not lecture between questions; grade at the end.
Scope
- On-demand only — never auto-generate a quiz as part of another skill's run.
- No scoring persistence or gamification.
- Sources: code changes, specs/plans, and this repo's generated docs — not general documents.
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
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.

