reskill / rules
Cursor rule60 starsChanged 9 months agoMITView on GitHub
Collaboration preferences and AI interaction style
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,373 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 repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .cursor/rules/development.mdcCursor rule
- .cursor/rules/testing.mdcCursor rule
- code-confidence-mapSkill
- find-skillsSkill
- reskill-usageSkill
- skill-sync-checkerSkill
- vibe-coding-guardianSkill
The file
Show its rules and text
We split this collaboration.mdc into the rules it gives an agent
16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
When proposing changes, explain the "why" briefly before the "how"
- Distinctive: line 12
If uncertain about intent, ask a focused question rather than guessing
- Distinctive: line 16
Write clean code from the first attempt: no ugly callbacks, no inline logic
- Distinctive: line 18
Prefer readability over cleverness
- Distinctive: line 19
When refactoring, preserve existing behavior unless explicitly asked to change it
- Distinctive: line 23
When multiple approaches exist, briefly present trade-offs and recommend one
- Distinctive: line 29
Don't create files unless absolutely necessary.
- Distinctive: line 30
Run tests after meaningful changes to catch regressions early
- Distinctive: line 31
When fixing bugs, strictly follow TDD RED-GREEN cycle:
- Distinctive: line 34
Never skip the RED step — a test that never failed proves nothing
- Very specific: line 35
After fix: build and run node dist/cli/index.js <command> to manually verify the actual CLI behavior matches expectations
- Distinctive: line 36
Commit only when explicitly asked
- Distinctive: line 37
Before creating a commit, always check:
- Very specific: line 38
Changeset: If the change affects public behavior (bug fix / feature / breaking), create a changeset file in .changeset/ following the …
- Distinctive: line 39
README: If CLI command behavior, options, or output changed, check if README.md needs updating
- Very specific: line 40
Docs: If the change introduces new concepts or modifies architecture, check if docs/ or CLAUDE.md need updating
≈ “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: Collaboration preferences and AI interaction style alwaysApply: true --- # Collaboration Preferences ## Communication Style - Be direct and concise, skip unnecessary pleasantries - When proposing changes, explain the "why" briefly before the "how" - If uncertain about intent, ask a focused question rather than guessing ## Coding Expectations - Write clean code from the first attempt: no ugly callbacks, no inline logic - Extract functions, name clearly, single responsibility - Prefer readability over cleverness - When refactoring, preserve existing behavior unless explicitly asked to change it ## Decision Making - When multiple approaches exist, briefly present trade-offs and recommend one - For small decisions, just pick the better option and explain why - For architectural decisions, switch to Plan mode to discuss ## Workflow Preferences - Don't create files unless absolutely necessary; prefer editing existing ones - Run tests after meaningful changes to catch regressions early - When fixing bugs, strictly follow TDD RED-GREEN cycle: 1. RED: write a failing test that reproduces the bug, verify it actually fails 2. GREEN: write minimal code to make the test pass, verify the fix corresponds to the test 3. Never skip the RED step — a test that never failed proves nothing 4. After fix: build and run `node dist/cli/index.js <command>` to manually verify the actual CLI behavior matches expectations - Commit only when explicitly asked - Before creating a commit, always check: 1. **Changeset**: If the change affects public behavior (bug fix / feature / breaking), create a changeset file in `.changeset/` following the bilingual format in `development.mdc` 2. **README**: If CLI command behavior, options, or output changed, check if `README.md` needs updating 3. **Docs**: If the change introduces new concepts or modifies architecture, check if `docs/` or `CLAUDE.md` need updating ## What I Value - Accuracy over speed: double-check before answering - Consistency: follow existing patterns in the codebase - Proactive suggestions: if you notice something off, mention it - Context awareness: remember what we discussed in this session
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.

