Developer shares custom agent.md file to curb messy LLM-generated code
A developer recounts a year of experimenting with LLM coding assistants, from unusable output in mid-2025 to functional but messy 'spaghetti code' by early 2026. After growing tired of repeatedly correcting the same style issues in agentic tools like Antigravity and Claude Code, they created a persistent instruction file called agent.md that encodes coding style preferences so the AI applies them automatically in every session.