What this thread does
Do first: create project AGENTS.md; check for a higher-priority compatible file before relying on it.
Short answer
Instructions are persistent agent context. Zed selects the first existing file in this ordered list; project guidance overrides conflicting personal guidance.
What to do
| Priority | Project file |
|---|---|
| First | .rules |
| Next | .cursorrules |
| Next | .windsurfrules |
| Next | .clinerules |
| Next | .github/copilot-instructions.md |
| Next | AGENT.md |
| Next | AGENTS.md |
| Next | CLAUDE.md |
| Last | GEMINI.md |
Put repository conventions and project constraints in the selected file.
| Older Rules use | Current destination |
|---|---|
| Reusable, on-demand Rules | Skills |
| Default, always-on Rules | Personal AGENTS.md |
Project .rules | Still supported as a compatible project instruction file |
Limits and open questions
External Agents and Terminal Threads may load their own native files; Zed’s loader does not determine that behavior. The page states no size limit, release version, or migration date.
Not for: Claude Code CLI or external-agent instruction loading.
Sources
- Instructions, Zed.
Checked
2026-11-17; read Instructions; no command was run.
Started from a post by @Zed, packaged by the editor. Original post