
Coding Conventions
Enforcing Your Team's Standards
Specify Your Coding Standards
Make Aider follow your team's coding conventions:
Create a Conventions File (e.g.,
CONVENTIONS.md
):# Coding Conventions - Use type hints for all function parameters and returns - Prefer async/await for I/O operations - Follow PEP 8 for Python code - Use Prettier defaults for JavaScript
Load at Launch:
aider --read CONVENTIONS.md your_file.py
During Session:
/read-only CONVENTIONS.md
Automatic Loading: In
.aider.conf.yml
:read: CONVENTIONS.md
This ensures all code Aider generates follows your specific standards and practices.