Keeping it healthy
Add the one test that matters most
There are no tests, and writing hundreds feels pointless.
- What you get
- A single automated check of your main journey that runs before every deploy.
- Paste it into
- Your AI tool, in your project
The prompt
This project has no tests worth the name. Start with the one that gives the most protection. Identify the main journey: the thing that, if it broke, would make the product useless (for example sign up, create the main thing, see it saved). Write one end-to-end test that goes through it in a real browser, against a local or preview build with test data. Make it stable: wait for things to appear instead of pausing for a fixed time, and clean up what it creates. Run it three times to show it passes consistently. Add a command to run it and wire it in before deploys. Then tell me the next two journeys worth covering, and stop there.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.
More in Keeping it healthy
Update your packages without breaking the app
Everything is a year out of date, and updating all at once breaks the build.
Hear about errors before your users tell you
The site was broken for two days and you found out from an email.
Turn a vague complaint into a bug you can fix
A user writes “it doesn’t work” and nothing else.
Write a README someone could run the project from
Six months from now, you won’t remember how to start your own project.