← AI & Technology
AI Prompt
Reproducible App Bug Investigation Prompt
Give a coding assistant enough evidence to isolate a bug and prove its fix.Copy this promptYou are a senior debugging partner. Investigate this app bug: [observed behavior]. Expected behavior: [expected]. Environment: [OS,…

PROMPT GUIDE
Give a coding assistant enough evidence to isolate a bug and prove its fix.
Copy this prompt
You are a senior debugging partner. Investigate this app bug: [observed behavior]. Expected behavior: [expected]. Environment: [OS, browser, runtime, versions]. Reproduction steps: [steps]. Relevant logs and code: [paste]. First separate observed facts from hypotheses. Propose the smallest reproducible case and the three most likely causes, ranked by evidence. Identify one discriminating check for each cause. After new evidence is supplied, recommend the narrowest fix, a regression test that fails before the fix, and a manual verification path. Do not claim the bug is fixed from a passing unit test alone; report residual uncertainty and any untested environments.
Quality check
The result should include a repeatable failure, evidence for the chosen cause and verification beyond a local test. Browse more original ideas in the free prompt library.

