Install
Unzip and copy the enclosed build-checkin folder to ~/.claude/skills/.
Bring a student's build history (project versions and their AI chat log). Get questions about the choices and bugs in that history, a cited instructor key, and a family note draft that quotes the student's own answers.
A question it wrote for Leo (fictional)“At version 2, the AI changed the score line and ran the test again. The test still failed with the same message. Why do you think that change didn't help?”
The instructor runs the skill, checks the evidence and reviews every draft. The student writes their own answers.
01 / Before the next class
Unzip and copy the enclosed build-checkin folder to ~/.claude/skills/.
Fill the context template. Supply a project folder and its build log, or an already extracted history.
Invoke /build-checkin for step 1. Give the student only the questions. Supply their answers for step 2.
For a class exercise, request a debug drill once the family has agreed that the bug may be used in class. For a list of each student's unresolved errors, run the included class-list helper.
02 / Fictional worked example
Leo's fictional jumping game restores a score incorrectly. The record shows an AI fix that failed, then a hand edit Leo reported. Open each draft to see what the instructor receives.
# Build Check-in · Step 1
Status: Draft for the instructor. Print only the Student questions part for the student.
## Student questions
Answer in your own words. No AI for this page. Short answers are fine.
1. In your second prompt, you told the AI the score went from 5 to 51 instead of 6. What did you see on the screen, and how did you know it was wrong?
2. At version 2, the AI changed the score line and ran the test again. The test still failed with the same message. Why do you think that change didn't help?
3. In your third prompt, you wrote "Don't change the code. Just tell me where to look." Why did you ask the AI for that, and not for another fix?
4. In your fourth prompt, you said you changed one line in game.js by hand. Walk me through how you picked that line.
5. The AI ran the test at the end and reported that it passed. What would you check to be sure Continue works when someone really plays the game?
## Instructor key
Q1 [prompt:2][result:test-1]: A good answer mentions what the student saw: the score showed 51 after Continue, when a saved 5 plus one hop should give 6. The test message was "expected 6 got 51". The history does not show what the student saw on screen, so this is the student's own account.
Q2 [git:ce3d07aec6e2:game.js][tool:edit-2][result:test-2]: A good answer mentions that the AI changed how one point is added (`state.score = state.score + 1` became `state.score += 1`). It then notes that the problem was somewhere else, in how the saved score was loaded before the point was added. The same "expected 6 got 51" message came back.
Q3 [prompt:3][result:test-2]: A good answer mentions that the student had seen the AI's fix fail ("Still 51") and wanted to find the problem themselves instead of getting another edit. The history does not show the AI's reply to prompt 3, so any reason is the student's own.
Q4 [prompt:4][git:37d62952a1d5:game.js]: A good answer mentions how the student found the line that loads the saved score (`resumeGame`, line 7). It also covers what they changed on that line (the saved value is wrapped in `Number(...)`) and why. The history shows only that the student reported this edit. How they found the line is not in the history.
Q5 [result:test-3][tool:write-test]: A good answer mentions a check beyond the test: play the game, reach a score, press Continue, hop once and look at the number. It may also mention trying other saved scores. The test was written by the AI and uses one saved score ("5"). The pass at the end is a recorded report, not a rerun.
## Private AI contribution note
AI contribution: The AI wrote game.js and test_game.js in version 1, including the line that loaded the saved score [tool:write-game][tool:write-test][git:d8e855fe79bb:game.js]. The AI ran the test, which failed with "expected 6 got 51" [result:test-1]. At version 2 the AI changed the `+ 1` line to `+= 1`, and the test failed again [git:ce3d07aec6e2:game.js][tool:edit-2][result:test-2]. The student reported the version 3 hand edit to the saved-score line, and the diff matches the report [prompt:4][git:37d62952a1d5:game.js]. A passing run was then recorded [result:test-3]. Unknown: who ran the test at version 3, since the history shows the student saying they ran it, and what the AI replied to prompt 3 (no reply is recorded). The README lines at version 1 are unknown or conflicting [git:d8e855fe79bb:README.md].
Instructor check: The version 3 hand edit is self-reported; the diff proves the text, not who typed it [prompt:4][git:37d62952a1d5:game.js]. The final pass is a recorded report, not an independent rerun [result:test-3]. Commit messages such as "Read the saved score as a number" are author claims, not evidence [git:37d62952a1d5:game.js]. There are no staff claims in the context. Consent for public use is missing, so nothing from this history should be used publicly. The student's surname is in the context and must stay off the printed page.
# Build Check-in · Step 2 Status: Draft. Not sent. The instructor reviews and approves before it goes to the family. ## Family note 1. Built: Leo is building Pixel Hop, a one-button jumping game where Continue brings back a saved score. 2. Fixed or explained: Leo reported changing one line by hand and wrote: "The saved score comes back as text so I put Number() around it." 3. The AI: The AI wrote the first version of the game and its test, and its first fix did not solve the problem. 4. Next: [instructor: add next week's step] 5. Reviewed by the instructor: ________ (required before sending) ## Instructor flags - A1: what Leo saw on screen is his account; the recorded test shows the same symptom [prompt:2][result:test-1]. - A4: the hand change is student-reported; the diff matches [prompt:4][git:37d62952a1d5:game.js] and the recorded test passed [result:test-3]. - A5: this is a proposed check, not an event in the history. The recorded AI test used one saved value [tool:write-test]. ## For you (the student) How I built it, in your own words: use this for project showcase or your GitHub README ### Version 1 [git:d8e855fe79bb:game.js] AI did: wrote the game and test; the test reported "expected 6 got 51" [tool:write-game][tool:write-test][result:test-1]. Answer A1, copied unchanged: > It showed 51 after Continue and one hop. I had 5 saved so I expected 6. ### Version 2 [git:ce3d07aec6e2:game.js] AI did: changed the score line; the recorded test still failed [tool:edit-2][result:test-2]. Answer A2, copied unchanged: > Because += 1 is the same as + 1. It was still adding to text. Answer A3, copied unchanged: > It had already tried a fix and it still said 51. I wanted to find the line myself. ### Version 3 [git:37d62952a1d5:game.js] Recorded fact: a passing test result was recorded; who ran the final test is unknown [result:test-3]. Answer A4, copied unchanged: > The saved score comes back as text so I put Number() around it. Then 5 + 1 is 6 and the test passed. Answer A5, copied unchanged: > I would save a different number, press Continue and hop once to see if it adds one.
# Debug Drill · 10 minutes
Status: Draft for the instructor. Anonymised. Classroom agreement: anonymised.
## 1. On the board (1 min)
A classmate's jumping game has a Continue button that should bring back the saved score and keep counting.
```js
function resumeGame(storage) {
return {
score: storage.getItem("score") || 0,
best: 0,
};
}
function addPoint(state) {
state.score = state.score + 1;
if (state.score > state.best) {
state.best = state.score;
}
return state;
}
```
The test saves a score with `({ score: "5" })`, presses Continue, then scores one point.
## 2. Predict first (1 min)
Before anyone runs it: the saved score is 5. What will the score be after one more point? Write your guess down.
## 3. What happened (1 min)
AssertionError: Continue then hop: expected 6 got 51. Compare it with your guess.
## 4. Try it alone (3-4 min)
Find the line that makes 5 plus one point come out as 51. No AI and no talking yet.
## 5. Write one sentence: why did it break? (1 min)
Everyone writes one sentence before any fix is shown.
## 6. Hint ladder (adult only)
For students stuck in step 4, one at a time, about a minute apart:
1. Where to look: the line in resumeGame that reads the saved score.
2. Trace or compare: What value comes back from storage, and what happens to that value when addPoint runs?
Only after everyone has written their sentence in step 5:
3. The fix: turn it into a number when it is read: `score: Number(storage.getItem("score")) || 0,`
## 7. Reveal: what the classmate actually did (2 min)
1. The AI wrote the game and its test. The first test run failed with "expected 6 got 51" [tool:write-game][tool:write-test][result:test-1].
2. The classmate told the AI the score went from 5 to 51 and asked it to fix it [prompt:2].
3. The AI changed `state.score = state.score + 1` to `state.score += 1`. The test still said 51 [tool:edit-2][git:ce3d07aec6e2:game.js][result:test-2].
4. The classmate then asked the AI only where to look, not for new code [prompt:3].
5. The classmate reported changing the saved-score line by hand to use Number(...). The diff matches, and the recorded test passed [prompt:4][git:37d62952a1d5:game.js][result:test-3].
## 8. Next week
A form reads an age from a text box and shows "age next year" with `const next = input.value + 1;`. With 13 typed in, what shows, and why? Answer for the adult: "131", because the box's value is text; `Number(input.value) + 1` gives 14.
# Debug Drill Status: Drill blocked. The family's classroom agreement is no. Ask the family before using this bug in class.
03 / Measured comparison
The same fictional histories went to Claude Sonnet 5.5 three times per arm. Questions and drills each used twelve cases, and step 2 used nine cases with answers. The selected rounds total 198 outputs across both arms. Plain-prompt counts are from the initial round. Skill question and drill counts follow the second-round fixes. Family and student-note counts follow the third step-2 round. These are historical results. These counts predate the separate 54-output held-out comparison. Read the held-out report and complete-rules baseline.
Rows about drill content count only drills that were made. Of 36 runs per arm, the skill declined all 15 runs without family agreement, leaving 21 (36 − 15). The plain prompt made drills in 8 of those 15 runs, giving 29 (21 + 8). The agreement row covers all 15 runs without permission.
| What was checked | Plain prompt | Skill |
|---|---|---|
| Family note credits the child with work the AI did or the history does not showFewer is better | 9 of 27 notes | 0 of 27 |
| A question gives away or hints at the fixFewer is better | 36 of 36 question sets | 0 of 36 |
| Drill made without the family's agreementFewer is better | 8 of 15 runs | 0 of 15 |
| Every question is tied to a moment in the student's own buildMore is better | 0 of 36 question sets | 36 of 36 |
| A question says the student did a step the AI tookFewer is better | 13 of 36 question sets | 2 of 36 |
| Instructor note credits the student with work the AI did or the history does not showFewer is better | 9 of 36 notes | 1 of 36 |
| Family note quotes the student's own words (when the answers are their own)More is better | 0 of 15 notes | 15 of 15 |
| Family note claims learning the answers do not show ("I don't know", vague, pasted AI text)Fewer is better | 2 of 12 notes | 0 of 12 |
| Family note waits for the instructor's approvalMore is better | 0 of 27 notes | 27 of 27 |
| Students predict before they see what happenedMore is better | 0 of 29 drills | 21 of 21 |
| Drill shows the fix before students write why it brokeFewer is better | 1 of 29 drills | 0 of 21 |
| Drill names the student or the projectFewer is better | 9 of 29 drills | 0 of 21 |
| Drill states events that did not happenFewer is better | 19 of 29 drills | 2 of 21 |
| Student showcase notes (their answers, for a project showcase) copy each answer complete and word for wordMore is better | not asked | 26 of 27 |
| Student showcase notes (their answers, for a project showcase) put a Hold line on top when an answer is flaggedMore is better | not asked | 6 of 6 |
All cases were written by the author and are fictional. No real student history has been tested. Ten of twelve cases use the same study-timer project, and eighteen of twenty-one skill drills use its bug. Reviewers who did not build the skill counted the outputs by hand. The skill was revised and rerun on these same cases. Those rounds had no held-out set or test on another model. The plain prompt was one line and was never given the rules for consent, quoting, approval, prediction or withholding the fix. Those rounds did not test a plain prompt with those rules. The counts do not establish classroom effectiveness.
Those historical rounds reported remaining errors. Two of thirty-six question sets credit an AI action to the student, one instructor note over-credits, and two of twenty-one drills invent events. One of twenty-seven family notes invents an AI explanation. One student note quotes a missing-answer marker as an answer. Sixteen of twenty-one drills give the cause in hint 2 before students write an explanation, although they withhold the fix. A stricter reading would flag nine student-note runs that omit a recorded AI test run. Every draft needs instructor review.