CONVENTIONS.md Guide
Configure Aider, the terminal-based AI pair programmer, with coding conventions. Learn about YAML config, model flexibility, and best practices.
Understanding Aider & CONVENTIONS.md
Aider is an open-source, terminal-based AI pair programmer that works with any LLM — Claude, GPT-4, Gemini, local models, and more. CONVENTIONS.md is Aider's way of loading coding conventions that get forwarded to whatever model you're using.
Unlike tool-specific configs like CLAUDE.md (for Claude Code only), Aider's model-agnostic approach means your conventions work across different LLMs.
Aider's Unique Features
Automatic web scraping, linter/test verification of changes, voice coding, and model flexibility — Aider offers capabilities beyond traditional AI coding assistants.
Loading CONVENTIONS.md
There are several ways to load your conventions file:
Command Line Flag
YAML Config File
Aider looks for .aider.conf.yml in your home directory, git repo root, and current directory (files loaded later take priority).
CONVENTIONS.md Format
Use natural language guidelines in Markdown format:
Full .aider.conf.yml Example
Best Practices
- Keep conventions focused — Don't overload with generic advice
- Include lint/test commands — Aider can verify changes automatically
- Use the YAML config — More powerful than command-line flags
- Commit conventions to git — Share with your team
- Try different models — Aider makes switching easy
Related Guides
Frequently Asked Questions
Manage Your CONVENTIONS.md Files Visually
ClaudeMDEditor lets you browse, edit, and organize CONVENTIONS.md files across all your projects. Plus it handles CLAUDE.md, .cursorrules, and more.
One-time purchase for macOS Tahoe (26+)