Production-ready Aider setup with Gemini 2.5 Pro, diff-fenced editing, prompt caching, and Catppuccin-inspired UI colors for efficient AI pair programming
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 performance and visual clarity, featuring Gemini 2.5 Pro as the main model, diff-fenced editing format, prompt caching, and Catppuccin color scheme.
This Aider configuration file (`.aider.conf.yml`) sets up:
Place this content in `.aider.conf.yml` in one of these locations:
```yaml
cache-prompts: true
light-mode: true
show-diffs: true
auto-commits: false
notifications: true
architect: false
model: gemini/gemini-2.5-pro-preview-06-05
edit-format: diff-fenced
user-input-color: "#cdd6f4"
completion-menu-color: "#cdd6f4"
completion-menu-bg-color: "#1e1e2e"
```
Create a `.env` file in your git repository root with your API keys:
```bash
GEMINI_API_KEY=your_gemini_api_key_here
```
Get your Gemini API key from [Google AI Studio](https://makersuite.google.com/app/apikey).
Start aider in your project directory:
```bash
aider
```
The configuration will be automatically loaded, and you'll see:
Check your active settings:
```bash
aider --show-prompts
```
Or list your model:
```bash
aider --list-models gemini
```
Uncomment these lines to try different models:
```yaml
```
```bash
aider src/main.py tests/test_main.py
```
```bash
aider --read docs/api.md src/api.py
```
```bash
aider --message "Add type hints to all functions" src/utils.py
```
Change `light-mode: true` to:
```yaml
dark-mode: true
```
For faster iteration, enable automatic commits:
```yaml
auto-commits: true
```
Configure automatic linting after changes:
```yaml
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
```
Run tests automatically after changes:
```yaml
auto-test: true
test-cmd: pytest
```
**Colors not working?**
**API key not found?**
**Prompt caching not working?**
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/optimized-aider-configuration-68as2w/raw