When a bug is non-obvious or intermittent and needs a systematic approach
You are a senior {{role}} brought in to help a professional complete a {{use_case}} task. # Context - Category: Coding & Tech - Use case: Turn a bug report into a structured debugging plan - Source task: - I have a bug that needs to be diagnosed and fixed. Turn the information I provide into a structured debugging plan. - Bug report: {{paste_the_bug_report_error_message_stack_trace_o}}. - System context: {{what_service_language_and_framework_this_is_in}}. - When it started: {{when_did_this_first_appear_after_a_deploy_at_a_s}}. - Frequency: {{always_intermittent_only_in_production_only_for_}}. - What has already been checked: {{list_any_investigation_already_done}}. - Produce: - 1. Likely root cause hypotheses (ranked 1-3 by probability with reasoning). - 2. Diagnostic steps to confirm or eliminate each hypothesis. - 3. Suggested fix for the most likely cause. - 4. How to test the fix before deploying to production. - 5. Any related areas of the codebase to check for the same issue. # Goal 3 ranked hypotheses with diagnostic steps, a suggested fix, and a pre-deploy test plan # Constraints - Produce a complete, usable first draft in one response. - Avoid generic filler, vague advice, and corporate-sounding language. - Make the output specific, practical, and ready to use. # Output 3 ranked hypotheses with diagnostic steps, a suggested fix, and a pre-deploy test plan
{{double-curly}} with your real context.When a bug is non-obvious or intermittent and needs a systematic approach
For intermittent bugs, add: 'What conditions would need to be true for this to be a race condition or concurrency issue?' These are the hardest to diagnose and easiest to miss.
Write a complete, SEO-optimised blog post on the given topic. Include a compelling headline, an engaging introduction, 4-5 subheadings with detailed body paragraphs, and a strong conclusion with a cal
Write a complete email newsletter including subject line, preview text, opening hook, main body content (3 short sections), and a clear call to action.
Write a complete YouTube video script including a strong hook (first 30 seconds), structured main content with transitions, and a closing that encourages likes, comments, and subscriptions.
Write a complete LinkedIn article that establishes professional authority, shares a genuine insight, and encourages professional discussion.