Aider configuration for Textalyzer project - analyzes text metrics like word count, readability, complexity, and code duplication using OpenAI o3 with automated testing
Aider configuration optimized for the Textalyzer project, which analyzes key metrics of text including word count, readability, complexity, and code duplication.
This skill configures Aider to work with the Textalyzer Rust project with the following settings:
**Model Settings:**
**Automation:**
**File Context:**
The configuration includes specific Rust source files for active editing:
**Read-Only Context:**
When applying this configuration:
1. **Create the `.aider.conf.yml` file** in your project root with this exact content:
```yaml
model: openai/o3
architect: true
# model: gemini/gemini-2.5-pro
auto-test: true
test-cmd: cargo test
# auto-lint: true
# lint-cmd: cargo fmt
auto-commits: false
attribute-committer: false
file:
- Cargo.toml
- textalyzer-wasm/src/lib.rs
- textalyzer/src/duplication.rs
- textalyzer/src/file_utils.rs
- textalyzer/src/frequency.rs
- textalyzer/src/lib.rs
- textalyzer/src/line_length.rs
- textalyzer/src/main.rs
- textalyzer/src/output.rs
- textalyzer/src/types.rs
read:
- textalyzer/tests/integration_tests.rs
```
2. **Verify prerequisites:**
- Ensure you have a valid OpenAI API key configured
- Confirm Rust toolchain is installed (`cargo` is available)
- Verify the project structure matches the file paths listed
3. **Launch Aider** from your project root:
```bash
aider
```
4. **Automatic behavior:**
- After each code change, Aider will automatically run `cargo test`
- Tests must pass before changes are accepted
- Commits are manual (auto-commits disabled)
5. **Optional customizations:**
- Uncomment the Gemini model lines to switch to Gemini 2.5 Pro
- Uncomment `auto-lint` settings to enable automatic formatting with `cargo fmt`
- Enable `auto-commits: true` if you want Aider to commit automatically
- Enable `attribute-committer: true` to add co-author attribution
**Starting a session:**
```bash
aider
```
**Making changes:**
```
> Add validation for empty text input in the main analysis function
```
**Switching models:**
Edit `.aider.conf.yml` to comment out OpenAI and uncomment Gemini:
```yaml
model: gemini/gemini-2.5-pro
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/textalyzer-aider-config/raw