awesome-ai-rules
π€ Curated AI coding assistant rules for Cursor, Claude Code, Copilot, Windsurf, Codex CLI & Gemini CLI. Copy-paste configs for TypeScript, React, Next.js & Python.
Install / Use
npx skills add Lay4U/awesome-ai-rulesInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of awesome-ai-rules
awesome-ai-rules scores 78/100 on our quality scale, 3617th of 4,614 Development & Engineering skills we index.
Its .cursorrules is 11 KB long, well organised into 26 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.
It has 6 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-10-19 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 86/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit β read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk β read a skill before letting an agent act on it.
awesome-ai-rules compared with similar skills
All 4 of these similar skills score higher than awesome-ai-rules; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| awesome-ai-rules (this skill)by Lay4U | 78 | 6 | 8mo ago | .cursorrules |
| taste-skillby Leonxlnx | 100 | 111.0k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.5k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 70.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install awesome-ai-rules?
- Run
npx skills add Lay4U/awesome-ai-rules. The install tabs above show the steps for each supported agent. - Which AI agents does awesome-ai-rules work with?
- It is written for Cursor, Claude Code, GitHub Copilot, Windsurf, Cline, Gemini CLI, OpenAI Codex and Aider, as a .cursorrules file. Other agents that read the same format can often use it too.
- Is awesome-ai-rules safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 86/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is awesome-ai-rules still maintained?
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubAwesome AI Rules
The definitive collection of AI coding rules for every tool and stack
Production-ready AI coding rules for 8 tools across 9 stacks, ready to copy into your project in seconds.
English | νκ΅μ΄ | δΈζ | ζ₯ζ¬θͺ
</div>Why This Exists
AI coding output quality depends heavily on instruction quality. Most teams still rewrite the same rules for every new project and tool. This repository standardizes that process with stack-specific rule sets. Each file is practical, opinionated, and designed for real production workflows. Use it to reduce prompt drift, improve consistency, and onboard faster. Copy what fits, customize what matters, and ship with higher confidence.
Quick Start
# Cursor (TypeScript)
cp rules/cursor/typescript/.cursorrules ./.cursorrules
# Claude Code (React)
cp rules/claude-code/react/CLAUDE.md ./CLAUDE.md
# Copilot (Next.js)
mkdir -p ./.github && cp rules/copilot/nextjs/.github/copilot-instructions.md ./.github/copilot-instructions.md
# Windsurf (Python)
cp rules/windsurf/python/.windsurfrules ./.windsurfrules
# Codex (Go)
cp rules/codex/go/AGENTS.md ./AGENTS.md
# Gemini CLI (Rust)
cp rules/gemini-cli/rust/GEMINI.md ./GEMINI.md
# Aider (Vue)
cp rules/aider/vue/.aider.conf.yml ./.aider.conf.yml
# Cline (Java)
cp rules/cline/java/.clinerules ./.clinerules
Full Navigation Matrix
| Tool | Config File | TypeScript | React | Next.js | Python | Go | Rust | Vue | Svelte | Java |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Cursor | .cursorrules | β
| β
| β
| β
| β
| β
| β
| β
| β
|
| Claude Code | CLAUDE.md | β
| β
| β
| β
| β
| β
| β
| β
| β
|
| Copilot | copilot-instructions.md | β
| β
| β
| β
| β
| β
| β
| β
| β
|
| Windsurf | .windsurfrules | β
| β
| β
| β
| β
| β
| β
| β
| β
|
| Codex | AGENTS.md | β
| β
| β
| β
| β
| β
| β
| β
| β
|
| Gemini CLI | GEMINI.md | β
| β
| β
| β
| β
| β
| β
| β
| β
|
| Aider | .aider.conf.yml | β
| β
| β
| β
| β
| β
| β
| β
| β
|
| Cline | .clinerules | β
| β
| β
| β
| β
| β
| β
| β
| β
|
Tool Rules
Cursor (.cursorrules)
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/cursor/<stack>/.cursorrules /path/to/project/.cursorrules
Claude Code (CLAUDE.md)
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/claude-code/<stack>/CLAUDE.md /path/to/project/CLAUDE.md
Copilot (copilot-instructions.md)
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
mkdir -p /path/to/project/.github && cp rules/copilot/<stack>/.github/copilot-instructions.md /path/to/project/.github/copilot-instructions.md
Windsurf (.windsurfrules)
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/windsurf/<stack>/.windsurfrules /path/to/project/.windsurfrules
Codex (AGENTS.md)
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/codex/<stack>/AGENTS.md /path/to/project/AGENTS.md
Gemini CLI (GEMINI.md)
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/gemini-cli/<stack>/GEMINI.md /path/to/project/GEMINI.md
Aider (.aider.conf.yml)
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/aider/<stack>/.aider.conf.yml /path/to/project/.aider.conf.yml
Cline (.clinerules)
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/cline/<stack>/.clinerules /path/to/project/.clinerules
Guides
Contributing
Contributions are welcome. Please read CONTRIBUTING.md and open a PR with clear rationale and examples.
License
Released under the MIT License.
Star This Repo
If this repository helps your team ship faster with AI coding tools, please star the project.
Related Skills
taste-skill
111.0kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
109.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu β one CLI, zero API fees.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
70.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit β see the Safety scan above for what the skill file itself contains.
