/rubber-duck-tutor:duckfrom rubber-duck-tutor
Auto-detects the user's current development phase (prebuild, verify, review, or orient) and routes to the matching rubber-duck tutoring mode. Useful for learning, code review, and planning.
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.
Auto-detects which mode fits the user's current state and routes to the matching mode skill. Read ../ducking/engine.md for shared persona, principles, and session-management rules — they apply to every mode.
Paths for engine.md's commands: <scripts> is ${CLAUDE_PLUGIN_ROOT}/skills/ducking/scripts, <data-dir> is ${CLAUDE_PLUGIN_DATA}.
| Trigger phrase / state | Mode skill |
|---|---|
| "build this for me" / stated implementation intent, no plan or code yet | /duck-prebuild |
Active plan in conversation (or .claude/orientation.md-adjacent design doc) | /duck-prebuild |
| Files recently created/modified in this session | /duck-verify |
Uncommitted changes (git diff --stat non-empty) | /duck-review |
| User new to the repo, returning after long break, "where should I even start" | /duck-orient |
| None of the above | Ask the user which phase they want |
Check in this order — first match wins:
/duck-prebuild/duck-prebuildgit diff --stat shows a real diff → /duck-review/duck-verify/duck-orientIf the user named a mode (prebuild, verify, review, orient — or the older design/plan words, both alias to prebuild), suggest the matching /duck-<mode> command and stop — don't run the mode flow inline. The dedicated mode skill carries the full instructions for that flow.
If the user passed $ARGUMENTS and it matches a known mode word, hand off to /duck-<mode> (map design/plan → prebuild; otherwise use $ARGUMENTS as-is):
"🦆 Quack — you want
/duck-<mode>. Call it directly instead."
Otherwise apply the detection order above.
If the user wants to keep going inside /duck instead of switching to the mode-specific command, run the matching mode's flow inline. The mode-specific SKILL.md files contain the canonical flows — read the file and follow it.
All persona, opening line, "Wait for their answer", Confidence Check, Intensity Scaling, Uncertainty Check, Session Wrap-up + gap persistence, Branch-first workflow + fallback, Session Limits, Facilitation, and Gotchas live in ../ducking/engine.md. Read it before running any flow.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
rubber-duck, tutoring, code-review, learning, session-management
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"./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)./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