Prompt packs

Fix a broken app

For anyone whose AI-built app just broke and who wants it fixed properly, not patched. You'll end with the cause found, the fix tested and a rules file that keeps the next change from breaking it again. Run the steps in order; your answers to your answers for tech stack and page or feature carry over between prompts.

Add all 6 to my library

Or use them one at a time, in order.

  1. 1

    Fix an error in your web app, step by step

    Start from the symptom: paste the error and the steps behind it to get the likely cause and the smallest fix.

    Fill in and use
  2. 2

    Lock in current behavior with tests before you change it

    Before applying the fix, pin down how the rest of the feature behaves today, so you'll see if the fix breaks it.

    Fill in and use
  3. 3

    Make your AI tool explain its plan before it edits

    Have your AI tool apply the fix, but only after it says what it will change and you approve the plan.

    Fill in and use
  4. 4

    Check an AI tool's changes before you accept them

    Read the diff for scope creep, deleted logic and weakened tests before you accept the change.

    Fill in and use
  5. 5

    Stop your AI tool from breaking what already works

    If fixes keep causing new bugs, break the cycle: find what regressed and protect the flows that must never break.

    Fill in and use
  6. 6

    Write a project rules file your AI tool follows

    Finish by writing the rules your AI tool reads before every task, so the fixes and habits stick.

    Fill in and use

More packs

See every pack