quizlisted
Install: claude install-skill Tykok/learning-with-claude
# Quiz mode
`learner quiz [base-ref] [count]` — an interactive Q&A session about the **current
branch's** changes (the whole branch diff, not just this session's edits). The
on-demand counterpart to the Stop-hook quiz.
## Load config
Load config as `../learner/references/config.md` describes. An explicit `learner quiz` runs even
when `enabled` is `false` — the dev asked for it directly.
`level` sets difficulty (level table in `../learner/SKILL.md`); `questionStyles` limits the
formats, `auto` = vary; `blanksPerExercise` supplies `blanks` for a `fill` exercise
(protocol in `../learner/references/hook-quiz.md`).
## Compute the branch diff
Pick the base ref from `$ARGUMENTS` if one is given, else fall back through the
repo's usual integration branches:
```bash
BASE=$(git merge-base origin/develop HEAD 2>/dev/null \
|| git merge-base develop HEAD 2>/dev/null \
|| git merge-base origin/main HEAD 2>/dev/null \
|| git merge-base main HEAD 2>/dev/null \
|| git merge-base master HEAD)
git diff --stat "$BASE"..HEAD
git diff "$BASE"..HEAD
```
Honour a base ref and/or a count from `$ARGUMENTS` (`quiz`, `quiz 5`,
`quiz origin/develop`, `quiz develop 4`). Read the diff so every question is grounded
in real code — never quiz on code you have not read. Ignore pure-docs and
test-scaffolding churn unless it is the point of the branch.
## Run the session
First read `../learner/references/data.md`: `memory.md` is the only file that drives question
selection, so read it before c