Quiz
Generate a report on a completed change plus a quiz the user must pass before merging, to verify they actually understand what happened. Use after a long working session or big change, before merge/PR approval, or when the user says "quiz me on this change".From its SKILL.md
npx -y skills add junjunjunbong/into-the-unknown --skill quizAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.0 KB, as published. Nobody here has run it
Change Report & Quiz
No-input gate: if invoked with no arguments and the conversation doesn't already identify the change to report and quiz on (session, branch, or range), your entire response is one question asking for it. Do not write files, produce artifacts, or demonstrate on an invented example until it's named.
After a long session, the assistant may have accomplished more than the user realizes. Reading diffs gives only a light understanding, because much of the behavior depends on existing code paths the diff doesn't show. The quiz closes that gap: the user merges only after a perfect pass.
Step 1 — Establish what changed
Determine the scope: the session's work, a branch diff (git diff main...HEAD + git log main..HEAD --oneline), or a range the user names. Then read beyond the diff:
- For every changed function/interface, find its callers — the quiz's best questions live where old code now calls new behavior.
- Read
implementation-notes.mdif present: Deviations are guaranteed quiz material, because they're exactly what the user's mental model (the plan) doesn't contain. - Note behavior that changed implicitly: defaults, ordering, error types, performance characteristics.
Step 2 — Produce the report
Write to .unknowns/quiz-<topic>.html from templates/quiz-template.html — a self-contained interactive page (report on top, quiz with grading at the bottom). Use markdown + AskUserQuestion instead for small changes or on the user's preference.
Wire the template's feedback loop properly: give each report section an id anchor and set each question's data-section to the section that teaches it, so a miss links the reader back to the exact study material. Fill the "Cleared to merge" block with this change's real pre-merge steps (staging migration, flag state, blocked-on dependencies) — passing the quiz should hand the user their next actions, not just a score. Frame the quiz in the page as: not trivia — each question is a decision you'd have to make correctly during an incident or a review.
The report must give the user enough to pass honestly — it's study material, not a summary:
- Context — what problem this solves; how the affected area worked before.
- Intuition — the mental model of the new behavior: what triggers what, how data flows now. A small diagram (inline SVG) if flow changed.
- What was done — grouped by intent, not by file; each group with
file:linepointers. - Interactions with existing code — where the change relies on or alters existing paths; the non-obvious couplings. This is the section the diff can't show and the quiz will probe.
- What to watch — edge cases handled, edge cases deliberately NOT handled, Deviations from implementation-notes.
Step 3 — Write the quiz (5–8 questions)
Test behavior, not memory of the diff. Every question must trace to something that could bite in production or review.
Good question shapes:
- Behavior under input: "A request arrives with X while Y is in flight — what happens now, and what happened before this change?"
- Blast radius: "Which existing callers are affected by the change to
foo()?" - Failure/rollback: "The migration runs but the deploy rolls back — what breaks?"
- Deviation probe: one question per significant Deviation ("why does the retry use polling instead of the webhook the plan called for?")
- Boundary: "What happens at zero items / duplicate key / expired token?"
Banned: trivia (file names, line counts, function names), questions answerable by pattern-matching the report's headings, gotchas about wording.
Format: multiple choice (4 options) with plausible distractors — each wrong option should be what someone with a slightly wrong mental model would believe. 1–2 free-text questions are fine for the most important behaviors.
Step 4 — Grade honestly
- Check answers against the code, not against the report — if the report and code disagree, the code wins and the report gets fixed.
- For each wrong or shaky answer: explain the correct behavior with
file:linepointers, then later ask a fresh variant of that question (different scenario, same concept). Don't re-ask verbatim — recognition isn't understanding. - The bar is a perfect pass before merge. On a fail, offer a walkthrough of the weak area, then re-quiz the missed concepts.
- Meta-signal: if the user can't pass after a walkthrough, say so plainly — code the author can't explain is code reviewers can't review. Offer to simplify that area before merging.
Unknowns ledger (silent, but always updated)
.unknowns/ledger.md is the cross-session index of open unknowns. The file work is mandatory; talking about it is not.
- Start — always: if the file exists, read it silently. Don't re-ask what's already settled; do target what's open.
- End — always: if this pass opened or settled ANY unknown, write the delta to the file before finishing (create the file on its first real entry). This write is non-negotiable — skipping it is how continuity between sessions dies. If nothing opened or settled, leave the file alone.
- Chat side — quiet: keep ledger details out of chat, keep file upkeep agent-owned, and never block on it. At most one plain sentence of movement ("Settled: dense tables. Still open: conflict policy — defaulting to last-write-wins."), skipped when nothing moved. Mention a
U#only when it disambiguates. - What counts as settled: a perfect pass settles 'do I understand what was built'; each failed question reopens its topic until a fresh variant is answered correctly. Settled means the user said or confirmed it — writing it into a report does not count.