908 B
908 B
Cursor Composer
Cursor does not read AGENTS.md natively — it uses its own rules format. Point
Composer at this kit's rules with a small pointer rule rather than duplicating
content:
- Create
.cursor/rules/agents.mdc(the current, non-deprecated format — the old single.cursorrulesfile still works but is legacy) with:--- alwaysApply: true --- Read and follow AGENTS.md and SKILLS.md at the project root before doing any work. - Keep the actual rules in
AGENTS.md/SKILLS.mdas the source of truth — the.mdcfile is just a pointer, so Cursor and Claude Code/other tools never drift out of sync. - For rules that should only apply to certain paths (e.g. only
src/api/**), add additional scoped.mdcfiles under.cursor/rules/with aglobs:frontmatter key — that's Cursor-specific and doesn't belong in the cross-toolAGENTS.md.