Skip to content
TopInsight .co
A dark terminal window with a blinking prompt cursor, surrounded by floating editorial annotation labels glowing in subtle warm amber — tutorial / first-week workflow feel.

Aider best practices — the first-week workflow that makes it actually work

Aider rewards specific working patterns. r/ClaudeAI "6 months pair programming" (1459 ups) + r/aider thread + IndyDevDan's Plan Mode video frame the workflow. Three months of daily use.

C Charles Lin ·

Aider rewards a specific working pattern. After three months of daily use across personal and client projects, the productivity gain comes from a small set of disciplined practices — most of which the Aider docs cover but the first-week user typically skips.

The r/ClaudeAI “After 6 months of daily AI pair programming, here”s what actually works” thread (1,459 upvotes, June 2) captured the broader pattern across tools (Aider, Cursor, Claude Code). The disciplines transfer: plan first, scope tight, structured prompts, frequent commits. This guide is the Aider-specific application of those patterns.

IndyDevDan”s “Claude Code Plan Mode” video (June 16) — published 11 days after this article was first drafted — explicitly named the “let the AI write a plan first, you review the plan, then it executes” pattern as the senior-engineer workflow. Aider had this pattern available via /architect mode since early 2025; Claude Code added it as Plan Mode; both unlock the same productivity win.

The Aider working pattern in one paragraph

Run aider from the project root with a model that matches the task. Use /architect mode for any non-trivial task — let Aider think through the plan before writing code. Reference specific files with /add file.py rather than dumping the whole codebase. Commit after every meaningful change. Keep the chat focused on one task at a time; start a fresh session when context drifts. Use --auto-lint and --auto-test to enforce quality gates the model can”t skip. Read the diffs before accepting.

That”s the entire framework. The rest of this guide is the operational detail.

First-week setup

Day 1: Install and configure for your model.

pip install aider-chat

# Set API key for your preferred model
export ANTHROPIC_API_KEY=sk-ant-...  # for Claude
# OR
export OPENAI_API_KEY=sk-...         # for GPT
# OR
export DEEPSEEK_API_KEY=...          # for DeepSeek
# OR run against local Ollama: aider --model ollama/qwen2.5-coder:32b

# Default config in ~/.aider.conf.yml
model: claude-3-7-sonnet-20250219
auto-lints: true
auto-commits: true
gitignore: true

Day 2: Configure project-specific conventions.

# In your project root
cat > .aider.conf.yml <<EOF
# Project-specific overrides
model: claude-3-7-sonnet-20250219
edit-format: diff       # use diff format for clean commits
read: README.md         # Aider auto-includes this for context
auto-test: true
test-cmd: pytest
EOF

# Add a CONVENTIONS.md the model will read
cat > CONVENTIONS.md <<EOF
# Project conventions

- Use TypeScript strict mode; no `any` types
- Functions over classes when possible
- Tests live alongside source: `src/foo.ts` → `src/foo.test.ts`
- Use Vitest for tests, not Jest
- Format with Biome, not Prettier
EOF

Day 3: Practice the /architect mode pattern.

Start a session. Don”t immediately ask for code. Ask Aider to plan:

/architect Implement user authentication using sessions. Use Postgres for session storage. 
Follow the project conventions in CONVENTIONS.md. Don't write code yet — give me the plan.

Review the plan. Refine it. Then say “implement this.”

This is the same Plan Mode pattern IDD covers for Claude Code. It eliminates ~80% of “AI got confused” failures by forcing alignment before execution.

The disciplines that earn their keep

From three months of daily use, sorted by impact:

1. Always /architect first for non-trivial tasks. The 30 seconds of plan review saves 30 minutes of “the model went the wrong direction.” This is the single highest-impact pattern.

2. /add files explicitly; don”t dump the whole repo. Aider works best with focused context. Add the files you”re editing + their direct dependencies. Use /drop when files are no longer relevant.

3. Use --auto-lints and --auto-test. Aider runs your linter and tests after each edit. Catches “the code looks right but doesn”t compile” before you waste a session iterating.

4. Commit after every meaningful change. Aider does this by default with --auto-commits true. Don”t turn this off. Per-change commits make it easy to revert single changes, and the commit messages auto-generated by Aider are usefully descriptive.

5. Start fresh sessions when context drifts. Sessions that run too long lose focus. When you notice the model misremembering earlier discussion, exit (/exit), start a new session, /add the relevant files, restate the goal.

6. Read the diffs before accepting. Aider shows you diffs. Read them. Don”t auto-accept. The 30 seconds of review catches bugs that take hours to discover later.

What the r/ClaudeAI “6 months” thread said about cross-tool patterns

The 1,459-upvote thread (Jun 2) lists what worked for the OP across 6 months of daily AI pair programming (mostly Claude Code, but applicable to Aider):

The Game Changers:

  • Make AI Write a plan first, let AI critique it: eliminates 80% of ”AI got confused” problems
  • …”

Top responses (169 upvotes): “Also don”t let it choose libraries. It can help find them, but letting it choose them is asking for problems.”

(77 upvotes): “Spot on. For me I got more mileage by telling AI to always write integration tests and never mock unless it has to do with time…”

The pattern: discipline matters more than model. Aider with disciplined workflow outperforms Claude Code with sloppy workflow. The reverse is also true.

Model selection for Aider

Aider works with many models. The recommended defaults in mid-2025:

  • Claude 3.7 Sonnet — best all-around quality; default for hard tasks
  • DeepSeek V3 — best cost-per-quality for bulk work; tops Aider leaderboard for several tasks
  • GPT-4o / 4.1 — solid; lower than Claude/DeepSeek on the leaderboard
  • Local Qwen2.5-Coder via Ollama — for offline / privacy-sensitive work
  • Gemini 2.5 Pro — improved through 2025; viable alternative

The Aider leaderboard is honest about which models excel at which tasks. Check it; route accordingly.

When Aider isn”t the right tool

The r/ClaudeAI “Claude Code Divide” thread (1,446 upvotes, July 3) captures the competitive context. Claude Code shipped February 2025 and has been steadily eating the “agentic CLI coding” mindshare from Aider. By mid-2025, the divide is:

  • Claude Code for users in the Anthropic ecosystem who want the most polished agent loop
  • Aider for users who want model flexibility, BYOK pricing, or open-source values
  • Both for users who want different tools for different tasks

IDD”s “Gemini CLI vs Claude Code” video (June 30) puts Aider in the broader CLI tooling landscape. By summer 2025, the CLI-AI-coding category has multiple credible options; Aider remains the principled open-source choice.

Creator POV vs Reddit dissent

The creator landscape in mid-2025 increasingly favors Claude Code over Aider for content. IDD, Theo, Fireship — all primarily cover Claude Code. Aider gets coverage as the “principled alternative” but doesn”t dominate mindshare.

IDD”s “3 ODDLY Useful Claude Code Repos” (June 23) frames the broader CLI tooling ecosystem — there are many useful repos and patterns, regardless of which CLI you primarily use. The patterns transfer.

The Reddit dissent splits productively:

The pro-Aider principled minority — vocal in r/aider, r/LocalLLaMA. Values: open source, BYOK, model flexibility, no vendor lock-in.

The “Claude Code ate Aider”s lunch” camp — observational, partly true. Aider”s mindshare has shrunk; the active community is smaller; new content is less frequent.

The “use both” camp — pragmatic majority of serious users. Aider for specific use cases (local models, BYOK cost optimization, model flexibility); Claude Code for daily-driver in the Anthropic ecosystem.

The r/aider “why is there no one here?” thread (May 31) captures the community vibe: Aider is still excellent, just quieter than peer tools. Loyal users continue shipping; the broader market moved toward Claude Code.

What this means for working engineers in early June 2025

Three concrete starting positions:

1. If you”re trying Aider for the first time, commit to the disciplines for a week. The first week without disciplines feels worse than Cursor; the second week with disciplines feels better than Cursor for specific tasks.

2. Use /architect mode by default for non-trivial work. Single biggest productivity multiplier. Don”t skip it.

3. Treat model choice as workload-specific. Claude 3.7 for hard; DeepSeek V3 for bulk; local for sensitive. Aider makes the swap trivial.

The honest critique

What Aider doesn”t do well:

  • Big multi-file refactors are harder than in Cursor. Aider”s file-by-file workflow doesn”t handle “rename this thing across the codebase” as cleanly as IDE-integrated tools.
  • First-time setup is steep. The disciplines compound over weeks; the first day feels like fighting the tool. Many users bounce before getting to the productivity zone.
  • Less integrated with IDE workflows than Cursor or Continue. If you live in your editor, the CLI context-switch is real friction.
  • Smaller community in 2025. Fewer tutorials, fewer Stack Overflow answers, fewer extension patterns.

For most working engineers reading this in early June 2025: Aider is excellent for the principled, disciplined CLI workflow. The first week is the investment; the second week and beyond is the payoff. If you value model flexibility, open-source provenance, and structured CLI work, it”s worth the curve.

For broader Claude Code context, see our Claude Code first-month dominance piece and Aider vs Claude Code head-to-head.

Sources

Every reference behind this piece. If we make a claim, it's because at least one of these said so — or we lived it ourselves.

  1. YouTube IndyDevDan — "Yup, Claude Code Plan Mode is here: The Senior Engineer's Workflow" (Plan-first pattern applies to Aider) — IndyDevDan
  2. YouTube IndyDevDan — "3 ODDLY Useful Claude Code Repos No One Talks About" — IndyDevDan
  3. YouTube IndyDevDan — "No, Gemini CLI CAN'T touch Claude Code BUT I'd NEVER bet against Google" (CLI tooling landscape) — IndyDevDan
  4. Docs Aider official documentation — Aider / Paul Gauthier
  5. Docs Aider — leaderboard and benchmarks — Aider
  6. Blog r/ClaudeAI — "After 6 months of daily AI pair programming, here's what actually works" (1459 upvotes) — r/ClaudeAI
  7. Blog r/ClaudeAI — "The Claude Code Divide: Those Who Know vs Those Who Don't" (1446 upvotes) — r/ClaudeAI
  8. Blog r/aider — "why is there no one here? aider saves me in this video" (community signal) — r/aider
  9. Firsthand Three months of daily Aider use across personal and client projects