RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Windsurf 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
FormatWindsurf rules
2026-08-01
.cursorrules
2026-08-02
Asserted — what the docs say it can express
File.windsurf/rules/*.md.cursorrules
Statusvendordeprecated
Cross-toolNoNo
Tools that read it
  • Windsurf
  • Cascade
  • Cursor (legacy)
FrontmatterYesNo
Glob targetingYesNo
Imports other filesNoNo
Nested / per-directoryNoNo
Multiple filesYesNo
User-level scopeYesNo
When it appliesFour trigger modes in frontmatter: always_on, glob, model_decision, manual. The legacy single-file .windsurfrules is still read.Always in scope, single file at the repo root.
Size limitsPer-rule and total character caps apply; long rules are truncated rather than rejected.None
Measured — counted from real repositories on 2026-08-03
Repositories carrying it1427
Share of indexed repos2.0%3.9%
Files indexed102308
Median length (words)515365
90th percentile length1,5181,104
Files naming commands37.3%13.6%
Files containing code70.6%25.0%
Median quality score5841
Median repository stars11426

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.

.cursorrules + Windsurf rules

2026-08-03

4

repositories carry both. That is 14.8% of everything with .cursorrules, and 28.6% of everything with Windsurf rules.

What each one is for

Windsurf rules

2026-08-01

Cursor's activation model with a different vocabulary — trigger modes instead of rule types — plus hard character caps, which is the one place a format here will silently drop instructions rather than fail loudly.

Strengths

  • Trigger modes give the same glob and on-demand targeting as Cursor rules
  • Workspace and global rule scopes

Weaknesses

  • Windsurf-only
  • Character caps truncate silently — a long rule can be half-applied with no error
  • No imports
Full page Browse 102 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