How They Use AI  |  Newest

<< Home  |  Work

Fantastic results in large existing codebase

AreaWork
AI usedClaude Opus
SourceReddit comment
Posted2026-05-10

The move

Break large coding tasks into a two-step process of planning followed by execution.

Steps

  1. Paste your codebase context into Claude.
  2. Ask Claude to create a step-by-step plan for your specific feature or bug fix.
  3. Review the plan for accuracy and provide additional context if needed.
  4. Instruct Claude to execute the code changes based on the approved plan.

Prompt for your AI

I have a large codebase and need to [add a feature/fix a bug]. First, analyze the provided code and create a detailed, step-by-step plan to implement [specific change]. Do not write the code yet, just the plan.

What happened

The user manages a large codebase requiring frequent feature additions and bug fixes. They use Claude to first generate a detailed plan, review it, and then prompt the AI to execute the code changes. This structured workflow consistently produces high-quality results.

Watch out

The AI may hallucinate logic in complex codebases, so manual review of the plan is mandatory. Large codebases may exceed context windows, requiring you to provide only relevant file snippets.

Give it to your agent

Read https://howtheyuse.ai/p/fantastic-results-in-large-existing-codebase.md and help me do this.

Sources



Last updated November 26, 2026.