Configure Aider AI pair programming assistant with model settings, git integration, output preferences, and workflow options for optimal AI-assisted coding.
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.
Configure Aider AI pair programming assistant for optimal AI-assisted coding workflows.
This skill helps you set up and customize Aider's behavior through its `.aider.conf.yml` configuration file. Aider is an AI pair programming tool that works with your git repository to make code changes, commit them, and help with development tasks.
Aider searches for configuration files in this order:
1. `--config` command line argument
2. `.aider.conf.yml` in git repository root
3. `.aider.conf.yml` in current working directory
4. `.aider.conf.yml` in home directory
When configuring Aider, follow these steps:
Ask the user which aspects they want to configure:
Based on user needs, create or modify `.aider.conf.yml` with appropriate settings:
**Model Configuration:**
**API Settings:**
**Git Integration:**
**Output Preferences:**
**Quality Control:**
**Workflow Options:**
**IMPORTANT:**
After creating the configuration:
1. Test with `aider --verbose` to see loaded settings
2. Use `aider --show-prompts` to verify prompt configuration
3. Check `aider --show-repo-map` to validate file detection
**Minimal Setup (Claude Sonnet):**
```yaml
sonnet: true
auto-commits: true
dark-mode: true
```
**Development with Linting:**
```yaml
model: gpt-4o
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
show-diffs: true
```
**Conservative Git Workflow:**
```yaml
model: claude-3-5-sonnet-20240620
auto-commits: false
dirty-commits: false
commit: false
show-diffs: true
```
**Performance Optimized:**
```yaml
4o: true
cache-prompts: true
map-tokens: 2048
stream: true
weak-model: gpt-4o-mini
```
**Example 1: First-time setup**
```
User: "Set up Aider with Claude Sonnet and automatic commits"
Create .aider.conf.yml:
---
sonnet: true
auto-commits: true
attribute-author: true
dark-mode: true
pretty: true
```
**Example 2: Custom API endpoint**
```
User: "Configure Aider to use my self-hosted OpenAI-compatible API"
Create .aider.conf.yml:
---
model: my-custom-model
openai-api-base: https://api.mycompany.com/v1
model-settings-file: .aider.model.settings.yml
verify-ssl: true
```
**Example 3: Strict quality control**
```
User: "Set up Aider with Python linting and testing before each commit"
Create .aider.conf.yml:
---
4o: true
auto-lint: true
lint-cmd:
- "python: ruff check --select=E,F,W"
auto-test: true
test-cmd: pytest tests/
auto-commits: true
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-6pdvme/raw