This prompt

Debug with Structure
I’m facing this bug:
[Describe the bug and expected vs actual behaviour]

Here is the relevant code:
[Paste code]

Help me:
1. Identify the most likely causes
2. Suggest the fastest way to verify each cause
3. Propose a clean fix

Related prompt

Analyse the dependencies in this code and suggest ways to reduce unnecessary coupling:
[Paste code]

All Coding prompts

Bug Diagnosis Prompt

Give the model the error, the code and what you expected. It ranks likely causes by evidence, tells you how to confirm each, and proposes a minimal fix.

View prompt →

Security Review

Review this code for common security issues. Focus on input validation, injection risks, secrets handling and unsafe defaults.

View prompt →

Unit Test Writing Prompt

Produces a case inventory first, then readable tests that check behavior at the boundaries, with suspected bugs flagged instead of encoded as passing.

View prompt →