Complete Aider AI coding assistant configuration with all available options for model selection, git integration, output settings, 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.
A comprehensive configuration template for Aider, the AI pair programming tool. This skill provides a complete `.aider.conf.yml` file with all available configuration options, enabling you to customize Aider's behavior for model selection, git integration, output formatting, testing, linting, and more.
This template configures Aider for optimal AI-assisted development with options for:
Create a `.aider.conf.yml` file in either:
**Option A: Minimal Configuration (Recommended for Beginners)**
Start with only essential settings:
```yaml
sonnet: true # Claude 3.5 Sonnet (recommended)
dark-mode: true
auto-commits: true
auto-lint: true
```
**Option B: Full Configuration (Advanced Users)**
Copy the complete template below and uncomment/modify sections as needed.
**Important**: Only OpenAI and Anthropic API keys can go in the YAML config. For other providers, use a `.env` file.
```yaml
openai-api-key: sk-...
anthropic-api-key: sk-ant-...
env-file: .env
```
In your `.env` file:
```bash
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
```
Uncomment ONE of these model options:
```yaml
opus: false # Claude 3 Opus (most capable)
sonnet: true # Claude 3.5 Sonnet (balanced, recommended)
4o: false # GPT-4o (latest)
mini: false # GPT-4o-mini (fast, cost-effective)
4-turbo: false # GPT-4 Turbo
4: false # GPT-4
35turbo: false # GPT-3.5 Turbo (legacy)
deepseek: false # DeepSeek Coder
```
```yaml
auto-commits: true
dirty-commits: true
attribute-commit-message-committer: false
show-diffs: false
```
```yaml
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
- "typescript: eslint --fix"
auto-test: false
```
```yaml
dark-mode: true # or light-mode: true
user-input-color: "#00cc00"
assistant-output-color: "#0088ff"
tool-error-color: "#FF2222"
code-theme: default # Options: default, monokai, solarized-dark, solarized-light
stream: true
```
```yaml
map-tokens: 1024 # Max tokens for repo map (0 to disable)
map-refresh: auto # auto | files | manual
cache-prompts: false
restore-chat-history: false
chat-history-file: .aider.chat.history.md
```
```yaml
##########################################################
##########################################################
#######
#openai-api-key:
#anthropic-api-key:
#opus: false # Claude 3 Opus
sonnet: true # Claude 3.5 Sonnet (recommended)
#4o: false # GPT-4o
#mini: false # GPT-4o-mini
#4-turbo: false # GPT-4 Turbo
#4: false # GPT-4
#35turbo: false # GPT-3.5 Turbo
#deepseek: false # DeepSeek Coder
#################
#openai-api-base:
#openai-api-type:
#openai-api-version:
#openai-api-deployment-id:
#openai-organization-id:
#model-settings-file: .aider.model.settings.yml
#model-metadata-file: .aider.model.metadata.json
#verify-ssl: true
#edit-format:
#weak-model:
#show-model-warnings: true
#map-tokens: 1024
#map-refresh: auto
#cache-prompts: false
#max-chat-history-tokens:
#env-file: .env
################
#input-history-file: .aider.input.history
#chat-history-file: .aider.chat.history.md
#restore-chat-history: false
#llm-history-file:
##################
dark-mode: true
#light-mode: false
#pretty: true
#stream: true
#user-input-color: "#00cc00"
#tool-output-color:
#tool-error-color: "#FF2222"
#assistant-output-color: "#0088ff"
#code-theme: default
#show-diffs: false
###############
#git: true
#gitignore: true
#aiderignore: .aiderignore
#subtree-only: false
auto-commits: true
#dirty-commits: true
#attribute-author: true
#attribute-committer: true
#attribute-commit-message-author: false
#attribute-commit-message-committer: false
#commit: false
#commit-prompt:
#dry-run: false
########################
#lint: false
#lint-cmd:
auto-lint: true
#test-cmd:
#auto-test: false
#test: false
#################
#file:
#read:
#vim: false
#voice-language: en
#check-update: true
#yes: false
#verbose: false
#encoding: utf-8
#config:
#gui: false
```
```yaml
sonnet: true
dark-mode: true
auto-commits: true
auto-lint: true
lint-cmd:
- "typescript: eslint --fix"
- "javascript: eslint --fix"
- "css: stylelint --fix"
test-cmd: "npm test"
auto-test: false
```
```yaml
4o: true
dark-mode: true
auto-commits: true
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
test-cmd: "pytest tests/ -v"
map-tokens: 2048
show-diffs: true
```
```yaml
sonnet: true
openai-api-base: "https://api.company.com/v1"
verify-ssl: true
auto-commits: true
dirty-commits: false
attribute-commit-message-committer: true
auto-lint: true
auto-test: true
test-cmd: "make test"
```
1. **Security**: Never commit API keys to version control. Use `.env` files and add them to `.gitignore`.
2. **Model Selection**: Only one model flag should be `true` at a time.
3. **Git Integration**: Aider automatically creates `.aider*` entries in `.gitignore`.
4. **History Files**: Chat history files are stored in your repository root by default.
5. **Linting**: Multiple `lint-cmd` entries can be specified for different languages.
6. **Testing**: Set `auto-test: true` cautiously—tests run after every change.
7. **Repo Maps**: For large codebases, increase `map-tokens` or set to `0` to disable.
8. **Custom Models**: Use `model-settings-file` and `model-metadata-file` for unlisted models.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-template-tesidb/raw