---
{
  "n": 36,
  "title": "Clean, DRY, idiomatic before it is committed, never after it is complained about",
  "abstract": "",
  "refs": [],
  "seen": [
    "agent",
    "user"
  ],
  "data": {
    "keywords": [
      "commit",
      "cleanup",
      "refactor",
      "idiomatic",
      "DRY"
    ],
    "kept": false
  },
  "created": 1790027209.623444,
  "updated": 1790093402.126634,
  "deleted": 0.0,
  "completed": 0.0,
  "outcome": "",
  "type": "rule"
}
---
The user should never be the one who finds duplication, dead code, a clumsy name or a pattern the codebase does not use. Read the diff before every commit as a reviewer would, and fix what is not clean then, not in a follow-up after a complaint.
