Aider configuration template for creating AI-friendly repositories with OpenRouter and Claude 3.5 Sonnet integration
This skill provides a standardized Aider configuration template for creating AI-friendly repositories. It sets up Aider to work with OpenRouter's Claude 3.5 Sonnet model and includes best-practice settings for version control and change tracking.
The configuration establishes:
1. **Copy the configuration file** to your repository root as `.aider.conf.yml`
2. **Set your OpenRouter API key** using one of these methods:
- Set the `OPENROUTER_API_KEY` environment variable (recommended)
- Uncomment and fill in the `openrouter-api-key` field in the config file
3. **Verify git is initialized** in your repository:
```bash
git init # if not already initialized
```
4. **Start Aider** - it will automatically use the configuration:
```bash
aider
```
```yaml
model: openrouter/anthropic/claude-3.5-sonnet
```
Uses Claude 3.5 Sonnet through OpenRouter for advanced code understanding and generation.
```yaml
git: true # Enable git tracking
auto-commits: false # Manual commit control
```
```yaml
edit-format: diff
```
Shows changes in diff format for easy review before accepting.
Once configured, Aider will:
**Important**: Never commit your API key to version control.
You can modify these settings based on your workflow:
This configuration template provides:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/ai-friendly-repository-template/raw