Discussion about this post

User's avatar
Jay's avatar

I'd advise using Cloudfare to deploy your site, not Netlify. Netlify limits your activity with tokens, so if you want to make changes and redeploy a couple times, it will lock your site (and leave you with a "this person needs to upgrade" error if anyone tries to visit it)

Calvin P's avatar

As someone who is technical, I highly recommend a single very small addition to your mega prompt: "Please use Red/Green TDD."

(Boring technical explanation of why)

TDD means test driven design. It's a philosophy where you write tests (in code) that validate that your code works, and try to test as much of the code as possible, to reduce defects. Red/Green TDD is a style of TDD where you write the tests before you even write the code, so the tests are failing at first. This forces you to specify the exact extent of your task ahead of time, and gives you a good metric for what "complete" means (the tests all pass). AIs in general love automated metrics, and having one improves performance in a huge way. Plus when you get to the step of passing the code off to a human developer, they can read the tests and understand what the code is doing.

Writing the tests takes tokens, but it's similar to plan mode. You end up with less bugs, better code, and a more well specified design, so you use less tokens in the end. In my experience, asking for red/green TDD is a similar level of unlock to using plan mode (layered on top of plan mode). Measured in terms of improvement in capabilities, quality of the end product, and reduction in cost, time, frustration, and number of iterations. All for almost literally free, you just add five words to your prompt.

174 more comments...

No posts

Ready for more?