Configure Aider AI coding assistant for Python projects with auto-commits, Russian commit messages, and automatic linting with Ruff and Black.
Configure Aider AI coding assistant with automatic commits, structured Russian commit messages, default file awareness, and integrated Python linting.
Sets up Aider to:
1. **Create `.aider.conf.yml` in project root** with the following configuration:
```yaml
model: openai/gpt-5
editor-model: openai/gpt-5
auto-commits: true
commit-prompt: |
Кратко и по делу. Формат:
- scope: <подсистема>
- what: <что сделано>
- why: <зачем/эффект>
read:
- README.md
- Procfile
- requirements.txt
- app/**/*.py
- config/**/*.yaml
lint-cmd: "ruff check --fix . && black ."
```
2. **Ensure Python linters are installed**:
```bash
pip install ruff black
```
3. **Set OpenAI API key** (if not already configured):
```bash
export OPENAI_API_KEY=your_api_key_here
```
4. **Run Aider**:
```bash
aider
```
**Models:**
**Auto-commits:**
- `scope`: subsystem affected
- `what`: what was done
- `why`: purpose/effect
**Default Files:**
- `README.md` - project documentation
- `Procfile` - deployment configuration
- `requirements.txt` - Python dependencies
- `app/**/*.py` - all Python files in app directory
- `config/**/*.yaml` - configuration files
**Linting:**
- `ruff check --fix .` - fast Python linter with auto-fix
- `black .` - opinionated code formatter
1. Start Aider: `aider`
2. Make a request: "Add error handling to the API endpoint"
3. Aider reads default files, generates code, runs linters, and auto-commits with structured message
4. Review commit: `git log -1` to see the Russian-formatted commit message
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-for-python-auto-post-bot/raw