cursor-rules / rules
Cursor rule8 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 1,533 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 repository17 other files it gives its agents.
- .cursor/rules/aws-bedrock.mdcCursor rule
- .cursor/rules/aws-cloudformation.mdcCursor rule
- .cursor/rules/aws-dynamodb.mdcCursor rule
- .cursor/rules/aws-eventbridge.mdcCursor rule
- .cursor/rules/aws-gamelift.mdcCursor rule
- .cursor/rules/aws-iam.mdcCursor rule
- .cursor/rules/aws-lambda.mdcCursor rule
- .cursor/rules/aws-sagemaker.mdcCursor rule
- .cursor/rules/aws-sam.mdcCursor rule
- .cursor/rules/aws-vpc.mdcCursor rule
- .cursor/rules/base.mdcCursor rule
- .cursor/rules/docs-structure.mdcCursor rule
- .cursor/rules/expo.mdcCursor rule
- .cursor/rules/nextjs.mdcCursor rule
- .cursor/rules/react.mdcCursor rule
- .cursor/rules/react-native.mdcCursor rule
- .cursor/rules/typescript.mdcCursor rule
The file
Show its rules and text
We split this readme-documentation.mdc into the rules it gives an agent
28 rules. About 0 are common, 28 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈28
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 17
Add badges for build status, version, license, etc.
- Distinctive: line 20
Use visual elements (screenshots, diagrams) when they add value
- Distinctive: line 22
Keep the main README under 1000 lines.
- Distinctive: line 36
Write in a clear, direct style with active voice
- Distinctive: line 37
Use consistent formatting for commands, code, and outputs
- Distinctive: line 41
Use proper Markdown formatting for improved readability
- Distinctive: line 43
Keep code examples concise but complete
- Distinctive: line 47
Use syntax highlighting with proper language tags
- Distinctive: line 51
Ensure examples are up-to-date with current API
- Distinctive: line 52
Use consistent style across all examples
- Distinctive: line 53
Test all examples to ensure they work as documented
- Distinctive: line 56
Keep the main README.md focused on getting started
- Distinctive: line 57
Create a docs/ directory for detailed documentation
- Distinctive: line 60
Create separate files for different aspects of the project
- Distinctive: line 61
Use a consistent naming convention for documentation files
- Distinctive: line 66
Consider different user types (beginners, experts, etc.)
- Distinctive: line 68
Place essential "getting started" information prominently
- Distinctive: line 71
Create FAQ sections for common questions
- Distinctive: line 76
Update docs when features change
- Distinctive: line 86
Consider using documentation generators for API docs
- Distinctive: line 88
Use diagram-as-code tools (Mermaid, PlantUML) for diagrams
- Distinctive: line 89
Create a style guide for documentation contributors
- Distinctive: line 91
Use templates for common documentation patterns
- Distinctive: line 92
Consider using a static site generator for complex documentation
- Distinctive: line 97
Document design decisions and trade-offs
- Distinctive: line 98
Create deployment environment specifications
- Distinctive: line 100
Document known limitations and future roadmap
- Distinctive: line 103
Document integration points with other systems
≈ “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.
Files
--- description: globs: alwaysApply: true --- --- Description: Best practices for README and project documentation Globs: **/README.md, **/docs/**/*.md --- # README Documentation Standards @base.mdc ## README Structure - Begin with a clear, concise project title - Include a brief description directly under the title - Add badges for build status, version, license, etc. when applicable - Structure with clear, hierarchical headings - Include a table of contents for longer READMEs - Use visual elements (screenshots, diagrams) when they add value - End with relevant supplementary sections (license, contributing, etc.) - Keep the main README under 1000 lines; link to docs/ for details ## Essential Sections - **Introduction** - What the project is and its primary purpose - **Features** - Key capabilities, preferably as a bulleted list - **Installation** - Step-by-step instructions for getting started - **Usage** - Basic examples showing common use cases - **Configuration** - Environment variables and settings - **API Documentation** - For libraries and services - **Deployment** - Instructions for deploying to production - **Contributing** - How others can contribute to the project - **License** - The project's license information ## Documentation Style - Write in a clear, direct style with active voice - Use consistent formatting for commands, code, and outputs - Highlight important notes and warnings using blockquotes or admonitions - Include version-specific information when relevant - Maintain a friendly, helpful tone throughout - Use proper Markdown formatting for improved readability - Include anchors for deep linking to specific sections - Keep code examples concise but complete ## Code Examples - Include complete, working examples - Use syntax highlighting with proper language tags - Show both simple and advanced use cases - Include expected output when applicable - Comment code examples for clarity - Ensure examples are up-to-date with current API - Use consistent style across all examples - Test all examples to ensure they work as documented ## Documentation Organization - Keep the main README.md focused on getting started - Create a docs/ directory for detailed documentation - Organize docs/ by topic or user journey - Include an index.md in docs/ to guide navigation - Create separate files for different aspects of the project - Use a consistent naming convention for documentation files - Cross-link between related documentation sections - Include a CHANGELOG.md for version history ## Writing for Different Audiences - Consider different user types (beginners, experts, etc.) - Structure documentation to serve all user levels - Place essential "getting started" information prominently - Provide deeper technical details in later sections - Include architecture details for contributors - Create FAQ sections for common questions - Include troubleshooting guides for common issues - Link to further learning resources when appropriate ## Maintaining Documentation - Update docs when features change - Review documentation during release process - Date and version documentation when appropriate - Implement documentation reviews as part of PRs - Make documentation updates atomic with code changes - Archive outdated documentation rather than deleting - Mark deprecated features clearly - Maintain a consistent voice even with multiple contributors ## Documentation Tools (if applicable) - Consider using documentation generators for API docs - Implement Markdown linting for consistency - Use diagram-as-code tools (Mermaid, PlantUML) for diagrams - Create a style guide for documentation contributors - Set up automated checks for broken links - Use templates for common documentation patterns - Consider using a static site generator for complex documentation - Implement search functionality for larger documentation sets ## Project-Specific Documentation - Include system architecture diagrams for complex projects - Document design decisions and trade-offs - Create deployment environment specifications - Include performance benchmarks when relevant - Document known limitations and future roadmap - Include security considerations and best practices - Provide migration guides between major versions - Document integration points with other systems
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.

