Copilot instructions 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.
| Format | Copilot instructions 2026-08-01 | .cursorrules 2026-08-02 |
|---|---|---|
| Asserted — what the docs say it can express | ||
| File | .github/copilot-instructions.md | .cursorrules |
| Status | vendor | deprecated |
| Cross-tool | No | No |
| Tools that read it |
|
|
| Frontmatter | Yes | No |
| Glob targeting | Yes | No |
| Imports other files | No | No |
| Nested / per-directory | No | No |
| Multiple files | Yes | No |
| User-level scope | No | No |
| When it applies | copilot-instructions.md is always in scope. Additional .github/instructions/*.instructions.md files load when their applyTo glob matches the open file. | Always in scope, single file at the repo root. |
| Size limits | None | None |
| Measured — counted from real repositories on 2026-08-03 | ||
| Repositories carrying it | 126 | 27 |
| Share of indexed repos | 18.1% | 3.9% |
| Files indexed | 309 | 308 |
| Median length (words) | 417 | 365 |
| 90th percentile length | 1,329 | 1,104 |
| Files naming commands | 41.8% | 13.6% |
| Files containing code | 48.2% | 25.0% |
| Median quality score | 60 | 41 |
| Median repository stars | 18,124 | 26 |
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 + Copilot instructions
2026-08-035
repositories carry both. That is 18.5% of everything with .cursorrules, and 4.0% of everything with Copilot instructions.
What each one is for
Copilot instructions
2026-08-01Two layers: one always-on repo file, plus optional glob-scoped instruction files. Lives under .github/ rather than the repo root, which is the tell that it is aimed at the GitHub platform surface as much as the editor.
Strengths
- Reaches Copilot across the editor, github.com and the coding agent from one file
- applyTo globs give per-path targeting without leaving the .github convention
Weaknesses
- Copilot-only
- No imports; shared text is copied between instruction files
- Buried under .github/, so contributors discover it less often than a root file
.cursorrules
2026-08-02Cursor'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
