RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

GEMINI.md vs Windsurf rules

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
FormatGEMINI.md
2026-08-01
Windsurf rules
2026-08-01
Asserted — what the docs say it can express
FileGEMINI.md.windsurf/rules/*.md
Statusvendorvendor
Cross-toolNoNo
Tools that read it
  • Gemini CLI
  • Gemini Code Assist
  • Windsurf
  • Cascade
FrontmatterNoYes
Glob targetingNoYes
Imports other filesYesNo
Nested / per-directoryYesNo
Multiple filesYesYes
User-level scopeYesYes
When it appliesHierarchical memory: a global ~/.gemini/GEMINI.md, then the project file, then nested files, concatenated from broadest to narrowest.Four trigger modes in frontmatter: always_on, glob, model_decision, manual. The legacy single-file .windsurfrules is still read.
Size limitsNonePer-rule and total character caps apply; long rules are truncated rather than rejected.
Measured — counted from real repositories on 2026-08-03
Repositories carrying it3314
Share of indexed repos4.8%2.0%
Files indexed46102
Median length (words)257515
90th percentile length1,7041,518
Files naming commands52.2%37.3%
Files containing code45.6%70.6%
Median quality score6058
Median repository stars11,297114

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.

GEMINI.md + Windsurf rules

2026-08-03

7

repositories carry both. That is 21.2% of everything with GEMINI.md, and 50.0% of everything with Windsurf rules.

What each one is for

GEMINI.md

2026-08-01

Gemini CLI's memory file, structurally close to CLAUDE.md — @imports and a user-scope layer — which is why repos that carry both usually carry near-identical text in each.

Strengths

  • @path imports and a global user file, same composition model as CLAUDE.md
  • Explicit hierarchy from global to local

Weaknesses

  • Google-only
  • No glob targeting
Full page Browse 46 files

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
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