Production-ready Aider config for always-on AI assistant with Sonnet, auto-lint, and streamlined workflow optimized for continuous code assistance
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 production-ready Aider configuration optimized for always-on AI assistant workflows. This setup uses Claude Sonnet for main chat, disables auto-commits for manual control, enables auto-lint, and streamlines the experience by removing distracting prompts.
1. **Create the configuration file**
- Save this as `.aider.conf.yml` in your project root or home directory
- Aider will automatically detect and load it on startup
2. **Set up API keys**
- Add your Anthropic API key to the config file under `anthropic-api-key`, OR
- Store it in a `.env` file in your git root (recommended for security)
- Example `.env` format: `ANTHROPIC_API_KEY=your_key_here`
3. **Customize for your workflow**
- **Auto-commits**: Currently `false`. Set to `true` if you prefer automatic commits
- **Auto-lint**: Currently `true`. Configure `lint-cmd` for your languages
- **Editor**: Set to `code` (VS Code). Change to `vim`, `nano`, or your preferred editor
- **Model**: Using Sonnet. Uncomment other model options if needed (opus, 4o, deepseek, etc.)
4. **Configure linting (optional)**
```yaml
lint-cmd:
- "python: flake8 --select=E,W,F"
- "javascript: eslint"
- "typescript: eslint"
```
5. **Launch Aider**
```bash
aider
```
The configuration will be automatically applied.
```yaml
sonnet: true # Claude 3.5 Sonnet for main chat
auto-commits: false # Manual commit control
dirty-commits: true # Allow commits when repo is dirty
attribute-author: true # Credit aider in git author
auto-lint: true # Lint after every change
auto-test: false # Manual test control
suggest-shell-commands: false # Cleaner interaction
detect-urls: false # No URL interruptions
editor: code # VS Code integration
```
```yaml
##########################################################
##########################################################
#######
#anthropic-api-key: xxx
sonnet: true
#################
#verify-ssl: true
#architect: false
#show-model-warnings: true
#################
#cache-prompts: false
###################
#map-tokens: 1024
#map-refresh: auto
################
#input-history-file: .aider.input.history
#chat-history-file: .aider.chat.history.md
#restore-chat-history: false
##################
#dark-mode: false
#pretty: true
#stream: true
###############
#git: true
#gitignore: true
auto-commits: false
#dirty-commits: true
#attribute-author: true
########################
#auto-lint: true
#lint-cmd:
#auto-test: false
############
#analytics-disable: false
#################
#vim: false
#check-update: true
#yes-always: false
#verbose: false
suggest-shell-commands: false
#fancy-input: true
detect-urls: false
editor: code
#################
#voice-format: wav
#voice-language: en
```
```bash
aider
aider src/main.py tests/test_main.py
aider --message "Refactor the auth module for better error handling"
```
```bash
aider --lint-cmd "python: ruff check --fix"
aider --lint-cmd "python: ruff" --lint-cmd "typescript: eslint --fix"
```
```bash
npm run dev
aider src/
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-always-on-configuration/raw