The Ultimate Agentic Vibe Coding Guide for AI IDEs like Windsurf, Claude Code, Cursor, Codex etc. – AI-optimized rules, best practices, and configuration files for efficient and controlled AI-powered coding.
# Vibe Coding AI Rules **The Ultimate AI Coding Ruleset for Windsurf, Cursor, GitHub Copilot, Claude Code, Cline, Codex, Zed AI, Cursor CLI & more** > "Context is King. AI agents are only as good as the rules you give them." [](https://opensource.org/licenses/MIT) [](http://makeapullrequest.com) Production-ready rules, templates, and best practices for AI-assisted development. One repository, all major AI IDEs covered. --- ## Quick Start: Pick Your IDE | AI IDE | What to Copy | Config Format | Setup Guide | |--------|-------------|---------------|-------------| | **Cursor** | `ide-specific/cursor/` | `.cursor/rules/*.mdc` | [Setup](ide-specific/cursor/README.md) | | **Windsurf** | `ide-specific/windsurf/` | `.windsurfrules` + `global_rules.md` | [Setup](ide-specific/windsurf/README.md) | | **GitHub Copilot** | `ide-specific/github-cursor/` | `.github/cursor-instructions.md` | [Setup](ide-specific/github-cursor/README.md) | | **Claude Code** | `ide-specific/claude-code/` | `CLAUDE.md` + `.cursor/rules/` | [Setup](ide-specific/claude-code/README.md) | | **Cline** | `ide-specific/cline/` | `.clinerules` or `.clinerules/` | [Setup](ide-specific/cline/README.md) | | **Codex** | `ide-specific/codex/` | `AGENTS.md` | [Setup](ide-specific/codex/README.md) | | **Zed AI** | `ide-specific/zed/` | `.rules` | [Setup](ide-specific/zed/README.md) | | **Cursor CLI** | `ide-specific/cursor-cli/` | `CLAUDE.md` | [Setup](ide-specific/cursor-cli/README.md) | | **Aider** | `ide-specific/aider/` | `conventions.md` + `.aider.conf.yml` | [Setup](ide-specific/aider/README.md) | | **Continue.dev** | `ide-specific/continue/` | `.continue/rules/*.md` | [Setup](ide-specific/continue/README.md) | | **Universal** | `AGENTS.md` | Works everywhere | [Setup](templates/AGENTS.md) | **Fastest approach**: Copy `AGENTS.md` to your project root and run `./
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.