Shellway

Home / Prompts / Code

Fix failing tests

Run the test suite, find why tests fail and fix them.

CodeStep by step

The prompt

In ~/code/my-app, run the tests. For each failure, explain the cause in one sentence and propose a fix. Apply the fixes one at a time and rerun the tests after each. Stop and ask me if a fix needs a design decision.

How to use it

  1. Make sure Shellway is connected in ChatGPT, Claude or Cursor.
  2. Paste the prompt and change the folder names or paths to match your computer.
  3. Review the plan your AI shows before you confirm any changes.

Tips

  • Commit your work in git first so you can review every change.

Related prompts