Aider Conventions Repository
December 12, 2024 ยท View on GitHub
This repository is a collection of community-contributed convention files for use with aider, an AI pair programming tool. Convention files help guide the AI to follow specific coding styles, practices, and preferences.
What are Convention Files?
Convention files are markdown files that specify coding guidelines for aider to follow. They can include preferences like:
- Coding style rules
- Preferred libraries and packages
- Type hint requirements
- Testing conventions
- Documentation standards
- And more
For more information about using conventions with aider, see the conventions documentation.
How to Use These Conventions
- Browse the subdirectories to find a conventions file that matches your needs
- Copy the desired
CONVENTIONS.mdto your project - Load it in aider using either:
Or add it to youraider --read-only CONVENTIONS.md.aider.conf.yml:read-only: CONVENTIONS.md
Directory Structure
Each subdirectory contains:
README.md- Explains the purpose and use case for the conventionsCONVENTIONS.md- The actual conventions file to use with aider
Contributing
We welcome contributions! To add your own conventions:
- Create a new subdirectory with a descriptive name
- Include both a
README.mdexplaining your conventions and aCONVENTIONS.mdfile - Submit a Pull Request
Please ensure your README.md clearly explains:
- The purpose of your conventions
- What kind of projects they're best suited for
- Any special instructions for using them