AINewsnow

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

  1. 2026-09-25 01:19 · DEV Community — AI
    Put secrets and path rules in Cursor .mdc files, not AGENTS.md

More stories

  1. Developers Share Workflows for Making AI Coding Agents Production-Ready — DEV Community — AI
  2. Your MCP Server Passes Every Unit Test. Your AI Agent Will Still Break It at 3 AM. — DEV Community — AI
  3. Sharing one MCP server across all my agent sessions — DEV Community — AI
  4. Hello, dev.to! Day one, zero followers, and a lot of curiosity 👋 — DEV Community — AI
  5. Can I add instructions to BugBot for code reviews? — DEV Community — AI
  6. [Boost] — DEV Community — AI
  7. Continue.dev vs Cursor: Open-Source Local Privacy vs Proprietary Indexing — DEV Community — AI
  8. Clogmeter is live on Product Hunt: see what your agent instruction files cost — DEV Community — AI

Get the daily brief of stories like this at 6:30 every morning →