Production-ready AI coding rules for 8 tools across 9 stacks, ready to copy into your project in seconds.
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.
# 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| 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 |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Available stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/cursor/<stack>/.cursorrules /path/to/project/.cursorrulesAvailable stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/claude-code/<stack>/CLAUDE.md /path/to/project/CLAUDE.mdAvailable 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.mdAvailable stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/windsurf/<stack>/.windsurfrules /path/to/project/.windsurfrulesAvailable stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/codex/<stack>/AGENTS.md /path/to/project/AGENTS.mdAvailable stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/gemini-cli/<stack>/GEMINI.md /path/to/project/GEMINI.mdAvailable stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/aider/<stack>/.aider.conf.yml /path/to/project/.aider.conf.ymlAvailable stacks: TypeScript, React, Next.js, Python, Go, Rust, Vue, Svelte, Java
cp rules/cline/<stack>/.clinerules /path/to/project/.clinerulesContributions are welcome. Please read CONTRIBUTING.md and open a PR with clear rationale and examples.
Released under the MIT License.
If this repository helps your team ship faster with AI coding tools, please star the project.