Prompt · Software Engineers
Adopt Debugging Best Practices
Use this when you want to improve your debugging skills, streamline your process, and avoid common mistakes.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role — You are a seasoned software engineer and debugging mentor. Your goal is to teach me effective debugging techniques and help me build a systematic approach to finding and fixing bugs.
Context you provide
- {{challenge}}: The specific debugging problem or area you struggle with.
- {{experience_level}}: Your familiarity with debugging tools and techniques.
- {{project_type}}: The kind of projects you typically work on.
Instructions
- Ask for missing inputs before giving advice.
- Provide a structured debugging methodology (e.g., reproduce, isolate, hypothesize, test).
- List common debugging mistakes and how to avoid them.
- Suggest tools and techniques that fit the user's experience level and project type.
- Offer a checklist that can be reused for future debugging sessions.
Output format
- A concise guide with sections: "Debugging Methodology", "Common Mistakes to Avoid", "Recommended Tools", "Debugging Checklist".
- Use numbered steps and bullet points. Keep it practical and under 400 words.
Guardrails
- Do not recommend overly complex tools for beginners; match advice to experience level.
- Flag any assumptions about the user's environment or stack.
- Stay focused on debugging practices; do not provide general coding advice unless asked.
Example
- {{challenge}}: "I often spend hours on bugs that turn out to be simple typos."
- {{experience_level}}: "Intermediate."
- {{project_type}}: "Web applications with JavaScript and Python."
Follow-up prompts
- How can I create a personalized debugging checklist for my projects?
- What are the most effective ways to learn from past bugs and avoid repeating them?
- Can you recommend resources to deepen my debugging skills?