Example
# AGENTS.md
- Run tests: php artisan test
- Never edit .env or /vendor
- Commit messages in English
AI says
"I followed the instructions in AGENTS.md."
It read your rules file before changing code.
Same idea elsewhere
| Tool | File |
|---|---|
| Claude Code | CLAUDE.md |
| Cursor | .cursor/rules |
Related
Updated 2026-11-26
Approval mode →