This collection focuses on rules written in standard markdown format with YAML frontmatter, compatible with various AI coding assistants like Cursor, Continue.dev, and others following the amplified.dev standard.
Rules are more than just suggestions; they’re essential building blocks that shape how your assistant interprets your requests. Clear, actionable rules help the agent consistently produce code that meets your standards, avoids common pitfalls, and aligns with your team’s workflows.
- Clean Code
- ESLint Configuration
- Prettier Formatting
- Type Safety Guidelines
- Code Review Standards
- Refactoring Patterns
- Jest Testing
- Unit Testing Guidelines
- Integration Testing
- End-to-End Testing
- Test Data Management
- TDD Guidelines
- Cypress Testing
- React Testing Library
- Recurse ML
The rules CLI helps you fetch and manage rules locally, across any AI coding assistant.
The rules CLI can be installed using NPM:
npm i -g rules-cliTo download rules to your repository you can use rules add. For example:
rules add starter/nextjs-rulesThis will add them to your project in a local .rules folder.
You can also download from GitHub rather than the rules registry:
rules add gh:continuedev/rulesFrom there you can use rules render to translate into the format of your choice:
For Cursor:
rules render cursorwill create the following folder structure:
your-project/
├── .cursor/
└── rules/
├── coding-standards.mdc
├── testing-guidelines.mdc
└── documentation-rules.mdc
For Continue:
rules render continuewill create the following folder structure:
your-project/
├── .continue/
│ └── rules/
│ ├── coding-standards.md
│ ├── testing-guidelines.md
│ └── documentation-rules.md
For other AI assistants: See the docs for the full list of supported formats.
We welcome contributions, especially if you have great rules to share.
- Fork this repository
- Create your rule in the
rulesfolder. The folder name should follow this pattern:technology-focus-descriptionFor example:typescript-type-standards-practices - Update the main README.md file, adding your contribution to the appropriate category.
- Ensure your contribution follows the guidelines in the
CONTRIBUTING.mdfile in the.continue/rulesfile at the root of this repository. - Submit a pull request with a description, PRs with no description or clear title will be marked as spam and closed.
Please refer to the CONTRIBUTING.md file in the .continue/rules for details on how to submit rules, report issues, and contribute to the project.
This project is licensed under CC0 1.0 Universal - see the LICENSE file for details.
- amplified.dev, the coding manifesto that inspired this repo
- PatrickJS/awesome-cursorrules was an inspiration for the structure of this repo
- All contributors who help make this list awesome
Note: This is a community-maintained collection of rules. To read and sign the amplified.dev pledge, visit amplified.dev.