
If Cursor keeps skipping your project rules, it's usually frontmatter, scoping or context pressure...
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).
.mdc inside .cursor/rules/.description, globs, and alwaysApply control load mode.alwaysApply: true puts the rule in every chat (use sparingly — it costs tokens every turn).globs and alwaysApply: false so it attaches when matching files are in context.description without globs lets the agent decide; with neither description nor globs nor alwaysApply, you typically need to @-mention the rule.---
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
.mdc files makes the model hedge. Cut one canonical line first.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.
aiI like AI coding agents. I do not like when they rewrite a file that was already fine, hard-code a...
mcpConnecting 3 to 5 Model Context Protocol (MCP) servers (GitHub, Postgres, Linear, Slack, Notion) into...
aiHow Claude Code, Codex and Cursor load skills, what really costs context, and how to audit, prune and scope installed skills.
aiI 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.
aiLearn how the Model Context Protocol standardizes AI integrations, with a look at connecting Claude and Cursor to custom environments.
cursorCursor's November 6 changelog entry is short — "Voice Chat with Agents" — but it changes the shape of...