Complete configuration template for Aider AI pair programming tool with all available settings for models, git, testing, linting, and workflow customization
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.
Complete configuration template for Aider AI pair programming tool. This skill provides a comprehensive `.aider.conf.yml` file with all available configuration options for customizing Aider's behavior.
Creates a fully documented Aider configuration file that can be placed in your home directory or git repository root. The configuration covers:
1. **Identify Configuration Needs**
- Determine which Aider features you want to customize
- Check which AI models you have access to
- Consider your workflow preferences (auto-commits, linting, testing)
2. **Create Configuration File**
- Create `.aider.conf.yml` in your home directory for global settings
- OR create `.aider.conf.yml` in your git repository root for project-specific settings
- Copy the template provided below
3. **Customize Settings**
- Uncomment lines you want to activate (remove the `#` prefix)
- Set your preferred model (sonnet, opus, 4o, mini, deepseek, etc.)
- Configure API keys (or use `.env` file for better security)
- Enable/disable features like auto-commits, auto-lint, auto-test
- Customize colors for dark/light terminal themes
4. **Key Configuration Sections**
**Model Selection:**
- Set `model:` for custom model or use shortcuts like `sonnet: true`, `4o: true`
- Configure `weak-model:` for commit messages and summaries
- Set `editor-model:` for editing tasks
**Git Integration:**
- `auto-commits: true` - automatic commits of LLM changes
- `dirty-commits: true` - allow commits when repo has uncommitted changes
- `attribute-author: true` - credit aider in git author
- `commit-prompt:` - custom commit message generation
**Linting & Testing:**
- `auto-lint: true` - run linter after every change
- `lint-cmd:` - specify lint commands per language
- `auto-test: true` - run tests after changes
- `test-cmd:` - specify test command
**Repository Mapping:**
- `map-tokens: 1024` - control context size for repo map
- `map-refresh: auto` - when to refresh repo map (auto/always/files/manual)
**Output & Colors:**
- `dark-mode: true` or `light-mode: true`
- Customize colors for user input, assistant output, errors, warnings
- `code-theme:` - markdown syntax highlighting theme
5. **Security Best Practices**
- Never commit API keys to git repositories
- Use `.env` file for API keys instead of YAML config
- Add `.aider.conf.yml` to `.gitignore` if it contains secrets
- Use separate configs for personal vs. shared projects
6. **Advanced Features**
**Cache Settings:**
- `cache-prompts: true` - enable prompt caching (reduces costs)
- `cache-keepalive-pings: 5` - keep cache warm with periodic pings
**Edit Formats:**
- `edit-format:` - specify how LLM should format edits
- `architect: true` - use architect mode for planning changes
**Voice Input:**
- `voice-format: wav` - audio format (wav/webm/mp3)
- `voice-language: en` - ISO 639-1 language code
7. **Verify Configuration**
- Run `aider --verbose` to see loaded configuration
- Use `aider --show-prompts` to verify system prompts
- Test with `aider --dry-run` to preview behavior without changes
```yaml
##########################################################
##########################################################
#######
#openai-api-key: xxx
#anthropic-api-key: xxx
#model: xxx
#sonnet: false
#haiku: false
#4o: false
#mini: false
#deepseek: false
#################
#openai-api-base: xxx
#model-settings-file: .aider.model.settings.yml
#edit-format: xxx
#architect: false
#weak-model: xxx
#editor-model: xxx
#################
#cache-prompts: false
#cache-keepalive-pings: 0
###################
#map-tokens: 1024
#map-refresh: auto
################
#input-history-file: .aider.input.history
#chat-history-file: .aider.chat.history.md
#restore-chat-history: false
##################
#dark-mode: false
#light-mode: false
#pretty: true
#stream: true
#user-input-color: #00cc00
#assistant-output-color: #0088ff
#code-theme: default
#show-diffs: false
###############
#git: true
#gitignore: true
#aiderignore: .aiderignore
#auto-commits: true
#dirty-commits: true
#attribute-author: true
#attribute-commit-message-author: false
#commit-prompt: xxx
#dry-run: false
########################
#lint-cmd:
#auto-lint: true
#test-cmd: pytest
#auto-test: false
#################
#vim: false
#chat-language: en
#check-update: true
#yes-always: false
#verbose: false
#suggest-shell-commands: true
#editor: vim
#################
#voice-format: wav
#voice-language: en
```
**Minimal Setup (Claude Sonnet):**
```yaml
sonnet: true
auto-commits: true
auto-lint: true
dark-mode: true
```
**Cost-Optimized Setup:**
```yaml
4o: false
mini: true
weak-model: gpt-4o-mini
cache-prompts: true
map-tokens: 512
```
**Strict Quality Setup:**
```yaml
sonnet: true
auto-lint: true
auto-test: true
lint-cmd:
- "python: flake8 --select=E,W,F && mypy"
test-cmd: pytest --strict
show-diffs: true
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-template-1joeb6/raw