A plain text file — no install, no config — that drags AI coding agents back from guessing, bloating, and breaking the code they were never asked to touch.
You ask the AI to add a button. It rewrites three files, invents a configuration system you never wanted, and breaks your tests on the way out. Sound familiar?
The complaint is old and the source is credible. Andrej Karpathy — ex-Tesla AI, OpenAI co-founder — called out coding agents for the same recurring sins: they make wrong assumptions and run with them, overcomplicate everything in sight, and edit code they don't understand as a side effect of an unrelated task.
The fix was not a new model or a paid tool. Developer Forrest Chang distilled the complaints into four rules and dropped them into a single CLAUDE.md file. Claude Code reads it automatically at the start of every session. Cursor reads its equivalent too. No setup, no flags — drop it in the project root and the rules apply instantly.
Tap any rule to open it.
Transform vague tasks into verifiable goals:
One follows the rules. One doesn't. Watch the diff.
# 3 files changed, 147 insertions(+), 22 deletions(-) + src/config/ButtonThemeProvider.tsx (new, 68 lines) + src/hooks/useClearableInput.ts (new, 41 lines) - // legacy comment removed "for clarity" - const handleSubmit = ... // refactored, unrelated + <Button variant={theme.resolve('ghost')} ... />
# 1 file changed, 4 insertions(+) Assumption: clear = reset input to empty string. Confirm? + <button onClick={() => setQuery('')}>Clear</button> Verify: typing text then clicking Clear empties the field. ✓
Grab our adapted version for whichever tool you use. Each file is purpose-built for how that tool actually loads instructions.