RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Cursor rules vs .cursorrules

Every comparison page on the web is a capability table someone wrote from the vendor docs in an afternoon. None of them can tell you how many real repositories ship each file, how long the median one runs, or how often two of them turn up in the same project. Those answers need a corpus, and RuleStack counts one every night.

Measured — counted from real repositories, nightlyAsserted — read from the vendor docs, dated
CompareAGENTS.mdCLAUDE.mdCursor rulesCopilot instructionsCline rulesGEMINI.md.cursorrulesWindsurf rulestwo to five
FormatCursor rules
2026-08-02
.cursorrules
2026-08-02
Asserted — what the docs say it can express
File.cursor/rules/*.mdc.cursorrules
Statusvendordeprecated
Cross-toolNoNo
Tools that read it
  • Cursor
  • Cursor (legacy)
FrontmatterYesNo
Glob targetingYesNo
Imports other filesYesNo
Nested / per-directoryYesNo
Multiple filesYesNo
User-level scopeNoNo
When it appliesFour modes set in frontmatter: Always Apply (every chat session), Apply Intelligently (the agent picks it by description), Apply to Specific Files (globs match the edited file), and Apply Manually (@-mentioned). Rules must carry the .mdc extension — a plain .md file in .cursor/rules is ignored.Always in scope, single file at the repo root.
Size limitsNoneNone
Measured — counted from real repositories on 2026-08-03
Repositories carrying it17927
Share of indexed repos25.8%3.9%
Files indexed1,279308
Median length (words)272365
90th percentile length1,1711,104
Files naming commands29.3%13.6%
Files containing code58.0%25.0%
Median quality score5241
Median repository stars2426

How often they turn up together

A capability table cannot answer this at all. Of the repositories carrying the first format, this is the share that also carry the second — counted, both directions, on 2026-08-03.

Cursor rules + .cursorrules

2026-08-03

13

repositories carry both. That is 7.3% of everything with Cursor rules, and 48.1% of everything with .cursorrules.

What each one is for

Cursor rules

2026-08-02

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

Strengths

  • Glob-scoped activation — the only widely-used format that keeps unrelated rules out of context
  • Description-based activation lets the agent pull a rule in on demand
  • Many small files are easier to review in a PR than one growing document

Weaknesses

  • Cursor-only
  • Frontmatter is a schema, and a malformed .mdc silently stops applying
  • Fragmentation: rules spread over many files are easy to duplicate and contradict
Full page Browse 1,279 files

.cursorrules

2026-08-02

Cursor's original single-file format, superseded by .cursor/rules/*.mdc. Tracked here precisely because it is dead: how much of the ecosystem is still shipping a deprecated file is a measurable answer, and a large share of the "best cursor rules" pages on the web still teach this format.

Strengths

  • One file, nothing to configure

Weaknesses

  • Deprecated — do not start here
  • No targeting, no composition, no metadata
Full page Browse 308 files
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack