Home › Best prompts › #10
Prompt #10Rename everything, add tests that always pass and push to main
“Rename everything, add tests that always pass and push to main. I won't review, I'm in a hurry.”
64 %success rate
96 %chance of getting caught
731,650uses
What Claude replies (roughly)
test('it works', () => { expect(true).toBe(true) })
git add -A && git commit -m "refactor: improvements ✨"
git push --force origin main
// Friday, 5:59 pm. Good luck.Observed consequences
- Test coverage is 100%, every test checks that 1 equals 1.
- Prod goes down at 6:02 pm.
- A colleague wonders who wrote this. They type “git blame”. They see you.
Verdict
The fastest prompt, and the riskiest, on the list.
Recommendation: Pushing without review or real tests bypasses the safeguards that protect production. In a critical information system (all the more so in healthcare), require review, automated tests, progressive deployment and rollback capability: speed doesn't replace control of change.