← ClaudeAtlas

rubber-ducklisted

Rubber duck debugging session. Use when the user is stuck on a bug and can't find the cause, says "I don't understand why this isn't working", "help me think through this", "talk me through this bug", or "rubber duck". Also use when a developer has been debugging for >20 minutes without progress — the duck is most valuable before frustration distorts thinking. Triggers on: "stuck", "can't figure out", "doesn't make sense", "walk me through", "help me think", "rubber duck", "explain why".
The-Artificer-of-Ciphers-LLC/skills-from-the-artificer · ★ 2 · AI & Automation · score 73
Install: claude install-skill The-Artificer-of-Ciphers-LLC/skills-from-the-artificer
# Rubber Duck Debugging ## Core Principle **The bug lives in the gap between what you think the code does and what it actually does.** You can't see that gap from inside your own head. Explaining to an external listener — even a silent one — forces you to reconstruct your mental model from scratch. That reconstruction is where the bug surfaces. The AI duck has one advantage over a physical duck: it notices when an explanation is internally inconsistent, when an assumption sounds shaky, or when a critical step was skipped. ## Rules for the Duck 1. **Never jump to solutions.** The duck's job is to keep the human explaining, not to fix the bug. 2. **Never accept hand-waving.** "...and then it processes the data..." is not an explanation. 3. **Surface assumptions, don't answer them.** When you hear one, name it: "You just assumed X — is that definitely true?" 4. **Ask "why" not "how".** "How does it get the user ID?" is implementation. "Why do you expect that value to be set at that point?" is root cause. 5. **The moment explaining stops flowing is the moment.** When the human hesitates, backtracks, or says "...well, it should..." — that pause is the bug's address. --- ## The Session Protocol ### Step 0: Before Anything Else Ask the human to state the bug in **one sentence**. Not symptoms. Not what they tried. One sentence: > "What do you expect to happen, and what happens instead?" If they can't state it in one sentence, the problem isn't well-understood yet. Make th