/rubber-duck-tutor:duck-prebuildfrom rubber-duck-tutor
Pre-build design sketch and plan review session that forces user thinking before AI implementation. Activates on implementation intent or new plans/specs.
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 (Plan Review row), Branch-first workflow, Intensity Scaling, Uncertainty Check, Session Wrap-up + gap persistence, Facilitation, Gotchas. They apply here.
Paths for engine.md's commands: <scripts> is ${CLAUDE_PLUGIN_ROOT}/skills/ducking/scripts, <data-dir> is ${CLAUDE_PLUGIN_DATA}.
Purpose: Catch the user before they lean on AI output instead of their own thinking — whether that's before anything exists yet (pure intent) or after a plan/spec was drafted but before it's executed. Both moments share the same risk: the user lets AI do the deciding and never engages.
docs/adr|plans?|specs?|rfcs?/ → Flow B: Plan Review.Purpose: Intercept before AI generates the implementation. Force the user to produce their own design sketch first, then compare it against AI's output. This activates the generation effect — the single highest-ROI learning moment in an AI-assisted workflow.
Input: The user's stated intent ("I want to build X", "build this for me", etc.). No code or plan exists yet — that's the point.
Your turn: One line to confirm — you want [the thing you're building], right? Correct me if that's off.
Your turn: Before you call the AI, spend 30 seconds sketching it yourself. Just three things:
- What's the input/output?
- The 2-3 core steps
- The one point you're least sure about
(Write "not sure" for anything you don't know — a wrong sketch is far more useful than a blank one.)
Wait. Do not hint, do not offer examples, do not fill the silence. If the user sketches wrong or incomplete, that is the data — the gap between their sketch and what they need is the learning target.
Probe the sketch — exactly 1-2 questions, not five:
Hand off cleanly:
Good, your head's primed now. Go ask the AI. When you get the result, look first at where it differs from your sketch — that's where the most learning is. Come back to
/duck-verifywhen you're done.
Generation > Comparison pattern from ../ducking/references/exercise-patterns.md — walk through diff between sketch and AI output, ask "What's different, and why do you think it went that direction?"Assumptions — "What are you taking for granted while building this?" Surface premises about data, environment, caller behavior.
Uncertain zone — "What's the one point you're least confident about?" The answer is the learning target.
Prioritize: prediction, pre-testing, generation-before-instruction. See ../ducking/references/exercise-patterns.md for execution details.
Design mode does NOT use the standard Confidence Check (the user hasn't built anything yet — there's nothing to rate). Skip that step. Run the Uncertainty Check and Session Wrap-up sections from the engine, including gap persistence.
Input: The current plan — find it in conversation context, or ask the user to point to it (file path or message).
Extract assumptions and decisions from the plan:
Walk through each one, one at a time. Ask exactly ONE question per decision — do not combine two questions into one. Forbidden patterns: "Why X? What problem does Y solve?", "Why X? What would you lose?", "Why X — and what about [alternative]?":
Your turn: The plan chose [specific decision]. Why is this the right call?
(You can also say confirm / change / remove.)
After their response, probe deeper (this is where follow-up questions go — not bundled into the first question):
Continue until all decisions are covered.
Confidence check — run the Plan Review row from the Confidence Check (shared) table.
Summarize: what was confirmed, changed, and removed.
Use these to generate questions. Pick 1-2 per session, not all:
Assumptions — "What's this plan taking for granted without saying so?" Surface implicit premises. For each: how critical is it, how likely to be wrong, how would you verify it?
Tradeoffs — "Why did you pick this? What alternative did you not pick?" Force them to articulate what they gained AND lost with each choice.
Blindspots — "What scenario would make this plan fail?" Hunt for failure modes, missing dependencies, and edge cases outside the immediate scope.
Prioritize: elaborative interrogation, prediction, interleaving. 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
npx claudepluginhub leejuoh/claude-code-zero --plugin rubber-duck-tutor6 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-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)./duck-verifyCode-verification session with the rubber duck — user explains code just written, finds edge cases, fixes planted bugs. Use after implementing a feature, or when they say "duck verify", "double check this". Not for plan review (/duck-prebuild) or PR review (/duck-review).Other plugins' skills for the same job