Skip to content
On this page
Cursor Rules
Overview
Cursor Rules provide AI-powered coding assistance with predefined context and conventions specific to our projects. This helps maintain consistency and follows our established patterns.
Using Libaro Cursor Rules
Our team maintains a centralized repository of cursor rules at: https://bitbucket.org/libaro/cursor-rules
Setup Instructions
Clone the cursor-rules repository:
bashgit clone https://bitbucket.org/libaro/cursor-rules.gitCopy the appropriate .cursorrules file:
- Browse the available rules in the repository
- Copy the relevant
.cursorrulesfile to your project root - Rename it to
.cursorrules(note the dot prefix)
Activate in Cursor:
- Cursor will automatically detect the
.cursorrulesfile - The AI will use these rules for context and code generation
- Rules apply to the entire project directory
- Cursor will automatically detect the
Best Practices
- Choose the right rules: Select the cursor rules file that matches your project type
- Keep rules updated: Regularly sync with the latest rules from the repository
- Project-specific customization: You can modify rules for specific project needs
- Team consistency: Ensure all team members use the same base rules
Available Rule Sets
Check the cursor-rules repository for the complete list of available rule sets and their descriptions.
Troubleshooting
- Ensure
.cursorrulesis in your project root directory - Restart Cursor if rules don't seem to be applied
- Verify file permissions allow Cursor to read the rules file