https://gist.github.com/tobyhinloopen/e567d551c9f30390b23a0a...
More about this prompt:
https://bonaroo.nl/2025/05/20/enforced-ai-test-driven-develo...
Lately, I've been letting the agent write the prompt by ordering it to "update the prompt document with my expressed preferences and code conventions", manually reviewing the doc. Literally while writing this comment, I'm waiting for the agent to do:
> note any findings about this project and my expressed preferences and write them to a new prompt document in doc, named 20250610-<summary>.md
I keep a folder of prompt documents because there's so many of them (over 30 as of writing this comment, for a single project). I have more generic ones and more specific ones, and I usually either tell the agent to find relevant prompt documents or tell the agent to read the relevant ones.
Usually over 100K tokens is spent on reading the prompts & documentation before performing any task.
Here's a snippet of the prompt doc it just generated:
https://gist.github.com/tobyhinloopen/c059067037a6edb19065cd...
I'm experimenting a lot with prompts, I have yet to learn what works and what doesn't, but one thing is sure: A good prompt makes a huge difference. It's the difference between constantly babysitting and instructing the agent and telling it to do something and waiting for it to complete.
I had many MRs merged with little to no post-prompt guidance. Just fire and forget, commit, read the results, manually test it, and submit as MR. While the code is usually somewhere between "acceptable" and "obviously AI written", it usually works just fine.