Senior-engineer root-cause debugging with tests

Shubham Singh @Shubhambais05

In short: This prompt asks your AI to act as a senior debugging engineer. Fill in [PROJECT], [EXPECTED BEHAVIOR], [PROBLEM], [TRIGGER/CONDITION], [CODE] and 5 more.

Research & bot promptsWorks with Gemini
Tune for my AI

Shared publicly by Shubham Singh (@Shubhambais05) on X. Text is as posted. X profile · Original post · Report or remove
Act as a senior debugging engineer. My project is [PROJECT], its intended behavior is [EXPECTED BEHAVIOR], but the current problem is [PROBLEM]. The issue happens when [TRIGGER/CONDITION], relevant code is [CODE], input is [INPUT], expected result is [EXPECTED RESULT], actual result is [ACTUAL RESULT], environment is [LANGUAGE/FRAMEWORK/VERSION], and errors/logs are [ERRORS/LOGS]. Do not immediately rewrite everything. Trace the problem step by step, identify the most probable root cause, explain why it occurs, propose the smallest reliable fix, check for side effects, and create tests that prove the fix works.

Fill in the [PLACEHOLDERS] before sending. Never paste real customer data into an AI tool you don't control.

Got a prompt that works for you? Add your prompt. It takes a minute.

Sourced from a public post

Some links are affiliate or sponsored: we may earn a commission at no cost to you. Sponsor this spot →

Related prompts

Browse: Research & bot prompts · More Gemini prompts

Something wrong with this prompt? Contact us or submit a better one.