Configures Aider AI pair programming tool with Claude 3.7 Sonnet via GitHub Copilot, optimized diff editing, and vim-friendly defaults for efficient AI-assisted coding.
This skill configures Aider, the AI pair programming tool, with optimized settings for efficient AI-assisted coding using Claude models through GitHub Copilot.
When setting up Aider for a user:
1. **Create the configuration file** at `~/.aider.conf.yml` with the following content:
```yaml
model: openai/claude-3.7-sonnet-thought
openai-api-base: https://api.githubcopilot.com
edit-format: diff
weak-model: openai/claude-3.5-sonnet
editor-edit-format: diff
show-model-warnings: false
map-tokens: 2048
dark-mode: true
code-theme: github-dark
auto-commits: false
dirty-commits: false
attribute-author: true
vim: true
yes-always: true
editor: nvim
```
2. **Verify prerequisites**:
- Neovim is installed and accessible via `nvim` command
- GitHub Copilot subscription is active
- Aider is installed (`pip install aider-chat`)
3. **Explain key settings to the user**:
- Diff format provides precise, surgical edits to code
- Claude 3.7 Sonnet offers advanced reasoning capabilities
- Vim mode is enabled for keyboard-driven efficiency
- Manual commit control allows reviewing AI changes before committing
- Attribution ensures AI contributions are tracked in git history
4. **Usage notes**:
- Run `aider` in any git repository to start
- The configuration optimizes for speed and control
- Confirmations are skipped for faster iteration
- All commits require manual execution for safety
After applying this configuration:
```bash
aider
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-ql8nzc/raw