13 points reshabh 1 day ago 1 comments

fami-hn 1 day ago | parent

The growth makes sense, but in our repos the files only stayed useful once we treated them like code. Habits that helped: keep the root file short and put rules next to the code they apply to (one per package or directory), so an agent working in the mobile app isn't reading backend conventions. Write rules as checks rather than vibes ("run the typecheck before finishing", not "write clean code"). Delete anything an agent has demonstrably stopped needing, because stale rules get followed just as faithfully as good ones. And every so often, give an agent a task and read what it actually did against the file; that's the only way to see which lines are ignored.