Configure Aider AI pair programming tool with optimized settings for macOS development, including GitHub Copilot integration, model aliases, and UI preferences.
Configure Aider AI pair programming tool with optimized settings for professional development workflows on macOS.
Sets up Aider with production-ready configuration including:
When user requests Aider configuration or mentions setting up AI pair programming:
1. **Create `.aider.conf.yaml` in project root or home directory**
- Default location: `~/.aider.conf.yaml` for global config
- Project-specific: Place in project root to override global settings
2. **Apply core configuration settings:**
```yaml
dark-mode: true
auto-commits: false
editor: nvim
map-tokens: 2048
code-theme: nord-darker
analytics: false
show-model-warnings: false
cache-prompts: true
max-chat-history-tokens: 8000
auto-accept-architect: false
```
3. **Configure GitHub Copilot as API provider:**
```yaml
openai-api-base: https://api.githubcopilot.com
model: openai/gpt-4o
weak-model: openai/gpt-4o-mini
```
4. **Set up model aliases for different workflows:**
```yaml
alias:
- "fast:openai/gpt-4o"
- "code:openai/claude-sonnet-4"
- "think:openai/claude-3.7-sonnet-thought"
- "gemini:openai/gemini-2.5-pro"
```
5. **Explain API key setup:**
- GitHub Copilot API key is automatically obtained through JetBrains products
- Key location: `~/.config/github-copilot/apps.json`
- User must have active GitHub Copilot subscription
- No manual API key configuration needed if using JetBrains IDE
6. **Verify configuration:**
- Run `aider --help` to confirm settings loaded
- Test with `aider --model fast` to use GPT-4o
- Switch models using aliases: `aider --model code` for Claude Sonnet
**Basic setup:**
```bash
cat > ~/.aider.conf.yaml << 'EOF'
[paste configuration here]
EOF
aider
aider --model think
```
**Project-specific override:**
```bash
cp ~/.aider.conf.yaml .aider.conf.yaml
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-development-setup/raw