Best Aider Rules

Aider is an open-source AI pair programmer that works in your terminal. CONVENTIONS.md files define coding conventions that Aider respects when generating changes.

Add these rules to your CONVENTIONS.md file to get better AI code generation.

11 rules available

Python Aider Conventions

AiderPython

Aider AI coding conventions for Python: CONVENTIONS.md patterns for automated refactoring and clean Python code.

Code Style
python · aiderCopy Ready

TypeScript Aider Conventions

AiderTypeScript

Aider conventions for TypeScript: naming, structure, and type safety conventions for CONVENTIONS.md.

Code Style
typescript · aiderCopy Ready

React Aider Conventions

AiderReact

Aider conventions for React components: file structure, naming, and component organization patterns.

Code Style
react · aiderCopy Ready

Next.js Aider Conventions

AiderNext.js

Aider conventions for Next.js: file naming, route organization, and App Router conventions.

Architecture
nextjs · aiderCopy Ready

Go Aider Conventions

AiderGo

Aider conventions for Go: project structure, naming, and idiomatic Go patterns.

Code Style
go · golangCopy Ready

Rust Aider Conventions

AiderRust

Aider conventions for Rust: module organization, naming, and idiomatic Rust code patterns.

Code Style
rust · aiderCopy Ready

SQL Aider Conventions

AiderSQL

Aider conventions for SQL and database migrations: naming, formatting, and migration patterns.

Database
sql · aiderCopy Ready

Security Aider Conventions

Aidersecurity

Aider conventions for security: secure coding patterns, vulnerability prevention, and security review checklist.

Security
security · aiderCopy Ready

Testing Aider Conventions

Aidertesting

Aider conventions for tests: structure, naming, and testing philosophy for maintainable test suites.

Testing
testing · aiderCopy Ready

Docker Aider Conventions

AiderDocker

Aider conventions for Docker and containerization: file naming, structure, and container patterns.

Architecture
docker · aiderCopy Ready

Performance Aider Conventions

Aiderperformance

Aider conventions for performance: measurement, optimization workflow, and performance budgets.

Performance
performance · aiderCopy Ready