Prompt LibraryEngineering
LLM Bug Hypothesis Ranking & Debug Prompt
Rank likely causes and the cheapest test for each.
The prompt
Given the symptoms, logs, and relevant code below, list the five most likely root causes.
Rank by probability. For each: the mechanism that would produce these exact symptoms, the cheapest test that confirms or eliminates it, and what the test would show.
Do not propose a fix until a cause is confirmed.
Symptoms: {{symptoms}}
Logs: {{logs}}
Code: {{code}}Replace the {{fields}} with your own context and tighten the rules to match your domain.



