Logo: Duck Prebuild

Duck Prebuild

Communautéit
LeeJuOh
duck-prebuild

Pre-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.

Add to TypingMind

Iwwersiicht

EditeurLeeJuOh
Repositoryclaude-code-zero
Skill-Nummduck-prebuild
Stären
53
Forks
4
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    LeeJuOh huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Duck Prebuild an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/rubber-duck-tutor/skills/duck-prebuild
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeeJuOh/claude-code-zero.git /tmp/claude-code-zero
mkdir -p .claude/skills
cp -r /tmp/claude-code-zero/plugins/rubber-duck-tutor/skills/duck-prebuild .claude/skills/duck-prebuild
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Duck Prebuild an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Duck Prebuild automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Duck Prebuild net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Duck — Prebuild Mode (Design Sketch + Plan Review)

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.

Which flow

  1. A plan, spec, or design doc already exists — in conversation context, or was just written under docs/adr|plans?|specs?|rfcs?/ → Flow B: Plan Review.
  2. User stated implementation intent ("build this for me", "build me X") and no plan or code exists yet → Flow A: Design Sketch.
  3. Ambiguous → ask which situation applies.

Flow A — Design Sketch (pre-coding)

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.

Flow

  1. Confirm the target in one sentence. Not vague intent — concrete output:

Your turn: One line to confirm — you want [the thing you're building], right? Correct me if that's off.

  1. Request a 30-second sketch. Ask for exactly three things — not more:

Your turn: Before you call the AI, spend 30 seconds sketching it yourself. Just three things:

  1. What's the input/output?
  2. The 2-3 core steps
  3. 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.)

  1. 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.

  2. Probe the sketch — exactly 1-2 questions, not five:

    • Pick the weakest spot (missing step, vague I/O, unclear edge case).
    • "What happens at this step if [specific input] comes in?"
    • "Why this order? Why not [alternative order]?"
    • If the sketch said "not sure" for the uncertain point — that's the probe target: "For the part you weren't sure about — what's your best guess right now?"
  3. 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-verify when you're done.

  1. Optional comparison pass (if user returns with AI output): pivot to 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?"

When to Skip

  • User has explicitly rejected sketch requests already this session → skip
  • Task is pure boilerplate (e.g. "initialize package.json", "translate the README") → skip, there's nothing to sketch
  • User is in a time-pressured production incident → skip, this is not the moment for learning

Question Frameworks

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.

Techniques

Prioritize: prediction, pre-testing, generation-before-instruction. See ../ducking/references/exercise-patterns.md for execution details.

Closing

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.


Flow B — Plan Review

Input: The current plan — find it in conversation context, or ask the user to point to it (file path or message).

Flow

  1. Extract assumptions and decisions from the plan:

    • Technology/architecture choices
    • Scope decisions (included AND excluded)
    • Implicit assumptions not stated
    • Trade-offs that were made
  2. 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.)

  1. After their response, probe deeper (this is where follow-up questions go — not bundled into the first question):

    • "confirm" without explanation → "OK, but why? Why not [alternative]?"
    • "change" → "Change it how? What happens to [downstream dependency]?"
    • "remove" → "If we remove that, [consequence]. Is that acceptable?"
  2. Continue until all decisions are covered.

  3. Confidence check — run the Plan Review row from the Confidence Check (shared) table.

  4. Summarize: what was confirmed, changed, and removed.

Question Frameworks

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.

Techniques

Prioritize: elaborative interrogation, prediction, interleaving. See ../ducking/references/exercise-patterns.md for execution details.

Closing

Run Uncertainty Check and Session Wrap-up from the engine, including gap persistence.

Heefeg gestallte Froen

Wat mécht de KI-Skill Duck Prebuild?

Pre-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.

Firwat Duck Prebuild op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Duck Prebuild besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Duck Prebuild an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/rubber-duck-tutor/skills/duck-prebuild an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Duck Prebuild benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Duck Prebuild benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Duck Prebuild domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Duck Prebuild gratis?

Jo. LeeJuOh huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇