Comprehensive Aider configuration file template with all available settings and detailed comments for customizing AI-powered coding workflows
A complete `.aider.conf.yaml` configuration file template that documents all available Aider settings. Use this as a starting point to customize Aider's behavior for your projects.
This skill provides a comprehensive Aider configuration template. Follow these steps to use it:
1. **Understand the Configuration Structure**: Review the template below which includes all valid Aider configuration entries organized by category (Main, Model Settings, History Files, Output Settings, Git Settings, etc.)
2. **Create Your Configuration File**: Place the configuration file in one of these locations:
- Project root: `.aider.conf.yaml` (recommended for project-specific settings)
- Home directory: `~/.aider.conf.yaml` (for global defaults)
- Custom location specified via `--config` flag
3. **Customize Settings**: Uncomment and set values for options you want to enable. Key categories include:
- **API Keys**: OpenAI and Anthropic keys (other providers use `.env` file)
- **Model Selection**: Choose between GPT-4, Claude Opus, Sonnet, etc.
- **Git Integration**: Auto-commits, dirty commits, commit message attribution
- **Output Formatting**: Colors, themes, streaming responses
- **Linting & Testing**: Automatic lint/test execution after changes
4. **Security Best Practices**:
- Store API keys in `.env` files rather than config (supports all providers)
- Add `.aider*` files to `.gitignore` (enabled by default)
- Use `env-file` option to specify custom env file location
5. **Model Configuration**: Customize model behavior with:
- `--model`: Primary chat model
- `--weak-model`: Model for commit messages and summarization
- `--map-tokens`: Control repo map size (default: 1024)
- `--edit-format`: Specify LLM edit format
6. **Git Workflow Options**:
- `auto-commits: true`: Automatically commit LLM changes
- `dirty-commits: true`: Allow commits when repo is dirty
- `attribute-author: true`: Credit aider in git author name
- `show-diffs: true`: Display diffs before committing
7. **Development Workflow**:
- Use `--lint` with `lint-cmd` for automatic code quality checks
- Enable `auto-test: true` with `test-cmd` for continuous testing
- Set `--message` or `--message-file` for non-interactive use
```yaml
##########################################################
##########################################################
##########
#help:
#######
#openai-api-key:
#anthropic-api-key:
#model:
#opus: false
#sonnet: false
#4: false
#4o: false
#4-turbo: false
#35turbo: false
#################
#models:
#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
#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: false
#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
#auto-commits: true
#dirty-commits: true
#attribute-author: true
#attribute-committer: true
#attribute-commit-message: false
#dry-run: false
########################
#commit: false
#lint: false
#lint-cmd:
#auto-lint: true
#test-cmd:
#auto-test: false
#test: false
#################
#vim: false
#voice-language: en
#version:
#check-update: false
#skip-check-update: false
#apply:
#yes: false
#verbose: false
#show-repo-map: false
#show-prompts: false
#exit: false
#message:
#message-file:
#encoding: utf-8
#config:
#gui: false
```
**Python project with automatic linting:**
```yaml
lint-cmd: "python: ruff check --fix"
auto-lint: true
```
**Dark mode with custom colors:**
```yaml
dark-mode: true
user-input-color: "#00ff00"
assistant-output-color: "#00aaff"
code-theme: monokai
```
**Non-interactive commit mode:**
```yaml
auto-commits: true
attribute-commit-message: true
yes: 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-odwdhd/raw