Complete Aider configuration for Qwen3-Coder model with optimized settings for code generation, git integration, and terminal output 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.
Comprehensive Aider configuration optimized for Qwen3-Coder, the code-specialized version of Qwen3 LLM. This configuration covers all available Aider settings including model selection, git integration, output customization, and automated workflows.
Provides a complete `.aider.conf.yml` template with all configuration options for Aider, the AI pair programming tool. Includes settings for:
Determine where to place your configuration file:
Create `.aider.conf.yml` with your selected options. Uncomment and set values for the features you need:
**Basic Model Setup:**
```yaml
model: qwen/qwen3-coder
openai-api-base: https://your-api-endpoint.com
openai-api-key: your-key-here
edit-format: whole
```
**Git Integration:**
```yaml
git: true
gitignore: true
auto-commits: true
dirty-commits: true
attribute-author: true
attribute-committer: true
attribute-commit-message-author: true
```
**Output Customization:**
```yaml
dark-mode: true
pretty: true
stream: true
user-input-color: "#00cc00"
assistant-output-color: "#0088ff"
tool-error-color: "#FF2222"
code-theme: monokai
```
**Linting and Testing:**
```yaml
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
auto-test: true
test-cmd: pytest
```
**Performance Optimization:**
```yaml
map-tokens: 2048
map-refresh: auto
map-multiplier-no-files: 2
cache-prompts: true
cache-keepalive-pings: 3
max-chat-history-tokens: 4096
```
For sensitive keys, use `.env` file instead of YAML:
```bash
echo "OPENAI_API_KEY=your-key" > .env
echo "ANTHROPIC_API_KEY=your-key" >> .env
env-file: .env
```
For custom or unknown models, create model settings files:
**Model Settings (`.aider.model.settings.yml`):**
```yaml
edit_format: whole
weak_model_name: qwen/qwen3-coder-mini
use_repo_map: true
send_undo_reply: false
```
**Model Metadata (`.aider.model.metadata.json`):**
```json
{
"qwen/qwen3-coder": {
"max_tokens": 8192,
"max_input_tokens": 32768,
"input_cost_per_token": 0.0000001,
"output_cost_per_token": 0.0000002
}
}
```
Reference in config:
```yaml
model-settings-file: .aider.model.settings.yml
model-metadata-file: .aider.model.metadata.json
```
Set up linting for multiple languages:
```yaml
lint-cmd:
- "python: ruff check --fix --select=E,F,W"
- "javascript: eslint --fix --max-warnings=0"
- "typescript: eslint --fix --ext .ts,.tsx"
- "go: gofmt -w"
- "rust: cargo fmt"
```
Provide reference files without allowing edits:
```yaml
read:
- README.md
- docs/architecture.md
- .env.example
```
```yaml
input-history-file: .aider.input.history
chat-history-file: .aider.chat.history.md
restore-chat-history: true
llm-history-file: .aider.llm.history
```
```yaml
subtree-only: true
aiderignore: .aiderignore
show-model-warnings: false
```
Create `.aiderignore`:
```
node_modules/
dist/
build/
*.min.js
vendor/
```
Test your configuration:
```bash
aider --verbose
aider --show-prompts
aider --show-repo-map
aider --dry-run --message "Explain this codebase"
```
Override config values at runtime:
```bash
aider --model gpt-4o
aider --no-auto-commits
aider --verbose
aider --apply changes.md
```
**Example 1: Project-Specific Python Config**
```yaml
model: qwen/qwen3-coder
dark-mode: true
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
auto-test: true
test-cmd: pytest tests/
auto-commits: true
commit-prompt: "Brief summary of changes for Python project"
```
**Example 2: Multi-Language Monorepo**
```yaml
model: gpt-4o
subtree-only: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
- "typescript: eslint --fix --ext .ts"
map-tokens: 4096
cache-prompts: true
```
**Example 3: High-Performance Setup**
```yaml
model: qwen/qwen3-coder
cache-prompts: true
cache-keepalive-pings: 5
map-tokens: 2048
stream: true
show-model-warnings: false
```
Aider searches for config files in this order:
1. `--config` flag path
2. `.aider.conf.yml` in current directory
3. `.aider.conf.yml` in git root
4. `~/.aider.conf.yml` in home directory
Command-line flags override all config file settings.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/qwen3-coder-aider-configuration/raw