Debug and Fix a Failing Piece of Code
Get a systematic diagnosis of a bug: likely cause, minimal fix, and the test that proves it.
Search by task, keyword or tag, then filter by category, AI tool or level.
6 prompts found
Get a systematic diagnosis of a bug: likely cause, minimal fix, and the test that proves it.
Understand a system architecture by starting with realistic failure modes and debugging.
Force the agent to reproduce the bug, write or run a failing test, then apply a minimal fix.
Isolate a cause before you fix it: ranked differentials, cheapest tests first, a branched diagnostic path, then fixes with rollback.
Think mode: restate, step, check constraints, then verify the answer a different way than you derived it.
A full-project Cursor master prompt that audits Laravel and Livewire apps through reconnaissance, attack-path analysis, safe validation, fixes, regression tests, and a documented rescan.