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 file
  • aider.conf.yml - Configuration template

Project Setup

For each project:

  1. Copy the templates:
cp -r ~/.aider .aider
  1. Inject patterns:
mur inject --tool aider > .aider/conventions.md
  1. 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 .gitignore for personal patterns
  • Commit .aider/ for team-shared patterns