Production-grade Aider setup for a dual-database stock verification system with FastAPI backend, React Native frontend, and strict SQL read-only constraints.
Configure Aider to work on a stock verification system with a read-only SQL Server ERP source and a read-write MongoDB primary database.
Use Claude Sonnet 4 with diff-based editing for both primary and weak model tasks:
```
model: claude-sonnet-4-20250514
edit-format: diff
weak-model: claude-sonnet-4-20250514
```
Enable Git integration with full author attribution, but disable auto-commits for manual control:
```
git: true
gitignore: true
auto-commits: false
dirty-commits: false
attribute-author: true
attribute-committer: true
attribute-commit-message-author: true
attribute-commit-message-committer: true
```
Prevent Aider from modifying documentation and configuration files. Add these as read-only context:
```
read:
- README.md
- ARCHITECTURE.md
- API_CONTRACTS.md
- API_REFERENCE.md
- .cursorrules
- .github/copilot-instructions.md
```
Configure language-specific linters to run automatically on modified files:
Set the test command to run the full suite via Makefile:
```
test-cmd: "make test"
```
**Individual test commands** (for reference):
Use a 2048-token context window with automatic refresh:
```
map-tokens: 2048
map-refresh: auto
```
Inject the following system prompt to enforce architectural constraints:
```
You are working on the Stock Verification System.
CRITICAL RULES:
ARCHITECTURE:
TEST COMMANDS:
```
Enable shell command suggestions and diff display. Load secrets from `.env`:
```
suggest-shell-commands: true
show-diffs: true
check-update: true
env-file: .env
```
Respect both `.gitignore` and `.aiderignore` for file exclusions:
```
ignore-file:
- .gitignore
- .aiderignore
```
Enable experimental voice mode with English language:
```
voice-language: en
```
Once configured, Aider will:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-for-stock-verification-system-cgvydq/raw