Command Palette

Search for a command to run...

Don't Write Markdown Files for Your Coding Agent. Write Scripts

Rules in AGENTS.md are suggestions. A script with a pass or fail result is a constraint.

Don't Write Markdown Files for Your Coding Agent. Write Scripts

About Don't Write Markdown Files for Your Coding Agent. Write Scripts

Daniel Nwaneri argues that files like CONTRIBUTING.md, AGENTS.md and CLAUDE.md are recommendations, not constraints. The agent reads them, then has to judge what "use small functions" or "run the tests" means, and the judgment is where it strays.

Why it is worth reading: the fix is to turn preferences into deterministic actions. "Follow the coding style" becomes ./scripts/lint.sh with a pass or fail result, a refactor becomes an ast-grep or jscodeshift run, and make setup, make lint and make test replace a page of instructions. If your agent keeps drifting from your rules, this is the cheapest change to try first.

← Back to Resources