Aider
Aider is an AI pair programming tool that works in your terminal.
Installation
mur init --hooks
This creates templates at ~/.aider/:
conventions.md- Pattern injection fileaider.conf.yml- Configuration template
Project Setup
For each project:
- Copy the templates:
cp -r ~/.aider .aider
- Inject patterns:
mur inject --tool aider > .aider/conventions.md
- Start aider with config:
aider --config .aider/aider.conf.yml
Configuration
The generated aider.conf.yml:
read:
- .aider/conventions.md
auto-commits: true
Updating Patterns
Refresh patterns anytime:
mur inject --tool aider > .aider/conventions.md
Or automate in your shell:
alias aider-mur='mur inject --tool aider > .aider/conventions.md && aider --config .aider/aider.conf.yml'
conventions.md Format
# MUR Patterns
## Swift Testing
Use Swift Testing macros instead of XCTest...
## Error Handling
Always wrap errors with context...
Aider reads this as context for all conversations.
Tips
- Re-inject patterns when switching projects
- Add
.aider/to.gitignorefor personal patterns - Commit
.aider/for team-shared patterns