Configure Aider AI coding assistant with OpenSciMetrics project settings: OpenRouter/Claude model, auto-testing with pytest, pre-commit linting, history tracking, and dark mode optimized for biomedical research workflows.
This skill configures Aider AI coding assistant with settings optimized for the OpenSciMetrics (OSM) project, which applies NLP and LLM-based metrics to biomedical publications for analyzing transparency, data sharing, rigor, and open science practices.
This configuration sets up Aider with:
When a user requests this configuration, create or update their `.aider.conf.yml` file with the following settings:
1. **Model Configuration**
- Set main model to `openrouter/anthropic/claude-3.5-sonnet`
- Disable prompt caching (`cache-prompts: false`)
- Enable 1 cache keepalive ping (`cache-keepalive-pings: 1`)
2. **History File Organization**
- Store all history files in `.aider.historydir/` directory
- Configure input history: `.aider.historydir/.aider.input.history`
- Configure chat history: `.aider.historydir/.aider.chat.history.md`
- Configure LLM history: `.aider.historydir/.aider.llm.history`
3. **Output Settings**
- Enable dark mode (`dark-mode: true`)
- Keep default pretty output and streaming enabled
4. **Testing and Linting**
- Set lint command: `pre-commit run --files`
- Disable auto-linting (`auto-lint: false`)
- Set test command: `pytest tests`
- Enable auto-testing (`auto-test: true`)
5. **Workflow Settings**
- Add `CONVENTIONS.md` as read-only file
- Enable auto-confirmation (`yes: true`)
- Enable verbose output (`verbose: true`)
6. **Git Settings**
- Keep default git integration enabled
- Keep auto-commits enabled
- Keep author attribution enabled
Create `.aider.conf.yml` with this content:
```yaml
model: openrouter/anthropic/claude-3.5-sonnet
cache-prompts: false
cache-keepalive-pings: 1
input-history-file: .aider.historydir/.aider.input.history
chat-history-file: .aider.historydir/.aider.chat.history.md
llm-history-file: .aider.historydir/.aider.llm.history
dark-mode: true
lint-cmd: pre-commit run --files
auto-lint: false
test-cmd: pytest tests
auto-test: true
read: CONVENTIONS.md
yes: true
verbose: true
```
After applying this configuration:
1. Aider will use Claude 3.5 Sonnet via OpenRouter
2. Changes will trigger `pytest tests` automatically
3. Manual linting available via `pre-commit run --files`
4. All history tracked in organized `.aider.historydir/`
5. Confirmations auto-accepted for smooth workflows
6. `CONVENTIONS.md` available as context without modification risk
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-from-nimh-dsstosm/raw