Configure Aider to use Google Gemini models with Vertex AI, including auto-conventions reading and CI loop testing for wiki-style projects.
Configure Aider to use Google Gemini 2.5 Pro models with automatic conventions reading and continuous integration testing.
This skill configures Aider (an AI pair programming tool) to:
When setting up Aider configuration for a project using Google Gemini models:
1. **Create `.aider.conf.yml` in the project root** with the following structure:
2. **Set the primary model** to `gemini/gemini-2.5-pro` for high-quality code generation and editing
3. **Configure the editor model** to use the same `gemini/gemini-2.5-pro` for consistency in editing tasks
4. **Set the weak model** to `gemini/gemini-2.5-flash` for faster, lightweight operations like file searching or simple queries
5. **Add auto-read files** under the `read:` section to automatically include important context files like:
- `CONVENTIONS.md` - Project coding conventions and standards
- `CLAUDE.md` - Project context and instructions
- Other relevant documentation files
6. **Configure test command** using `test-cmd:` to run after each edit:
- For wiki projects: `./ci-loop.sh` to rebuild documentation
- For code projects: test suite commands like `npm test` or `pytest`
- Leave empty if no auto-testing is needed
7. **Set edit format** to `whole` for cleaner whole-file replacements, or use `diff` for incremental changes
```yaml
model: gemini/gemini-2.5-pro
editor-model: gemini/gemini-2.5-pro
weak-model: gemini/gemini-2.5-flash
read:
- CONVENTIONS.md
test-cmd: "./ci-loop.sh"
edit-format: whole
```
You can comment out alternative models for easy switching:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-gemini-configuration/raw