agentleFS
korchasakorchasa/speelka-agent/.cursor/rules/zen.mdc

speelka-agent / rules

Cursor rule4 starsChanged 19 months agoMITView on GitHub

The file

We split this zen.mdc into the rules it gives an agent

10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use meaningful names and avoid hidden tricks.

    line 9
  2. Distinctive:

    Use patterns or frameworks only if simple code can't do the job.

    line 11
  3. Distinctive:

    Avoid deep folder trees or class chains.

    line 12
  4. Distinctive:

    Don't hide problems—log them or return them.

    line 17
  5. Distinctive:

    If you must ignore one, explain why and how it's safe.

    line 18
  6. Distinctive:

    Read docs, search online, or test it out.

    line 20
  7. Distinctive:

    Use common patterns others will recognize.

    line 21
  8. Distinctive:

    Leave notes for anything hard to spot.

    line 22
  9. Distinctive:

    If you can explain your design easily, it's probably good.

    line 24
  10. Distinctive:

    If it's hard to explain, it's probably too complex.

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
zen.mdc
---
description:
globs:
alwaysApply: true
---
## Zen of Development

1. Remove anything unnecessary.
2. Use meaningful names and avoid hidden tricks.
3. Build the easiest version that works before adding complexity.
4. Use patterns or frameworks only if simple code can't do the job.
5. Avoid deep folder trees or class chains.
6. Space helps code breathe and makes logic easier to spot.
7. Others will spend more time reading your code than you did writing it.
8. Stick to the style guide, even for edge cases.
9. Clean code matters—but shipping useful code matters more.
10. Don't hide problems—log them or return them.
11. If you must ignore one, explain why and how it's safe.
12. Fix failing tests, linter issues, and missing parts.
13. Read docs, search online, or test it out.
14. Use common patterns others will recognize.
15. Leave notes for anything hard to spot.
16. Move quickly, but still test and review.
17. If you can explain your design easily, it's probably good.
18. If it's hard to explain, it's probably too complex.
19. Reuse libraries and keep your own code modular.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.