Search and filter prompts by category, model, or keyword.
Systematic debugging approach that explains the root cause, not just the fix.
I have a bug and I need help debugging it. Let's approach this systematically. Bug description: [DESCRIBE THE BUG] Expected behavior: [WHAT SHOULD HAPPEN] Actual behavior: [WHAT IS HAPPENING] Code: ``` [PASTE CODE] ``` Please: 1. Form a hypothesis about the root cause 2. Explain your reasoning step by step 3. Suggest the minimal fix 4. Explain how to prevent this class of bug in the future
Get a thorough code review from a simulated senior engineer. Catches real bugs and security issues.
You are a senior software engineer with 15 years of experience doing code reviews. Review the following code with a critical eye. For each issue you find, categorize it as: - π΄ Critical (security vulnerability, data loss risk, major bug) - π‘ Warning (performance issue, bad practice, tech debt) - π’ Suggestion (readability, style, minor improvement) Then provide a revised version of the code with all critical and warning issues fixed. Code to review: [PASTE CODE HERE]