Complete Aider AI coding assistant configuration template with all available settings for model selection, API keys, git integration, output customization, and workflow optimization.
This skill has safety concerns that you should review before use. Some patterns were detected that may pose a risk.Safety score: 60/100.
KillerSkills scans all public content for safety. Use caution before installing or executing flagged content.
Comprehensive configuration template for Aider, the AI pair programming tool. This skill provides a complete `.aider.conf.yml` file with all available settings documented and ready to customize.
Creates a fully-documented Aider configuration file that you can place in your home directory or git repository root to customize Aider's behavior. Includes settings for:
1. **Create the configuration file** in one of these locations:
- `~/.aider.conf.yml` (home directory, applies globally)
- `.aider.conf.yml` (git repository root, project-specific)
2. **Review and uncomment** settings you want to customize:
- Remove the `#` prefix from any line you want to activate
- Update the value after the colon with your preferred setting
3. **Key settings to consider**:
**Model Selection:**
- `model: claude-3-5-sonnet-20241022` - Specify your preferred AI model
- `weak-model: gpt-4o-mini` - Faster model for summaries and commits
- `editor-model: claude-3-5-haiku-20241022` - Model for file editing tasks
**API Keys** (or use `.env` file):
- `anthropic-api-key: sk-ant-...` - For Claude models
- `openai-api-key: sk-...` - For GPT models
**Git Behavior:**
- `auto-commits: false` - Disable automatic commits (recommended to review changes first)
- `dirty-commits: true` - Allow commits when repo has uncommitted changes
- `show-diffs: true` - Show diffs before committing
**Output Customization:**
- `dark-mode: true` - Colors optimized for dark terminals
- `code-theme: monokai` - Syntax highlighting theme
- `pretty: true` - Enable colorized output
**Repository Mapping:**
- `map-tokens: 2048` - Increase context for larger codebases (0 to disable)
- `map-refresh: auto` - Control when repo map updates
**Workflow Automation:**
- `auto-lint: true` - Automatically lint after changes
- `lint-cmd: ["python: ruff check", "javascript: eslint"]` - Custom lint commands
- `auto-test: false` - Run tests after changes (set to true if desired)
- `test-cmd: pytest` - Specify test command
4. **Environment variables** - Create `.env` or `.env.aider` file for sensitive data:
```bash
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
```
5. **Verify configuration**:
```bash
aider --help # Should show your configured defaults
```
```yaml
##########################################################
##########################################################
#############
#model: claude-3-5-sonnet-20241022
#weak-model: gpt-4o-mini
#editor-model: claude-3-5-haiku-20241022
########################
#anthropic-api-key: xxx
#openai-api-key: xxx
#set-env:
###############
auto-commits: false
#show-diffs: true
#dirty-commits: true
#aiderignore: .aiderignore
###################
#map-tokens: 1024
#map-refresh: auto
##################
#dark-mode: true
#pretty: true
#code-theme: default
########################
#auto-lint: true
#lint-cmd:
#auto-test: false
#test-cmd: pytest
################
#input-history-file: .aider.input.history
#chat-history-file: .aider.chat.history.md
#restore-chat-history: false
#################
env-file: .env.aider
#suggest-shell-commands: true
#fancy-input: true
#detect-urls: true
#editor: vim
```
**Minimal setup (Claude Sonnet, manual commits):**
```yaml
model: claude-3-5-sonnet-20241022
auto-commits: false
dark-mode: true
env-file: .env.aider
```
**Power user setup (multi-model, auto-lint, testing):**
```yaml
model: claude-3-5-sonnet-20241022
weak-model: gpt-4o-mini
editor-model: claude-3-5-haiku-20241022
auto-commits: false
show-diffs: true
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "typescript: eslint --fix"
auto-test: true
test-cmd: pytest -xvs
map-tokens: 2048
dark-mode: true
code-theme: monokai
env-file: .env.aider
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-l8oko2/raw