Aider Configuration with Global Conventions
This skill configures Aider with an optimized setup for development workflow, including intelligent file watching, model selection, and global coding conventions.
Configuration Features
**Intelligent commit attribution** - Automatically attributes commits to the proper author**Enhanced UI experience** - Dark mode with Solarized Dark code theme**File monitoring** - Watches files for changes during development**Global conventions** - Reads shared coding standards from a global file**Flexible model selection** - Pre-configured options for different AI models**Completion notifications** - Audio feedback when tasks completeSetup Instructions
1. Create the Aider configuration directory:
```bash
mkdir -p ~/.config/aider
```
2. Create the main configuration file `~/.aider.conf.yml`:
```yaml
attribute-commit-message-author: true
dark-mode: true
code-theme: solarized-dark
watch-files: true
read: ~/.config/aider/GLOBAL_CONVENTIONS.md
model: sonnet
model: gemini/gemini-2.5-pro-preview-05-06
model: o4-mini # cheaper, below gemini
model: o3 # expensive, top of leaderboard
notifications-command: say 'it done'
```
3. Create global conventions file `~/.config/aider/GLOBAL_CONVENTIONS.md` with your team's coding standards:
```markdown
Global Coding Conventions
Code Style
Use consistent indentation (2 or 4 spaces)Follow language-specific naming conventionsAdd meaningful comments for complex logicGit Practices
Write clear, descriptive commit messagesUse conventional commit format when possibleKeep commits atomic and focusedDocumentation
Update README files when adding featuresDocument API changesInclude examples in code comments```
Model Selection
The configuration includes several model options:
**sonnet** - Default, good balance of speed and quality**gemini/gemini-2.5-pro-preview-05-06** - Alternative option**o4-mini** - Cost-effective choice**o3** - Premium option for complex tasksUncomment your preferred model by removing the `#` prefix.
Usage
Once configured, Aider will:
Automatically watch files in your projectApply global conventions to all code changesUse your selected AI model for assistanceProvide audio notifications when tasks completeProperly attribute commits in Git historyStart Aider in any project directory and it will use these settings automatically.