A personal collection of .cursorrules files for different project types and technologies. Think of it as "dotfiles" but specifically for Cursor AI configuration.
.cursorrules files are configuration files that provide Cursor AI with specific instructions on how to generate and interact with code. They act as a blueprint for guiding the AI's behavior to match your project's standards and requirements.
.
├── README.md
├── rails/ # Ruby on Rails specific rules
│ ├── basic.cursorrules # Basic Rails conventions
│ └── api.cursorrules # Rails API specific rules
├── javascript/ # JavaScript framework rules
├── python/ # Python specific rules
└── scripts/ # Helper scripts for installation
└── install.sh # Script to copy rules to new projects- Clone this repository:
git clone https://github.com/yourusername/cursor-rules.git- For a new Rails project, copy the rules:
cp cursor-rules/rails/basic.cursorrules your-rails-project/.cursorrulesOr use the install script:
./scripts/install.sh rails your-project-pathFeel free to add your own rules or improve existing ones by submitting pull requests.
MIT