From d0590aa534268ce4bd2b4f0526113ec1431cdc81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pacana?= Date: Thu, 25 Jun 2026 15:02:44 +0200 Subject: [PATCH] Forbid code comments in agent rules - Keep explanations in commit messages and rely on clear names instead of inline comments. - Drop the redundant "run treefmt after editing" rule; the treefmt hook already runs on edit. --- AGENTS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 4cc278e..5d4e736 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,5 @@ # Agent rules -- Prefer inlining variables when they are not reused. -- After editing files, run `treefmt`. -- When adding and building a feature, follow the TDD process. +- Prefer inlining variables when they are not reused +- When adding and building a feature, follow the TDD process +- Never add code comments, keep method and variable names clear enough for comments not to be needed, keep "the why" comments in commit messages -- 2.51.2