Skip to content

Commit 58e6fbe

Browse files
Add always-on Cursor AGENTS context rule (#4544)
## Summary - add `.cursor/rules/00-agent-context.mdc` as an always-applied Cursor rule - instruct agents to load `/AGENTS.md` when present and use nearest `AGENTS.md` as override - keep AGENT context active for routine and larger tasks ## Test plan - [x] Confirmed the new file is tracked by git - [x] Reviewed rule front matter for `alwaysApply: true` and `globs: ["**/*"]` Made with [Cursor](https://cursor.com) --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3e097e1 commit 58e6fbe

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
description: Always load AGENTS.md context first
3+
alwaysApply: true
4+
globs:
5+
- "**/*"
6+
---
7+
8+
Always apply AGENTS context before taking actions.
9+
10+
1. If `/AGENTS.md` exists, read and follow it for every task in this workspace.
11+
2. When working in a subdirectory, check for a closer `AGENTS.md` in that path and follow it as an override.
12+
3. If multiple `AGENTS.md` files apply and conflict, the most specific (closest) one wins.
13+
4. Keep these instructions active even for small or routine requests.

0 commit comments

Comments
 (0)