{"id":29120055,"url":"https://github.com/continuedev/rules","last_synced_at":"2025-06-29T14:36:04.508Z","repository":{"id":301282985,"uuid":"991628718","full_name":"continuedev/rules","owner":"continuedev","description":"📕 A CLI for managing rules across any AI IDE","archived":false,"fork":false,"pushed_at":"2025-06-26T03:45:52.000Z","size":416,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T04:29:40.124Z","etag":null,"topics":["ai","continue","copilot","cursor","llm","open-source","rules","vscode","windsurf"],"latest_commit_sha":null,"homepage":"https://rules.so","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/continuedev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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-05-27T23:22:48.000Z","updated_at":"2025-06-26T03:36:53.000Z","dependencies_parsed_at":"2025-06-26T04:29:46.551Z","dependency_job_id":"28c8a3b7-4016-41d7-9079-3debc7336929","html_url":"https://github.com/continuedev/rules","commit_stats":null,"previous_names":["continuedev/rules"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/continuedev/rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Frules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Frules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Frules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Frules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/continuedev","download_url":"https://codeload.github.com/continuedev/rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuedev%2Frules/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262003616,"owners_count":23243323,"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":["ai","continue","copilot","cursor","llm","open-source","rules","vscode","windsurf"],"created_at":"2025-06-29T14:36:01.978Z","updated_at":"2025-06-29T14:36:04.492Z","avatar_url":"https://github.com/continuedev.png","language":"Go","readme":"# rules\n\n\u003e **tl;dr:** `npm i -g rules-cli` then `rules add starter/nextjs-rules`\n\n`rules` is a CLI built for managing rules across any AI developer tool. Rules are markdown files that encode workflows, preferences, tech stack details, and more in plain natural language so you can get better help from LLMs.\n\n## Install `rules`\n\nThe `rules` CLI can be installed using NPM:\n\n```bash\nnpm i -g rules-cli\n```\n\n## Add rules\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-template\n```\n\n## Render rules\n\nTo use rules with your AI code assistant of choice, you can \"render\" them to the necessary format and location using `rules render`. For example,\n\n```bash\nrules render cursor\n```\n\nwill copy all of the `.rules/` into a `.cursor/rules/` folder. `rules` currently supports the following formats: cursor, continue, windsurf, claude, copilot, codex, cline, cody, and amp.\n\n## Publish rules\n\nTo make your rules available to others, you can publish using `rules publish`:\n\n```bash\nrules login\nrules publish\n```\n\nThis would make your rule available to download with `rules add \u003cname-of-rules\u003e`.\n\nThe command automatically determines the slug from your `rules.json` file. To make sure you have a `rules.json` file in your current directory, use `rules init`.\n\n## Helping users use your rules\n\nIf you are building a developer tool and want to optimize how AI IDEs work with your tool, `rules` makes it easy to give your users the best experience.\n\n1. Make your account on the [registry](https://hub.continue.dev/signup) and create an organization\n2. [Publish your rules](index.md#publish-rules)\n3. Mention the corresponding `rules add \u003cname-of-rules\u003e` command in your documentation\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontinuedev%2Frules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontinuedev%2Frules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontinuedev%2Frules/lists"}