frostwind / rules
Cursor rule87 starsChanged 15 days agoMITView on GitHub
Prose budget
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,360 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/animals.mdcCursor rule
- .cursor/rules/build.mdcCursor rule
- .cursor/rules/built-form.mdcCursor rule
- .cursor/rules/cost-control.mdcCursor rule
- .cursor/rules/desert.mdcCursor rule
- .cursor/rules/frame-palette.mdcCursor rule
- .cursor/rules/hollow.mdcCursor rule
- .cursor/rules/life.mdcCursor rule
- .cursor/rules/morphology.mdcCursor rule
- .cursor/rules/people.mdcCursor rule
- .cursor/rules/pixel-review-gate.mdcCursor rule
- .cursor/rules/projection.mdcCursor rule
- .cursor/rules/reporting-language.mdcCursor rule
- .cursor/rules/spells.mdcCursor rule
- .cursor/rules/swamp.mdcCursor rule
- .cursor/rules/world.mdcCursor rule
- add-characterSkill
- add-worldSkill
- frame-checkSkill
The file
We split this caveman.mdc into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Keep exact: identifiers, numbers, units, negation (not, no, only, except), citation names, and any warning about data loss or security.
- Very specific: line 39
Read the file. Rewrite by hand, with exact-match edits.
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
---
description: Prose budget
globs: "{**/*.md,src/**/*.js,test/**/*.mjs,tools/*.mjs,build.mjs}"
alwaysApply: false
---
# Prose budget
Adapted from https://github.com/juliusbrussee/caveman (MIT).
`tools/context-stats.mjs` is the authority. Run `npm run test:context`. Total
prose stays above the target band, so every edit here moves a measured number.
## Delete first
Compression caps at 10%, the article share. Deletion is the lever.
1. Narrative history. "It used to be summed", "there was a second one until this
commit", "both are deleted". Git holds it. State the law in the present.
2. A second copy of a law that `docs/CANON.md`, a routed spec, or a module
already owns. A comment retelling a doc's essay is the third copy.
3. A comment that restates the code.
4. A closing summary and a sentence that announces the next sentence.
A measured failure is not history. Keep the numbers, drop the tense: "summing
makes a 0.30 m bed measure 0.41 m" beats "these terms used to be summed, which
quietly made every floor relative".
## Then compress
Drop articles, filler (`just`, `simply`, `actually`), and hedges. Use
`[thing] [value] [reason]`. Fragments are correct.
Keep exact: identifiers, numbers, units, negation (`not`, `no`, `only`,
`except`), citation names, and any warning about data loss or security.
## Method
Read the file. Rewrite by hand, with exact-match edits. Never reflow prose with
a script. `npm run codehash` proves that a comment pass left the code identical.
An always-loaded word costs every task. A `docs/` word costs one route. Cut
`AGENTS.md` and the rules first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

