{"id":29120047,"url":"https://github.com/continuedev/awesome-rules","last_synced_at":"2025-10-04T17:52:56.417Z","repository":{"id":300224813,"uuid":"994539895","full_name":"continuedev/awesome-rules","owner":"continuedev","description":"A collection of useful rules for coding assistants","archived":false,"fork":false,"pushed_at":"2025-06-27T22:01:04.000Z","size":157,"stargazers_count":32,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T22:34:39.274Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rules.so","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/continuedev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-02T05:15:19.000Z","updated_at":"2025-06-27T22:01:08.000Z","dependencies_parsed_at":"2025-06-20T14:30:52.666Z","dependency_job_id":"d71cc53b-6cfb-46a2-a4ca-828e1c666a05","html_url":"https://github.com/continuedev/awesome-rules","commit_stats":null,"previous_names":["continuedev/awesome-rules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/continuedev/awesome-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Fawesome-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Fawesome-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Fawesome-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Fawesome-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/continuedev","download_url":"https://codeload.github.com/continuedev/awesome-rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Fawesome-rules/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262610789,"owners_count":23336952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-29T14:36:00.736Z","updated_at":"2025-10-04T17:52:56.350Z","avatar_url":"https://github.com/continuedev.png","language":null,"funding_links":[],"categories":["Browse The Shelves"],"sub_categories":["Agent skill packs"],"readme":"# Awesome Rules [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\nThis 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](https://amplified.dev/) standard.\n\n## Why Rules?\n\nRules 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.\n\n\u003e [Read the Anatomy of Good Rules](https://blog.continue.dev/the-anatomy-of-rules-writing-effective-boundaries-for-ai-agents-in-ruby/)\n\n## Rules\n### General\n- [Agent Enablement](./rules/agent-enablement)\n- [Coding Standards](./rules/coding-standards)\n- [Error Handling](./rules/error-handling)\n- [Performance](./rules/performance)\n- [Security](./rules/security)\n- [Task Management](./rules/task-management/)\n\n### Language Specific\n- [Erlang](./rules/erlang)\n- [Go](./rules/go)\n- [Lua](./rules/lua)\n- [Python](./rules/python)\n- [Ruby](./rules/ruby/)\n- [Rust](./rules/rust)\n- [TypeScript](./rules/typescript)\n- [Zig](./rules/zig)\n\n### Framework Specific\n- [Express](./rules/express)\n- [FastAPI](./rules/fastapi)\n- [Next.js](./rules/nextjs)\n- [React](./rules/react)\n- [Supabase](./rules/supabase)\n- [LanceDB](./rules/lancedb/)\n- [tailwind](./rules/tailwind)\n- [trpc](./rules/trpc)\n- [Vue.js](./rules/vue)\n- [Zuplo](./rules/zuplo/)\n- [cognee](./rules/cognee/)\n\n### Code Quality\n\n- [Clean Code](./rules/clean-code)\n- [ESLint Configuration](./rules/eslint-config)\n- [Prettier Formatting](./rules/prettier-standards)\n- [Type Safety Guidelines](./rules/type-safety)\n- [Code Review Standards](./rules/code-review)\n- [Refactoring Patterns](./rules/refactoring-patterns)\n\n\n### Documentation\n\n- [API Documentation](./rules/api-docs)\n- [Changelog](./rules/changelog)\n- [Code Comments](./rules/code-comments)\n- [Post-mortems](./rules/postmortems)\n- [README Standards](./rules/readme-standards)\n\n### Testing\n\n- [Jest Testing](./rules/jest-testing)\n- [Unit Testing Guidelines](./rules/unit-testing)\n- [Integration Testing](./rules/integration-testing)\n- [End-to-End Testing](./rules/e2e-testing)\n- [Test Data Management](./rules/test-data)\n- [TDD Guidelines](./rules/tdd-guidelines)\n- [Cypress Testing](./rules/cypress-testing)\n- [React Testing Library](./rules/react-testing-library)\n- [Recurse ML](./rules/recurse-ml/rml-verify.md)\n\n### DevOps\n\n- [CI/CD](./rules/cicd)\n- [Docker](./rules/docker)\n- [Monitoring](./rules/monitoring)\n- [Terraform](./rules/terraform)\n\n## Using Rules Locally\n\n### [`rules` CLI](https://rules.so)\n\nThe `rules` CLI helps you fetch and manage rules locally, across any AI coding assistant.\n\n### Install `rules`\n\nThe `rules` CLI can be installed using NPM:\n\n```bash\nnpm i -g rules-cli\n```\n\n### Adding Rules to Your Project\n\nTo download rules to your repository you can use `rules add`. For example:\n\n```bash\nrules add starter/nextjs-rules\n```\n\nThis will add them to your project in a local `.rules` folder.\n\nYou can also download from GitHub rather than the rules registry:\n\n```bash\nrules add gh:continuedev/rules\n```\n\nFrom there you can use `rules render` to translate into the format of your choice:\n\n**For Cursor:**\n```bash\nrules render cursor\n```\n\nwill create the following folder structure:\n\n```\nyour-project/\n├── .cursor/\n    └── rules/\n        ├── coding-standards.mdc\n        ├── testing-guidelines.mdc\n        └── documentation-rules.mdc\n```\n\n**For Continue:**\n```bash\nrules render continue\n```\n\nwill create the following folder structure:\n\n```\nyour-project/\n├── .continue/\n│   └── rules/\n│       ├── coding-standards.md\n│       ├── testing-guidelines.md\n│       └── documentation-rules.md\n```\n\n**For other AI assistants:**\nSee [the docs](https://www.rules.so/#render-rules) for the full list of supported formats.\n\n## Contributing\n\nWe welcome contributions, especially if you have great rules to share. \n\n1. Fork this repository\n2. Create your rule in the `rules` folder. The folder name should follow this pattern: `technology-focus-description` For example: `typescript-type-standards-practices`\n4. Update the main README.md file, adding your contribution to the appropriate category.\n5. Ensure your contribution follows the guidelines in the `CONTRIBUTING.md` file in the `.continue/rules` file at the root of this repository.\n6. Submit a pull request with a description, PRs with no description or clear title will be marked as spam and closed.\n\nPlease refer to the `CONTRIBUTING.md` file in the `.continue/rules` for details on how to submit rules, report issues, and contribute to the project.\n\n## License\n\nThis project is licensed under [CC0 1.0 Universal](LICENSE) - see the LICENSE file for details.\n\n## Acknowledgments\n\n- [amplified.dev](https://amplified.dev/), the coding manifesto that inspired this repo\n- [PatrickJS/awesome-cursorrules](https://github.com/PatrickJS/awesome-cursorrules) was an inspiration for the structure of this repo\n- All contributors who help make this list awesome\n\n---\n\n**Note**: This is a community-maintained collection of rules. To read and sign the amplified.dev pledge, visit [amplified.dev](https://amplified.dev/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontinuedev%2Fawesome-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontinuedev%2Fawesome-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontinuedev%2Fawesome-rules/lists"}