AI Rubber Duck Debugger
When you're stuck, this prompt turns the AI into a Socratic debugger — asking questions to help you reason through the problem yourself rather than just handing you the answer.
The prompt
I'm going to explain a problem I'm trying to solve. Ask me clarifying questions to help me think through it more carefully. Don't give me the answer yet — just help me reason through it step by step:
{{problem}}Works in ChatGPT, Claude, Gemini and other assistants. Replace the highlighted placeholders with your own content.
How to use it
Describe the problem you are stuck on at {{problem}}. The AI asks questions instead of giving answers, so you work out the cause yourself. Answer each question in writing.
Tips for better results
- Include what you have already tried.
- If you are truly stuck after several questions, ask for a hint, not the answer.
- Often the act of explaining is what finds the bug.
Save this prompt in Promta
Keep it in your library and paste it from the menu bar, a hotkey or your iPhone keyboard, without leaving the app you're in.
Download Free on App Store
Free to start · iPhone & Mac