rubber-duck-debugging

Guide developers through Socratic questioning to debug code issues.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/fabioc-aloha/AlexCook --skill rubber-duck-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rubber-duck-debugging
Source: https://github.com/fabioc-aloha/AlexCook/tree/main/.github/skills/rubber-duck-debugging
Command: npx skills add https://github.com/fabioc-aloha/AlexCook --skill rubber-duck-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill acts as a thinking partner to help users debug code by guiding them through the process of explaining their problem and thought process, leading to self-discovery of solutions.

Core Features & Use Cases

  • Guided Problem Explanation: Encourages users to articulate their issues and what they've tried.
  • Socratic Questioning: Asks clarifying and probing questions to help users identify gaps in their understanding or logic.
  • Debugging Strategy Suggestion: Recommends various debugging patterns like binary search or print debugging when appropriate.
  • Use Case: When a developer is stuck on a bug, they can explain the problem to the AI, which will ask questions like "What changed recently?" or "What happens right before the failure?" to help the developer pinpoint the issue.

Quick Start

Explain your coding problem to me, and I'll ask questions to help you find the solution.

Frequently Asked Questions about rubber-duck-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does rubber duck debugging help with troubleshooting code issues?

Rubber duck debugging helps with troubleshooting code issues by acting as a conversational thinking partner that uses Socratic questioning to guide you through explaining your problem, reducing cognitive load and helping you independently discover solutions.

What is the best way to debug code when I'm stuck on a bug?

The best way to debug code when stuck is to articulate your problem and thought process out loud. A guided conversational approach asks probing questions like 'What changed recently?' to help you pinpoint the issue and identify gaps in your logic.

Can I use Socratic questioning to solve coding problems on my own?

Yes, you can use Socratic questioning to solve coding problems by prompting yourself with clarifying questions. This active explanation technique enhances learning psychology and helps you pinpoint logic gaps by articulating issues and what you have already tried.

What debugging patterns can I try when my code is not working?

When your code is not working, try debugging patterns like binary search or print debugging. A guided problem explanation process can recommend these strategies to help you systematically isolate the failure point and understand what happens right before the error.

Do I need to provide my codebase to use a conversational debugging guide?

No, you do not need to provide your codebase to use a conversational debugging guide. You simply explain your coding problem and thought process out loud, and the Socratic questioning approach helps you identify logic gaps and discover solutions independently.