Collection / rules
Cursor rule1 starsChanged 9 months agoMITView on GitHub
Clean Code Implementation and Project Management Best Practices
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,183 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 repository15 other files it gives its agents.
- .cursor/rules/AGENT.mdcCursor rule
- .cursor/rules/AI Text Humanizer Specialist.mdcCursor rule
- .cursor/rules/App_reviewer.mdcCursor rule
- .cursor/rules/maintainer.mdcCursor rule
- .cursor/rules/production.mdcCursor rule
- .cursor/rules/Project_Manager.mdcCursor rule
- .cursor/rules/README.mdcCursor rule
- agent-hubSkill
- blueprintkitSkill
- context-engineeringSkill
- core-engineeringSkill
- co-star-uiSkill
- erc8004-agent-creatorSkill
- startupSkill
- webmcp-agentsSkill
The file
Show its rules and text
We split this rules.mdc into the rules it gives an agent
13 rules. About 0 are common, 13 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use descriptive, intention-revealing names for variables, functions, classes, etc.
- Distinctive: line 14
Avoid vague or misleading names to improve readability and maintainability.
- Distinctive: line 16
Write code that clearly expresses intent to minimize comments.
- Distinctive: line 20
Use modern language features like async/await for better async operations management.
- Distinctive: line 21
Use code linting and formatting tools (ESLint, Prettier) automatically.
- Distinctive: line 22
Write unit tests to ensure correctness and ease future refactoring.
- Distinctive: line 23
Avoid duplications by abstracting repeated logic into reusable functions/classes.
- Distinctive: line 26
Avoid Emoji on UI and Codebase
- Distinctive: line 27
Always Professional UI Layout Positioning, Font, Spacing, and more releants
- Distinctive: line 33
Use project management tools for task, version, and documentation tracking.
- Distinctive: line 36
Use code reviews with multiple reviewers and integrate automated checks.
- Distinctive: line 40
Use effective communication tools (Slack, Teams) for streamlined interactions.
- Distinctive: line 42
Keep audit trails with reasons and author for changes and enforce access controls.
≈ “Common” is an estimate: at least 1 in 5 of the 6,668 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: Clean Code Implementation and Project Management Best Practices globs: - "**/*.ts" - "**/*.js" - "**/*.tsx" - "**/*.jsx" alwaysApply: true --- # Clean Code Implementation Techniques - Use descriptive, intention-revealing names for variables, functions, classes, etc. - Avoid vague or misleading names to improve readability and maintainability. - Each function or module should have one clear purpose, following Single Responsibility Principle (SRP). - Write code that clearly expresses intent to minimize comments; comment "why", not "what". - Replace magic numbers or strings with named constants for clarity. - Organize code into layers or modules (routes, controllers, services, models). - Implement centralized and consistent error handling. - Use modern language features like async/await for better async operations management. - Use code linting and formatting tools (ESLint, Prettier) automatically. - Write unit tests to ensure correctness and ease future refactoring. - Avoid duplications by abstracting repeated logic into reusable functions/classes. - Enforce coding standards using linters and pre-commit hooks. - Regularly refactor code for simplicity and reduced technical debt. - Avoid Emoji on UI and Codebase - Always Professional UI Layout Positioning, Font, Spacing, and more releants # Project Management and Collaboration - Define clear project scope, objectives, deliverables, deadlines, and constraints. - Assign clear roles and responsibilities for team members. - Use project management tools for task, version, and documentation tracking. - Practice regular communication, standups, reviews, and retrospectives. - Design APIs/modules to be idempotent and implement caching/memoization. - Use code reviews with multiple reviewers and integrate automated checks. - Employ branching strategies like GitFlow and commit with descriptive messages. - Maintain detailed project documentation, including API docs and architecture decisions. - Automate repetitive tasks such as builds, deployments, and code quality checks. - Use effective communication tools (Slack, Teams) for streamlined interactions. - Share reusable code snippets consistently. - Keep audit trails with reasons and author for changes and enforce access controls. - Adapt conflict resolution styles and encourage collaborative problem-solving.
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.

