Aider configuration for the Booklog Pile project with Gemini 2.5 Pro, auto-commits, auto-lint, and comprehensive file context for authentication, booklog API, and UI components.
Configuration for AI-assisted development of the Booklog Pile application using Aider with Gemini 2.5 Pro.
This skill configures Aider to work efficiently on the Booklog Pile project by:
When activated, configure Aider with the following settings:
1. **Model Configuration**
- Use `gemini/gemini-2.5-pro` as the primary AI model
- This provides strong reasoning and code generation capabilities
2. **Automation Features**
- Enable `auto-commits: true` to automatically commit changes after each modification
- Enable `auto-lint: true` to run lint/format tools after code changes
- This ensures code quality and tracks changes systematically
3. **File Encoding**
- Set encoding to `utf-8` to prevent character encoding issues
- Critical for consistent file handling across different systems
4. **Context Files**
Load these files into the active context for editing:
- Authentication routes: `web/app/api/auth/login/route.ts`, `web/app/api/auth/register/route.ts`
- Booklog API: `web/app/api/booklog/route.ts`
- User API: `web/app/api/users/me/route.ts`
- Pages: `web/app/dashboard/page.tsx`, `web/app/layout.tsx`, `web/app/login/page.tsx`, `web/app/page.tsx`, `web/app/register/page.tsx`
- Components: `web/components/book-card.tsx`
- Context providers: `web/contexts/AuthContext.tsx`
- Libraries: `web/lib/auth.ts`, `web/lib/prisma.ts`, `web/lib/types.ts`
- Assets: `web/public/placeholder-cover.svg`
5. **Read-Only Reference**
Include `docs/MASTER_SPEC.md` as read-only reference documentation
- This provides specification context without allowing modifications
6. **Chat History**
- Enable `restore-chat-history: true` to maintain conversation continuity
- Helps maintain context across multiple development sessions
Create an `.aider.conf.yaml` file in your project root with this configuration:
```yaml
model: gemini/gemini-2.5-pro
auto-commits: true
auto-lint: true
encoding: utf-8
file:
- web/app/api/auth/login/route.ts
- web/app/api/auth/register/route.ts
- web/app/api/booklog/route.ts
- web/app/api/users/me/route.ts
- web/app/dashboard/page.tsx
- web/app/layout.tsx
- web/app/login/page.tsx
- web/app/page.tsx
- web/app/register/page.tsx
- web/components/book-card.tsx
- web/contexts/AuthContext.tsx
- web/lib/auth.ts
- web/lib/prisma.ts
- web/lib/types.ts
- web/public/placeholder-cover.svg
read:
- docs/MASTER_SPEC.md
restore-chat-history: true
```
Then run: `aider`
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/booklog-pile-development-configuration/raw