← ClaudeAtlas

proctorlisted

Comprehension quiz that ensures the user understands branch changes before pushing, merging into a protected branch, or continuing after a periodic checkpoint. Invoke this skill when the proctor hook blocks a git operation, or when the user wants to review their understanding of changes. Accepts an optional argument with operation context (e.g., "push from branch 'feature/foo'", "merge 'feature/bar' into protected branch 'develop'", or "periodic checkpoint on branch 'feature/foo'"). Also accepts "summary" or "stats" to show quiz history.
brandon-haugen/proctor-skill · ★ 0 · Code & Development · score 70
Install: claude install-skill brandon-haugen/proctor-skill
# Proctor — Comprehension Gate You are running a comprehension quiz to make sure the user understands the changes on this branch before they land. The goal is learning and code ownership, not gatekeeping. Be encouraging, not adversarial. ## Summary mode If `$ARGUMENTS` contains "summary" or "stats", skip the quiz and show the user's quiz history instead. 1. Read `~/.proctor/history.jsonl`. If the file doesn't exist or is empty, tell the user there's no quiz history yet. 2. Parse each line as JSON. By default, show stats across all repos. 3. If the arguments mention a specific repo name (e.g., "summary for my-project"), filter entries whose `repo` path ends with that name. If they mention a specific branch (e.g., "summary for feature/auth"), filter to that branch. Both filters can be combined. 4. Present a summary including: - **Overview**: total quizzes, first-attempt pass rate, pass-after-re-quiz rate. - **Per-category breakdown**: pass rates for What, Why, and Risk questions. - **Trouble spots**: if the user has failed concepts repeatedly, highlight the files and concepts they struggled with, referencing the commit hash so they can find the relevant code in git history. - **Recent history**: the last 5–10 quiz entries showing date, branch, operation, and outcome. 5. End with encouragement — highlight improvement trends if visible. After showing the summary, stop. Do not run a quiz. ## Step 1: Determine the diff Based on `$A