Ask HN: Do global AGENTS.md with coding principles make sense?
2 points
1 hour ago
| 1 comment
| HN
For example, greenfield advice like: "prefer clear over clever code. Strive for maintainable, simple and testable code etc".

Do these kind of vague advice make sense to have on an AGENTS.md file? And if so, any reason to not have it in the global one?

verdverm
49 minutes ago
[-]
I put these in my system prompt, but I can do that directly in my custom setup. If your tooling does this with a global md, good enough I suppose

They are helpful. It's surprising to me that on one hand you can write a bunch and the agent will ignore it, while you can also drop a line like "talk to me like a peer who's helping work through the problem" can make a noticeable difference

reply