A collection of Cursor.ai rules designed to enhance productivity when working with ABP Framework projects. These rules help streamline development workflows and provide intelligent assistance for ABP-specific patterns and practices.
This is a new, experimental project that is currently in its early stages. The rules have been created using AI and extensive documentation research, but they haven't been fully tested in major ABP projects yet. This repository serves as a starting point, and we hope that the community will help enhance and improve these rules over time through real-world usage and contributions.
Currently, the rules primarily focus on MVC Razor Pages as the UI platform. We welcome contributions for other UI platforms. If you're working with any of these platforms, your contributions would be greatly appreciated to expand the rules' coverage.
- ABP Framework-specific code generation templates
- Intelligent code completion for ABP patterns
- Best practices enforcement
- Domain-driven design (DDD) pattern suggestions
- Entity and aggregate root templates
- Repository pattern implementations
- Application service patterns
- ABP module configuration assistance
- Cursor IDE installed
- Basic understanding of ABP Framework
- Familiarity with C# and .NET development
- Clone this repository:
git clone https://github.com/yourusername/abp-cursor-rules.git
- Copy the rules to your Cursor rules directory:
cp -r abp-cursor-rules/* ~/.cursor/rules/
- Restart Cursor IDE to apply the new rules
The rules will automatically activate when working with ABP Framework projects. They provide:
- Intelligent code suggestions
- Template-based code generation
- Pattern recognition and enforcement
- Best practice recommendations
We welcome contributions to improve these rules! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Ensure your rules follow ABP Framework best practices
- Include clear documentation for new rules
- Add examples where appropriate
- Test your rules thoroughly before submitting
- Follow the existing code style and formatting
This project is licensed under the MIT License - see the LICENSE file for details.
- ABP Framework team for their excellent documentation
- Cursor.ai team for their amazing IDE
- All contributors who help improve these rules
If you have any questions or suggestions, please open an issue in the repository.
Made with ❤️ by the ABP community