Skip to content

Commit 5f716d6

Browse files
docs(.ai): clarify symlink usage in readme
1 parent a1dea15 commit 5f716d6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.ai/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,14 +285,15 @@ Editing any `.ai/rules/*.md` file immediately updates what both Cursor and Claud
285285
### Adding a new rule
286286

287287
1. Create `rule-name.md` in `.ai/rules/` with YAML frontmatter (`globs`, `alwaysApply`).
288-
2. Add one per-file symlink for Cursor:
288+
2. Add one per-file symlink for Cursor (required — Cursor needs `.mdc` extension):
289289

290290
```sh
291291
ln -s “../../.ai/rules/rule-name.md” “.cursor/rules/rule-name.mdc”
292292
```
293293

294+
`.claude/rules/` is a directory symlink pointing at `.ai/rules/`, so it picks up the new file automatically — no extra step needed.
295+
294296
3. Register it in the tables in this README (rules catalog) and in [`AGENTS.md`](../AGENTS.md).
295-
4. `.claude/rules/` picks it up automatically via the directory symlink — nothing extra needed.
296297

297298
### Adding a new skill
298299

0 commit comments

Comments
 (0)