Battle-tested rules for Claude Code, Cursor, Windsurf, or any AI coding agent.
These rules exist because every one of them was learned the hard way. An AI agent killed running processes that were handling live trades. Another deleted files that turned out to be critical. Another claimed "fixed!" when it had actually introduced a regression it never tested. Another silently overwrote config files with "helpful" defaults.
Add these to your CLAUDE.md, agents.md, .cursorrules, or whatever system prompt your AI coding tool uses. They're generic -- no project-specific references, no proprietary tooling.