Complete configuration template for Aider AI pair programming tool, covering API keys, model selection, git integration, output settings, linting, testing, and advanced options for customizing the AI coding assistant workflow.
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.
This skill provides a complete `.aider.conf.yml` configuration template covering all available Aider settings, including API keys, model selection, git integration, output customization, linting, testing, and advanced options.
Provides a comprehensive reference for configuring Aider AI pair programming tool through `.aider.conf.yml`. Place this file in your home directory or at the root of your git repository to customize Aider's behavior.
Create `.aider.conf.yml` in your home directory or git repository root:
```yaml
#openai-api-key: sk-...
#anthropic-api-key: sk-ant-...
#model: claude-3-5-sonnet-20240620
#opus: false
#sonnet: false
#4o: false
#mini: false
#openai-api-base: https://api.openai.com/v1
#verify-ssl: true
#edit-format: diff
#weak-model: gpt-3.5-turbo
#map-tokens: 1024
#cache-prompts: false
#input-history-file: .aider.input.history
#chat-history-file: .aider.chat.history.md
#restore-chat-history: false
#dark-mode: true
#pretty: true
#stream: true
#user-input-color: "#00cc00"
#assistant-output-color: "#0088ff"
#code-theme: monokai
#show-diffs: false
#git: true
#gitignore: true
#aiderignore: .aiderignore
#auto-commits: true
#dirty-commits: true
#attribute-author: true
#attribute-committer: true
#commit-prompt: "Custom commit message prompt"
#lint: false
#lint-cmd:
#auto-lint: true
#test-cmd: pytest
#auto-test: false
#file:
#read:
#vim: false
#voice-language: en
#check-update: true
#suggest-shell-commands: true
```
**For Python projects with strict linting:**
```yaml
model: claude-3-5-sonnet-20240620
dark-mode: true
auto-commits: true
lint-cmd:
- "python: flake8 --max-line-length=100"
- "python: black --check"
auto-lint: true
test-cmd: pytest
attribute-commit-message-author: true
```
**For JavaScript/TypeScript with testing:**
```yaml
model: gpt-4o
pretty: true
stream: true
lint-cmd:
- "javascript: eslint --fix"
- "typescript: tsc --noEmit"
auto-lint: true
test-cmd: npm test
auto-test: false
show-diffs: true
```
**For multi-language projects:**
```yaml
model: claude-3-5-sonnet-20240620
map-tokens: 2048
lint-cmd:
- "python: ruff check"
- "javascript: eslint"
- "go: golangci-lint run"
auto-lint: true
code-theme: solarized-dark
gitignore: true
```
**Use model metadata file for custom models:**
```yaml
model: custom/my-model
model-settings-file: .aider.model.settings.yml
model-metadata-file: .aider.model.metadata.json
show-model-warnings: false
```
**Customize commit attribution:**
```yaml
auto-commits: true
dirty-commits: true
attribute-author: true
attribute-committer: true
attribute-commit-message-author: true
commit-prompt: |
Write a commit message following conventional commits format.
Include scope and breaking changes if applicable.
```
**Development environment:**
```yaml
dark-mode: true
verbose: true
show-diffs: true
auto-test: true
cache-prompts: true
```
**CI/CD environment:**
```yaml
yes: true
auto-commits: false
pretty: false
stream: false
test-cmd: npm run ci-test
```
**Minimal configuration (Python project):**
```yaml
model: claude-3-5-sonnet-20240620
dark-mode: true
lint-cmd: ["python: ruff check --fix"]
auto-lint: true
```
**Full-featured configuration (TypeScript monorepo):**
```yaml
model: gpt-4o
weak-model: gpt-3.5-turbo
dark-mode: true
pretty: true
stream: true
code-theme: monokai
map-tokens: 2048
auto-commits: true
attribute-commit-message-author: true
lint-cmd:
- "typescript: eslint --fix"
- "typescript: prettier --check"
auto-lint: true
test-cmd: npm run test:ci
cache-prompts: true
gitignore: true
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/comprehensive-aider-configuration-5hg5ed/raw