{"id":25995025,"url":"https://github.com/hashiiiii/rules-for-ai","last_synced_at":"2026-02-07T17:31:11.381Z","repository":{"id":279650524,"uuid":"939497466","full_name":"hashiiiii/rules-for-ai","owner":"hashiiiii","description":"Rules and guidelines for optimizing AI coding assistant interactions in Windsurf and Cursor IDEs.","archived":false,"fork":false,"pushed_at":"2025-04-02T00:25:57.000Z","size":64,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-14T08:22:03.019Z","etag":null,"topics":["ai","ai-agents","ai-assistant","coding-agents","coding-assistant","cursor","editor","windsurf"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashiiiii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-02-26T16:27:23.000Z","updated_at":"2025-06-19T15:04:30.000Z","dependencies_parsed_at":"2025-02-26T17:38:27.626Z","dependency_job_id":"9bd72722-6fc8-43b1-b0d7-7d3388bf4222","html_url":"https://github.com/hashiiiii/rules-for-ai","commit_stats":null,"previous_names":["hashiiiii/rules-for-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hashiiiii/rules-for-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashiiiii%2Frules-for-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashiiiii%2Frules-for-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashiiiii%2Frules-for-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashiiiii%2Frules-for-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashiiiii","download_url":"https://codeload.github.com/hashiiiii/rules-for-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashiiiii%2Frules-for-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29201072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","ai-agents","ai-assistant","coding-agents","coding-assistant","cursor","editor","windsurf"],"created_at":"2025-03-05T15:18:18.005Z","updated_at":"2026-02-07T17:31:11.364Z","avatar_url":"https://github.com/hashiiiii.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 Rules for AI\n\u003cimg src=\"https://img.shields.io/badge/LICENSE-MIT-green\"\u003e\n\nDocumentation ([English](https://github.com/hashiiiii/rules-for-ai/blob/main/README.md), [日本語](https://github.com/hashiiiii/rules-for-ai/blob/main/README_JA.md))\n\n## 📋 Overview\n\nThis is a ruleset to enhance AI assistants integrated in Windsurf and Cursor.\nFor global settings, use the predefined windsurf: global_rules.md / cursor: global_rules.mdc.\nFor workspace-specific settings, use windsurf: .windsurfrules / cursor: project_rules.mdc.\nThese are automatically updated through interactive dialogue with the AI assistant.\n\n\u003e [!WARNING]\n\u003e\n\u003e windsurf\n\u003e - global: global_rules.md\n\u003e - local: .windsurfrules\n\u003e - docs: https://docs.codeium.com/windsurf/memories#windsurfrules\n\u003e\n\u003e cursor\n\u003e - global: global_rules.mdc\n\u003e - local: project_rules.mdc\n\u003e - docs: https://docs.cursor.com/context/rules-for-ai\n\u003e\n\n## ✨ Key Features\n\n- 🔄 **Interactive Setup**: Interactively tune .windsurfrules / project_rules.mdc\n- 📝 **High-Quality Common Configuration Files**: Pre-defined high-quality global_rules.md / global_rules.mdc\n- ⚡ **Task-Oriented Shortcuts**: Shortcuts that can be used universally for each task\n\n## 🚀 Quick Start\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/hashiiiii/rules-for-ai.git\n```\n\n2. Open any workspace in your IDE and set up the rules files:\n   - `.windsurfrules` / `global_rules.md` - For Windsurf IDE\n   - `project_rules.mdc` / `global_rules.mdc` - For Cursor IDE\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e If global settings are sufficient, migration steps are not necessary.\n\u003e\n\n3. Run the setup command\n   - Execute the `/setup` command\n\n4. Run the save command\n   - Execute the `/store` command\n\n## 🔍 Available Shortcuts\n\n- `/setup`   : Start the setup process\n- `/adjust`  : Fine-tune the current workspace configuration file\n- `/store`   : Update the file based on the answers obtained through the setup process\n- `/plan`    : Create a detailed work plan\n- `/debug`   : Systematic debugging approach\n- `/review`  : Code quality review\n- `/refactor`: Improve readability and maintainability\n- `/optimize`: Performance optimization suggestions\n- `/test`    : Testing strategy\n- `/doc`     : Documentation assistance\n- `/arch`    : Architecture design\n- `/cmt`     : Code comments\n- `/mvp`     : Build an MVP (Minimum Viable Product)\n- `/help`    : Display available shortcuts\n\n## 📄 License\n\nThis project is provided under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashiiiii%2Frules-for-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashiiiii%2Frules-for-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashiiiii%2Frules-for-ai/lists"}