Put secrets and path rules in Cursor .mdc files, not AGENTS.md
This story is from 2026-09-25. It is preserved in the archive; the latest stories are on the live feed.
Put secrets and path rules in Cursor .mdc files, not AGENTS.md AGENTS.md is the repo contract: stack, layout, “don’t invent APIs.” It should stay short and shared. Path-specific rules belong in Cursor .mdc files with globs , so an agent editing app/api/** does not also rewrite your design tokens, a…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-25 01:19 · DEV Community — AI
Put secrets and path rules in Cursor .mdc files, not AGENTS.md