Community Guidelines

We're building a collaborative space where developers can share and discover AI behavior rules for Cursor Editor. To ensure everyone has a great experience, please follow these guidelines.

Creating Quality Rules

✅ Do's

  • • Write clear, specific instructions that Cursor can follow
  • • Include examples and code snippets in your rules
  • • Use descriptive names and detailed descriptions
  • • Tag your rules appropriately for easy discovery
  • • Test your rules before sharing them
  • • Follow established patterns and best practices

❌ Don'ts

  • • Don't share rules with vague or unclear instructions
  • • Don't include sensitive information or API keys
  • • Don't create rules that promote harmful practices
  • • Don't spam with low-quality or duplicate rules
  • • Don't violate copyright or intellectual property rights

Rule Categories

React

Rules for React components, hooks, state management, and TypeScript integration.

API

Backend API patterns, error handling, validation, and response formatting.

Testing

Testing strategies, Jest configurations, and testing best practices.

Database

Database operations, security practices, and query optimization.

Security

Security best practices, authentication, and data protection.

Performance

Performance optimization, caching strategies, and efficiency patterns.

Writing Effective Rules

Structure Your Rules

1.
Clear Title: Use descriptive names that explain the rule's purpose
2.
Detailed Description: Explain when and how the rule should be applied
3.
File Pattern: Specify which files the rule applies to (e.g., *.tsx, src/**/*.js)
4.
Code Examples: Include practical examples and templates
5.
Best Practices: List specific guidelines and conventions

Example: Good Rule

Title: React TypeScript Component Pattern
Description: Standard React component with TypeScript interfaces and proper typing
Pattern: *.tsx
Content: Clear instructions with code examples and best practices

Community Etiquette

Be Respectful

Treat other community members with respect. We're all here to learn and share knowledge.

Share Knowledge

Don't just take - contribute back! Share your expertise and help others learn.

Give Credit

If you're building on someone else's work, give them proper credit.

Stay On Topic

Keep discussions focused on Cursor rules and coding best practices.

Need Help?

Resources for Contributors

Browse Templates: Start with our pre-built templates

Read Documentation: Check out Cursor's official docs

Join Discussions: Connect with other developers

Report Issues: Help us improve the platform

Ready to Contribute?

Start sharing your knowledge and help build the best Cursor rules community!