Optimized Aider configuration for Google Gemini 2.5 Flash with 1M token context window, whole-file editing, and CI-friendly settings for delivery management workflows.
This skill provides an optimized Aider configuration tailored for Google Gemini 2.5 Flash, enabling high-quality code generation and editing with a massive 1M+ token context window. Ideal for delivery management tools and CI/CD pipelines.
The configuration leverages Gemini's strengths while ensuring smooth operation in both local development and automated environments:
1. Create a `.aider.conf.yml` file in your project root
2. Copy the configuration below
3. Ensure you have Aider installed and a valid Google AI API key configured
```yaml
model: gemini/gemini-2.5-flash-preview-05-20 # Default Gemini model
edit-format: whole # Uses more tokens but gives better results
max-chat-history-tokens: 1000000 # Gemini 1.5 Pro has 1M+ context window
cache-prompts: true
stream: false # Disable streaming for GitHub Actions
pretty: false # Disable pretty output for CI logs
show-diffs: true
auto-commits: false # Disable auto commits in CI
yes-always: true # Auto-accept all suggestions
```
**Model Selection**
**Edit Format**
**Context Management**
**CI/CD Optimizations**
**Developer Experience**
**Local Development**
```bash
aider --config .aider.conf.yml
```
**GitHub Actions / CI Pipeline**
```yaml
run: aider --config .aider.conf.yml --yes-always --message "Review and improve code quality"
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
```
**Delivery Management Context**
This configuration originated from the dmtools (Delivery Management Tools) project, making it well-suited for:
1. **API Key Management**: Store your Gemini API key securely in environment variables or secrets management
2. **Cost Control**: Monitor token usage when using `edit-format: whole` with large files
3. **Version Control**: Commit this config file to version control for team consistency
4. **Model Updates**: Check for newer Gemini model versions periodically
5. **Testing**: Test configuration changes locally before deploying to CI/CD
Adjust these settings based on your needs:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/gemini-flash-aider-configuration/raw