Code Understanding Coach: an agent skill that quizzes you on AI-written code
The Code Understanding Coach is an agent skill[1] for checking whether you really understand your own project's code; its author built it after finding that agent-written code often works but leaves them unable to answer what would happen in a given situation. You start it by asking it to check your understanding of the whole project or of one feature, such as the login functionality.
It reads the actual code and asks one question at a time — not about memorizing function names, but about what happens when a request arrives in a given order, and why. Each answer is compared against the real code and rated as understood, partially understood, misunderstood or deferred judgment, with evidence cited as file and line numbers. Wrong answers get an explanation, then the same principle is asked again in a different situation; repeating the explanation word for word does not count as understanding. Saying "stop" ends the session with a summary of areas covered, areas not covered and places worth revisiting.
The skill is read-only — it modifies no code, runs nothing, issues no Git commands and stores nothing — and needs no separate CLI, hooks or API keys; installation is npx skills add WooHey-P/code-understanding-coach, and the Claude Code or Codex session you already use asks the questions and does the grading. The author validated it with 15 conversation scenarios on a synthetic example project — correct, partial and wrong answers, "I don't know", a request to just pass, and code changes mid-conversation — run once each in Claude Code and Codex; an early Codex run accepted a "just pass" request, so the skill was fixed and rerun. The author names two limitations: the same agent asks and grades, so answer criteria cannot be fully hidden, and read-only is an instruction rather than a sandbox[2]. The idea came from Sphinx, which asks a separate evaluation model[3] about understanding at git push time; this project instead checks the whole current code at feature level in natural language rather than diffs[4], and is released under the MIT license.
Read the original news.hada.io
Sources
-
KRGeekNews KO
Show GN: Code Understanding Coach – AI가 짠 코드, 내가 정말 이해하고 있는지 점검해주는 에이전트 스킬


