{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreie37f27z7zgulcbmmidjwucgbwgxbkp3bldbcvgaep67wq7easdyy",
    "uri": "at://did:plc:25rdn5elo5izoxrmtis34zuk/app.bsky.feed.post/3mohslaptj5h2"
  },
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreia4t7xwwjzfcvhr5zomnxcbfcpuujmoxinzk4lsxzbixfxrbdj6ja"
    },
    "mimeType": "image/webp",
    "size": 130090
  },
  "path": "/avery_code/you-already-know-what-your-first-ai-rule-should-be-you-just-have-not-written-it-down-yet-i9",
  "publishedAt": "2026-06-17T07:33:00.000Z",
  "site": "https://dev.to",
  "tags": [
    "react",
    "ai",
    "webdev",
    "productivity",
    "Get the React AI Clean Code Checklist — free",
    "Avery Code React AI Engineering System"
  ],
  "textContent": "Every developer who works with AI regularly has a list of corrections they make.\n\nNot a written list. A mental one. The things they fix after every session. The patterns the AI gets wrong consistently. The naming that never quite matches. The component that always ends up doing too much. The state that keeps ending up in the wrong place.\n\nThose corrections are not random. They are consistent. And consistent corrections are rules that have not been written down yet.\n\nYou already know what your first rule should be. You have been communicating it to the AI through corrections for months. You just have not written it down where the AI can follow it before it makes the mistake.\n\n##  Why the first rule is the hardest\n\nStarting a rule system feels like a big decision.\n\nWhere do the rules live? How many do you need? What format should they be in? Do you need a whole system before you start? Do you need to cover every case before the rules are useful?\n\nThe answer to all of those questions is the same. You do not need to answer them before you write the first rule.\n\nThe first rule does not need to be part of a system. It does not need a format. It does not need to be comprehensive. It just needs to exist somewhere the AI can see it before the session starts.\n\nOne rule. The thing you correct most often. Written down. Given to the AI before the next session.\n\nThat is the entire starting point.\n\n##  What the first rule usually is\n\nThe first rule is almost always the same category of thing across different developers.\n\nIt is the correction that happens in nearly every session. The one that takes two minutes to fix but has been taking two minutes every session for six months. The one that feels too obvious to write down because surely the AI should just know.\n\nIt does not just know. It cannot. It has no memory of the last correction. It has no definition of what the standard is. It generates based on what it receives and then you correct what it got wrong.\n\nFor most React developers the first rule falls into one of three categories. Component boundaries. State placement. Naming conventions. Not because those are the most important rules. Because those are the decisions the AI gets wrong most consistently when no constraints exist.\n\nHere is what writing that first rule actually looks like:\n\n\n    The first rule for most React developers:\n    Every component has exactly one responsibility.\n    If it renders UI and manages state and handles data fetching,\n    it is three components pretending to be one.\n    Split before continuing.\n\n\nOne rule. Specific enough to follow. The AI stops making that particular decision on its own.\n\n##  What happens after the first rule\n\nThe first rule does two things.\n\nIt reduces the correction it covers. That session, the component is already the right size, or the state is already in the right place, or the naming already follows the convention. The specific correction the rule addressed does not appear.\n\nAnd it shows you that the system works. That writing a rule down and giving it to the AI actually changes the output. That the problem was never the AI. It was the missing constraint.\n\nThat realization is what leads to the second rule. And the third. Not because you planned a system. Because you experienced the result of one rule and wanted more of it.\n\nThe system grows from evidence, not from planning.\n\n##  The rule you keep not writing\n\nMost developers who work with AI regularly have a correction they make so often it has become automatic.\n\nThey do it without thinking. They barely notice anymore. It is just part of the workflow.\n\nThat correction is a rule. A rule the AI has never been given. A rule that has been communicated through corrections hundreds of times and has never transferred because corrections do not transfer between sessions.\n\nWriting it down takes less time than making the correction one more time.\n\n##  The prompt does not matter. The rules do.\n\nYou do not need a complete system to start. You do not need a format. You do not need to know where this is going.\n\nYou need one rule. The one you already know. The one you have been communicating through corrections for months.\n\nWrite it down. Give it to the AI before the next session. See what happens.\n\nEverything after that is just doing it again.\n\n##  Want help identifying what your first rule should be?\n\nI built a free 24 point checklist that helps you find exactly that. The corrections you keep making that are waiting to become rules.\n\n→ Get the React AI Clean Code Checklist — free\n\n→ Avery Code React AI Engineering System",
  "title": "You Already Know What Your First AI Rule Should Be. You Just Have Not Written It Down Yet."
}