Advanced Aider AI coding assistant setup with Clojure conventions, auto-watch, linting, testing, and structured commit messages using dual-model architecture (Gemini architect + Sonnet editor).
This skill configures Aider as an advanced AI coding assistant optimized for Clojure MCP server development with automated workflows, structured commits, and dual-model architecture.
Sets up Aider with:
When the user invokes this skill:
1. **Verify Aider Installation**
- Check if `aider` is available in PATH
- If not found, provide installation instructions: `pip install aider-chat`
2. **Create `.aider.conf.yml` Configuration**
- Generate the configuration file in the project root with these settings:
```yaml
# Mark aider commits specifically
attribute-commit-message-author: true
# Watch is my preferred way to use Aider
watch-files: true
# Specify a read-only file (can be used multiple times)
read:
- CONVENTIONS.md
# Specify a custom prompt for generating commit messages
commit-prompt: |
You are an expert software engineer that generates clear Git commit messages based on the provided diffs.
Review the provided context and diffs which are about to be committed to a git repo.
Review the diffs carefully.
Generate a commit message for those changes.
The commit message should be structured as follows:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Use these for <type>: fix, feat, build, chore, ci, docs, style, refactor, perf, test
Ensure the <description>:
- Starts with the appropriate prefix.
- Is in the imperative mood (e.g., "Add feature" not "Added feature" or "Adding feature").
- Does not exceed 72 characters.
Ensure that you write a meaningful <body> for bigger changes.
Reply only with the commit message, without any additional text or explanations.
# Main model (Architect) and editor model (Editor)
model: gemini-exp
architect: true
editor-model: sonnet
# Testing and Linting of my code
lint-cmd: make format
auto-lint: true
test-cmd: make test
auto-test: true
```
3. **Verify Dependencies**
- Check if `CONVENTIONS.md` exists in the project root
- If missing, warn the user that convention enforcement won't work
- Check if `Makefile` exists with `format` and `test` targets
- If missing, suggest creating these targets or ask if they want to disable auto-lint/auto-test
4. **Validate Model Access**
- Confirm the user has access to:
- `gemini-exp` (Google Gemini Experimental) for architecture
- `sonnet` (Claude Sonnet) for editing
- If not configured, provide setup instructions for API keys
5. **Launch Aider**
- Start Aider in watch mode: `aider --watch`
- The tool will now monitor file changes automatically
- All commits will follow Conventional Commits format
- Code will be auto-formatted and auto-tested before commits
**Basic setup:**
```bash
aider --watch
```
**With custom conventions:**
```bash
```
**Commit workflow:**
```bash
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-expert-configuration/raw