speelka-agent / rules
Cursor rule4 starsChanged 19 months agoMITView on GitHub
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 repository11 other files it gives its agents.
- .cursor/rules/check-project.mdcCursor rule
- .cursor/rules/commit-changes.mdcCursor rule
- .cursor/rules/how-to-compact-documentation.mdcCursor rule
- .cursor/rules/how-to-fix-code.mdcCursor rule
- .cursor/rules/mcp-details.mdcCursor rule
- .cursor/rules/tickets-management.mdcCursor rule
- .cursor/rules/workflow-fix.mdcCursor rule
- .cursor/rules/workflow.mdcCursor rule
- .cursor/rules/workflow-plan.mdcCursor rule
- .cursor/rules/working-with-git.mdcCursor rule
- .cursor/rules/zen.mdcCursor rule
The file
We split this tdd-rules.mdc into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Write a simple test for new behavior or to reproduce a bug.
- Very specific: line 10
Run it with ./run test.
- Distinctive: line 13
Write just enough code to pass the test.
- Very specific: line 14
Run ./run test again to confirm it passes.
- Distinctive: line 18
Remove duplicates and make things clearer.
- Very specific: line 19
Run ./run test to ensure it still works.
- Very specific: line 22
Run ./run check to make sure everything is correct.
- Distinctive: line 27
Put tests in the same package as the code being tested.
- Distinctive: line 28
Don't write code just to satisfy tests unless it fixes real issues.
- Distinctive: line 29
Don't use stubs—write real, working code.
≈ “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: globs: alwaysApply: true --- ## TDD Flow 1. **Red** - Write a simple test for new behavior or to reproduce a bug. - Run it with `./run test`. 2. **Green** - Write just enough code to pass the test. - Run `./run test` again to confirm it passes. 3. **Refactor** - Improve code and tests without changing what they do. - Remove duplicates and make things clearer. - Run `./run test` to ensure it still works. 4. **Final Check** - Run `./run check` to make sure everything is correct. - Fix all problems, including lint errors and warnings. ## Test Rules - Put tests in the same package as the code being tested. It's okay to test private methods. - Don't write code just to satisfy tests unless it fixes real issues. - Don't use stubs—write real, working code. - You can rerun specific tests to save time, but always run all tests before finishing.
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.

