Complete Aider AI coding assistant configuration with all available settings, optimized for Gemini model with architect mode and file watching enabled.
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 `.aider.conf.yml` configuration file for the Aider AI coding assistant, sourced from rob137/dotfiles. This configuration demonstrates all available settings and options for customizing Aider's behavior.
This configuration is optimized with:
Determine where to place your `.aider.conf.yml` file:
1. **Project-specific**: Place in the root of your git repository (recommended for project-specific settings)
2. **Global**: Place in your home directory (`~/.aider.conf.yml`) for default settings across all projects
Create a file named `.aider.conf.yml` with your desired settings. Key sections to customize:
**Main Model Selection** (choose one):
```yaml
model: gemini/gemini-exp-1206 # Or any supported model
```
**Editor Settings**:
```yaml
architect: true # Enable for complex multi-file changes
auto-commits: false # Disable for manual commit control
watch-files: true # Enable file watching for AI comments
```
**Terminal Display**:
```yaml
light-mode: true # Or dark-mode: false
```
**Git Integration**:
```yaml
git: true
gitignore: true
dirty-commits: true
attribute-author: true
```
**Option A: In config file** (OpenAI/Anthropic only):
```yaml
openai-api-key: your_key_here
anthropic-api-key: your_key_here
```
**Option B: In .env file** (all providers, recommended):
Create `.env` in your git root:
```bash
OPENAI_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here
GEMINI_API_KEY=your_key_here
```
**Option C: Using --api-key flag**:
```yaml
api-key:
- gemini=your_key_here
- openai=your_key_here
```
**For Solo Development**:
```yaml
auto-commits: false # Review changes before committing
show-diffs: true # See what changed
auto-lint: true # Auto-fix lint issues
```
**For Team Projects**:
```yaml
attribute-commit-message-committer: true # Mark aider commits
dirty-commits: false # Prevent commits in dirty repos
subtree-only: true # Only consider current directory
```
**For Testing/CI**:
```yaml
auto-test: true # Run tests after changes
test-cmd: pytest # Specify test command
lint-cmd:
- "python: flake8 --select=E,W"
- "javascript: eslint"
```
**Token Limits**:
```yaml
map-tokens: 1024 # Repo map size (0 to disable)
max-chat-history-tokens: 4096 # Chat history limit
```
**Cache Settings** (for supported models):
```yaml
cache-prompts: true
cache-keepalive-pings: 5 # Keep cache warm
```
**Edit Format** (if model defaults aren't optimal):
```yaml
edit-format: diff # or whole, udiff, diff-fenced, architect
```
Enable automatic AI coding from comments:
```yaml
watch-files: true
```
Then add special comments in your code:
```python
def process_data(data):
return data.process()
```
**For Light Terminals**:
```yaml
light-mode: true
user-input-color: "#00cc00"
assistant-output-color: "#0088ff"
code-theme: default
```
**For Dark Terminals**:
```yaml
dark-mode: true
code-theme: monokai # or solarized-dark
```
```yaml
input-history-file: .aider.input.history
chat-history-file: .aider.chat.history.md
restore-chat-history: true # Resume previous session
llm-history-file: .aider.llm.history # Debug/audit log
```
```yaml
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
- "typescript: eslint --fix"
auto-lint: true
test-cmd: pytest -v
auto-test: false # Enable for TDD workflow
```
After configuration:
```bash
aider
aider --model gpt-4o --auto-commits true
aider --show-prompts
aider --list-models gemini
```
**Quick Edits**:
```yaml
model: gpt-4o-mini
auto-commits: true
stream: true
```
**Large Refactoring**:
```yaml
model: claude-3-5-sonnet-20241022
architect: true
auto-commits: false
show-diffs: true
```
**Team Development**:
```yaml
model: gpt-4o
auto-commits: false
attribute-commit-message-committer: true
dirty-commits: false
auto-lint: true
test-cmd: pytest
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-template-wn6xln/raw