AGENTS.md: Unified Rules for Agentic Coding with Refusal Principles

A single AGENTS.md unifies Karpathy’s refusal principles and Boris Cherny’s Claude Code workflow, enforcing minimal changes, checks, and clear questions.

cpaua1 min358

One more TheRealSeanDonahoe/agents-mdgithub.com/TheRealSeanDonahoe/agents-md AGENTS.md that combines Karpathy’s four refusal principles in agentic programming and the Claude Code workflow by Boris Cherny.

Key changes: the agent will challenge your mistakes, make only the minimally necessary changes, won’t touch unrelated code without a reason, will run checks before reporting completion, and will ask questions whenever there is any ambiguity.

The file is about 200 lines long; only two blocks are edited (project context and accumulated project experience), the rest are fixed, concise rules of conduct. Thanks to symlinks for CLAUDE.md and GEMINI.md, a single file can centrally govern the behavior of all agents.

Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Comments

To leave a comment, log in or sign up
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.