agentleFS
junjunjunbongjunjunjunbong/into-the-unknown/skills/quiz/SKILL.md

quiz

Skill0 starsChanged 5 months agoMITView on GitHub

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".

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use progress, learn and 1 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.
  • theaichimeraSkill

    progress

    Track evolving understanding of a topic through a sequence of documents

    Also in 3 projects that use this

  • genomewalkerSkill

    learn

    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

  • VercelSkill

    setup

    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

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read implementation-notes.md if present: Deviations are guaranteed quiz material, because they're exactly what the user's mental model (the …

    line 18
  2. Very specific:

    Write to .unknowns/quiz-<topic>.html from templates/quiz-template.html — a self-contained interactive page (report on top, quiz with …

    line 23
  3. Distinctive:

    Test behavior, not memory of the diff.

    line 37
  4. Distinctive:

    Check answers against the code, not against the report — if the report and code disagree, the code wins and the report gets fixed.

    line 52
  5. Distinctive:

    Start — always: if the file exists, read it silently.

    line 61

“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.

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

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.md if 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:

  1. Context — what problem this solves; how the affected area worked before.
  2. Intuition — the mental model of the new behavior: what triggers what, how data flows now. A small diagram (inline SVG) if flow changed.
  3. What was done — grouped by intent, not by file; each group with file:line pointers.
  4. 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.
  5. 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:line pointers, 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.

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.