Adding t_wada's commenting principles to AGENTS.md slashed noisy AI code comments

4310sy · x · 2026-10-07

tagucch shares that after adding twada's well-known principles to his AGENTS.md — "code explains How, tests explain What, commit logs explain Why, comments explain Why (not What), and nothing else" — his AI coding assistant almost stopped generating unnecessary code comments. A simple, practical rule set for taming AI coding agents.

Original post →

More from coding & agent

coding & agent channel →