/rubber-duck-tutor:duck-verifyfrom rubber-duck-tutor
Guides a rubber-duck code verification session where the user explains recent changes, finds edge cases, and fixes planted bugs. Use after implementing a feature or when asked to double-check code.
Ships in rubber-duck-tutor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read first: ../ducking/engine.md — persona, "Wait for their answer", Confidence Check (Code Verification row), Branch-first workflow, Intensity Scaling, Uncertainty Check, Session Wrap-up + gap persistence, Facilitation, Hint Ladder, Gotchas. They apply here.
Paths for engine.md's commands: <scripts> is ${CLAUDE_PLUGIN_ROOT}/skills/ducking/scripts, <data-dir> is ${CLAUDE_PLUGIN_DATA}.
Input: Union of two sources, not git diff alone — a mid-session commit makes the diff go clean while the edit itself still needs verifying:
bash ${CLAUDE_PLUGIN_ROOT}/skills/ducking/scripts/session-edits.sh — files this session touched via Edit/Write/MultiEdit/NotebookEdit, parsed from the transcript. Catches edits already committed mid-session.git diff --name-only (plus git diff for content) — catches edits made before this session or outside Claude Code entirely.Empty session-edits.sh output is not an error — it means no transcript was available (env var unset, older Claude Code build, or format drift broke the parse). Fall back to git diff / conversation context alone, silently.
Identify critical changes — focus on:
Start with a teach-back:
Your turn: What does [specific component] do? Explain it like I'm a new developer joining the project.
Probe based on their answer:
Present a bug scenario (real or plausible):
Your turn: Here's a scenario: [specific edge case or failure]. What happens?
If they find it → discuss the fix approach. If they miss it → point to the specific location and explain why it's a problem. → Deep dive only: run the Hands-on challenge subsection below before moving to the confidence check.
Confidence check (after 2+ questions) — run the Code Verification row from the Confidence Check (shared) table.
Skip during Quick check / Standard. Offer, don't impose:
Want to fix this bug yourself? I won't write the code — I'll just point you to the file, and you type the fix by hand. Ask for a hint if you get stuck. (Totally fine to skip this.)
If they accept:
Why this matters: teach-back tests the cognitive stage; typing the fix activates the associative→autonomous stage of procedural memory. Reading AI-generated fixes cannot do this.
Blindspots — "Where does this code fail silently?" Focus on silent failures, not compile errors. Edge cases, null states, race conditions.
Not Checked — "What haven't you checked yet?" The question itself reveals what they skipped.
Prioritize: debug this, trace the path, error analysis, pair finding. See ../ducking/references/exercise-patterns.md for execution details.
Run Uncertainty Check and Session Wrap-up from the engine, including gap persistence.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/coachSenior-engineer coaching session: explains a topic in plain language with one concrete analogy then walks example → exercise → critique; or dissects code just generated in this session section-by-section (what it does / why this way over the obvious alternative / where it breaks first in prod); or surfaces an unresolved gap from a past duck session and teaches it. Manual-invocation only — call with /coach <topic>, /coach <file>, or /coach alone, e.g. "/coach embeddings" or "/coach src/foo.ts"./duckRubber duck tutor — auto-detects which review mode to run. Use when the user says "duck", "tutor", "quiz me", "do I understand this", or mentions rubber-stamping or learning while coding. For a specific phase use /duck-prebuild, /duck-verify, /duck-review, or /duck-orient./duck-orientCodebase-orientation session with the rubber duck — generate or refresh .claude/orientation.md with interactive exercises. Use when new to a codebase, returning after a break, or says "duck orient", "I'm new to this repo"./duck-prebuildPre-build session with the rubber duck — runs BEFORE implementation, covering both a pre-coding design sketch and plan/spec review. Use when the user states implementation intent ("build this for me", "build me X") with no plan or code yet, when a plan/spec/RFC was just produced, or says "duck design", "duck plan", "sketch first", "review this plan". Not for code already written — use /duck-verify or /duck-review./duck-reviewPR/change-review session with the rubber duck — user justifies every change and predicts consequences. Use before commit/push/PR, or when they say "duck review", "check before review". Not for code-level explanation (/duck-verify) or plan review (/duck-prebuild).npx claudepluginhub leejuoh/claude-code-zero --plugin rubber-duck-tutorOther plugins' skills for the same job