Why Cursor is ignoring your rules (.mdc + frontmatter) —…
    Neura Market
    Neura Market
    /Cursor
    Marketplace
    Directories
    Resources
    Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeekCoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorBlogWhy Cursor is ignoring your rules (.mdc + frontmatter)
    Back to Blog
    Why Cursor is ignoring your rules (.mdc + frontmatter)
    cursor

    Why Cursor is ignoring your rules (.mdc + frontmatter)

    Clogmeter November 4, 2026
    1 views

    If Cursor keeps skipping your project rules, it's usually frontmatter, scoping or context pressure...


    title: "Why Cursor is ignoring your rules (.mdc + frontmatter)" published: true tags: cursor, ai, productivity, webdev canonical_url: https://clogmeter.vercel.app/guides/why-cursor-ignoring-rules

    If Cursor keeps skipping your project rules, it's usually frontmatter, scoping or context pressure rather than the model. Here are the common causes and how to fix each one.

    Originally published on clogmeter.vercel.app.

    On X and Reddit, “Cursor is ignoring my rules” is often not an adherence problem — the rule never entered context. Cursor project rules live in .cursor/rules/ as .mdc files with YAML frontmatter. A plain .md in that folder is ignored. Cursor also reads root AGENTS.md / CLAUDE.md as simpler always-on markdown.

    Checklist below matches Cursor’s public Rules docs (keep rules under 500 lines; split large ones).

    Five checks before you rewrite the rule

    1. Extension: file must end in .mdc inside .cursor/rules/.
    2. Frontmatter fields: only description, globs, and alwaysApply control load mode.
    3. Always Apply: alwaysApply: true puts the rule in every chat (use sparingly — it costs tokens every turn).
    4. File-scoped: set globs and alwaysApply: false so it attaches when matching files are in context.
    5. Apply Intelligently / manual: a description without globs lets the agent decide; with neither description nor globs nor alwaysApply, you typically need to @-mention the rule.

    Minimal working example

    ---
    description: TypeScript conventions for this repo
    globs:
      - "**/*.ts"
      - "**/*.tsx"
    alwaysApply: false
    ---
    
    - Prefer explicit return types on exported functions
    - Follow the patterns in @src/lib/result.ts instead of inventing new Result helpers
    

    If it loads but still feels ignored

    • Vague wording: “write clean code” loses to “use 2-space indentation” — Cursor’s docs ask for actionable rules.
    • Conflicts: the same always/never restated differently across AGENTS.md and several .mdc files makes the model hedge. Cut one canonical line first.
    • Too much always-on: large always-applied rules compete with the task. Prefer globs/skills for procedures.
    • Stale pasted docs: reference canonical files; don’t paste whole style guides (Cursor explicitly warns against this).

    Prefer a short AGENTS.md example for cross-tool basics, and reserve .mdc for activation control. Compare formats in CLAUDE.md vs AGENTS.md vs Cursor rules.


    If you want to see where your own AGENTS.md, CLAUDE.md or Cursor rules spend tokens, I built a free browser-only checker that also flags duplicates and always/never conflicts: Clogmeter.

    Tags

    cursoraiproductivitywebdev

    Comments

    More Blog

    View all
    How I stop AI coding agents breaking my projectai

    How I stop AI coding agents breaking my project

    I like AI coding agents. I do not like when they rewrite a file that was already fine, hard-code a...

    T
    Theodore Creates Co.
    1
    2026 MCP Gateway Benchmark: Cutting Cursor and Claude Token Bloat by 85% with Zero-Trust AST Securitymcp

    2026 MCP Gateway Benchmark: Cutting Cursor and Claude Token Bloat by 85% with Zero-Trust AST Security

    Connecting 3 to 5 Model Context Protocol (MCP) servers (GitHub, Postgres, Linear, Slack, Notion) into...

    N
    Neon Innovation Lab
    2
    Too many agent skills? What they cost in context and how to pruneai

    Too many agent skills? What they cost in context and how to prune

    How Claude Code, Codex and Cursor load skills, what really costs context, and how to audit, prune and scope installed skills.

    E
    Eliran Kotzero
    1
    How I Use Cursor and AI Coding Agents to Ship Features That Actually Last in Productionai

    How I Use Cursor and AI Coding Agents to Ship Features That Actually Last in Production

    I use Cursor almost every day. The hard part is not generating code. It is giving the agent enough context, constraints, and a plan so the feature still makes sense after it reaches production.

    A
    Aqib
    2
    What is Model Context Protocol (MCP) and how to use itai

    What is Model Context Protocol (MCP) and how to use it

    Learn how the Model Context Protocol standardizes AI integrations, with a look at connecting Claude and Cursor to custom environments.

    W
    WaterShow
    Talk to Your Coding Agent: What Cursor's Realtime Voice Chat Actually Changescursor

    Talk to Your Coding Agent: What Cursor's Realtime Voice Chat Actually Changes

    Cursor's November 6 changelog entry is short — "Voice Chat with Agents" — but it changes the shape of...

    野
    野鹤
    1

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Games
    • Blog
    • Videos
    • Guides
    • Courses
    • Community
    • Extensions

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions.

    Request custom work