Ask HN: Is it better to have no Agent.md than a bad one?

10 points by parvardegr ↗ HN
Please share your real word experiences. What is a bad one and why?

7 comments

[ 3.4 ms ] story [ 31.5 ms ] thread
My approach is to keep them minimal. Make them a table of contents and spark notes, spread them across the repo, keep them up to date as the repo changes.

Something is better than nothing. It's pretty hard to have bad ones, also takes effort to craft good ones. The bad ones are the ones with incorrect information.

Yes, zero instructions are better than wrong instructions because outdated or incorrect context actively forces the AI to write broken code.

Start with nothing, and only add a single sentence to your Agent.md after the AI repeatedly makes the same specific mistake.