This repository contains a comprehensive set of rules and best practices established for using Cursor AI in software development. These rules have been developed and refined over time to optimize interaction with Cursor AI and ensure high-quality code production.
.
├── nuxt/ # Nuxt.js specific rules
│ ├── architecture-rules.mdc
│ └── tests-rules.mdc
├── typescript/ # TypeScript rules and best practices
│ ├── any-inside-generic-functions.mdc
│ ├── default-exports.mdc
│ ├── discriminated-unions.mdc
│ └── ...
├── seo/ # SEO optimization rules
│ └── common.mdc
└── user-rules.mdc # General rules and main directives
- Scalability and maintainability guidelines
- Operating modes (Planning, Architecture, Debugging)
- PRD management
- GitHub integration
- UI design
- Testing
A comprehensive set of TypeScript best practices covering:
- Naming conventions
- Types and interfaces usage
- Generics management
- Exports and imports
- JSDoc comments
- Optional and readonly properties
- Error handling
- Nuxt.js application architecture
- Testing and code quality
- Nuxt-specific best practices
- Common search engine optimization guidelines
- Best practices for search engine optimization
These rules are designed to be used with Cursor AI to:
- Maintain consistency in produced code
- Ensure code quality and maintainability
- Optimize interaction with Cursor AI
- Standardize development practices
The rules are continuously updated and improved. If you wish to contribute:
- Ensure your modifications follow existing conventions
- Clearly document proposed changes
- Test new rules in various contexts
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or suggestions regarding these rules, feel free to open an issue in this repository.