// Better code through better rules
devrules.directory is a curated collection of development best practices, coding standards, and guidelines specifically designed for AI coding assistants like Cursor, Claude, and GitHub Copilot.
We believe that AI coding assistants work best with clear, well-defined rules. Our mission is to provide developers with a comprehensive library of high-quality rules that improve code quality, security, and maintainability.
AI coding assistants are powerful tools, but they need guidance to produce code that matches your team's standards, follows security best practices, and maintains consistency across your codebase.
Our rules focus on behavior and best practices that work across all programming languages and frameworks.
Every rule is written specifically for AI coding assistants, with clear examples and actionable guidance.
Rules are curated based on real-world development experience and community feedback.
Every rule has been validated through real usage with AI assistants in production environments.
Explore our collection of rules organized by category. Use search and filters to find exactly what you need.
Each rule includes a copy button for easy integration with Cursor, Claude, or your preferred AI coding assistant.
We regularly add new rules based on emerging best practices and community feedback.