Multi-model Aider setup with custom commit rules for dotfiles and tlon projects, auto-linting, and project-specific conventions.
A carefully crafted Aider configuration with multi-model support, project-specific commit message rules for dotfiles and tlon projects, and global conventions.
This configuration provides:
Currently configured to use:
The configuration includes ready-to-use presets for:
Generates concise commit messages (≤70 characters) with project-specific logic:
1. **For `dotfiles` project** (files in `emacs/extras` or `emacs/extras/doc`):
- Format: `<filename-without-extension>: <lowercase description>`
- Example: `files-extras: refactor directory traversal logic`
2. **For `tlon` project** (files in project root or `doc` subdirectory):
- Format: `<extracted-module-name>: <description>`
- Extracts module name between `tlon-` and `.el`
- Example: For `tlon-tts.el` → `tts: add speech rate control`
- Documentation files use the same module name as their Elisp counterparts
3. **For all other projects**:
- Standard commit conventions apply
1. Copy this configuration to your `.aider.conf.yaml` file in your project root or home directory
2. Ensure the global conventions file exists:
```bash
# Create if needed
touch ~/Dropbox/dotfiles/aider/global_conventions.md
```
3. Switch models by commenting/uncommenting the desired model block:
```yaml
# Comment out current model
# model: openrouter/anthropic/claude-opus-4.5
# edit-format: diff-fenced
# Uncomment desired model
model: openai/gpt-5.2
edit-format: diff-fenced
```
4. Start Aider in your project:
```bash
aider
```
5. Commit messages will automatically follow the project-specific rules based on your directory structure
Extend the `commit-prompt` section with additional project-specific logic:
```yaml
commit-prompt: |
Generate a concise commit message following these rules:
# ... existing rules ...
- If the current project is `my-project` and files are in `src/`, use format: `<module>: <description>`
- In all cases, the commit should not be longer than 70 characters.
```
Update the `read` section to point to your conventions file:
```yaml
read:
- /path/to/your/conventions.md
```
Toggle auto-linting:
```yaml
auto-lint: false # Disable auto-linting
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-benthamitedotfiles/raw