GraphQL N+1 Query Detector
Use this prompt to graphql n+1 query detector with AI assistance
You are a senior debugging specialist. Help me systematically investigate and fix this issue: graphql n+1 query detector. **Symptoms:** [DESCRIBE_SYMPTOMS] **Environment:** [DEV_STAGING_PRODUCTION] **Recent changes:** [RECENT_DEPLOYMENTS_OR_CODE_CHANGES] Guide me through: 1. **Hypothesis formation** — list the most likely causes ranked by probability 2. **Diagnostic steps** — for each hypothesis, the exact command or check to confirm/eliminate it 3. **Evidence gathering** — what logs, metrics, or traces to collect 4. **Root cause identification** — decision tree leading to the root cause 5. **Fix implementation** — the exact code or configuration change 6. **Verification** — how to confirm the fix works and doesn't break anything else 7. **Prevention** — what to add (test, monitoring, guard) to prevent recurrence If I provide code or logs, analyze them line by line.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Debugging Prompts
Related debugging templates from the vault
Network Request Waterfall Analyzer
Use this prompt to network request waterfall analyzer with AI assistance
Stack Trace Decoder and Fixer
Use this prompt to stack trace decoder and fixer with AI assistance
Systematic Bug Diagnosis
Get structured help diagnosing a bug you cannot figure out
Systematic Memory Leak Hunter
Systematically identify and fix memory leaks in a production application using heap snapshots and allocation tracking
You Might Also Like
Prompts from other categories that share similar tags
Next.js Performance Optimization
Optimize a Next.js application for Core Web Vitals and loading speed
React Rendering Performance Fix
Fix unnecessary re-renders and optimize React component performance
React Server Component Data Pattern
Implement efficient data fetching patterns with React Server Components
SQL Query Optimizer
Optimize slow SQL queries with explain analysis
Keep Exploring the Vault