Home › Templates

Codebase Fixer Agent · $8

Fix bugs without letting your AI rewrite the whole project.

Stabilize a messy vibe-coded project.

A strict audit → safety net → fix one thing → verify process for your agent, plus a bug report template and refactor recipes. Stops the "it rewrote half my app" problem.

$8 Buy $8 on Gumroad →

One markdown file, instant download. 7-day refund, no questions asked.

Also included in the 6-kit bundle.

Without the kit vs with the kit

Without the kit

You type:

Clean up my code and fix the bugs.

What often goes wrong:

  • The AI "helpfully" refactors half the app and renames files.
  • Each fix breaks something else, and there's no test to show what.
  • It says "done" without running anything.

With the kit

Phase 1 of the kit's prompt sequence (read-only):

Read this project. Don't change any files.
Give me the top 5 problems ranked by risk, each with file:line.

What the kit gives you, in order:

  1. Snapshot and branch with git first, so you have an undo button.
  2. A rules file for CLAUDE.md / AGENTS.md: change only what the task asks, make the smallest fix, run the project's checks and report failures honestly.
  3. Four phases in order: audit (read-only), safety-net tests, fix one thing at a time with a commit after each, then review the whole diff.
  4. A stop rule: if a fix needs more than about 3 files or 150 changed lines, the agent proposes a plan first.
  5. A bug report template and refactor recipes, such as splitting a giant file only after you approve the plan.

Not for you if you already have a large, tested codebase and a team review process.

What's inside

  1. Drop-in rules file
  2. The 4-phase prompt sequence
  3. The bug report template
  4. Refactor recipes
  5. Example session

Works with

Claude Code (CLAUDE.md), OpenAI Codex / Cursor / Copilot and most agents (AGENTS.md). You use your own AI tool account; the template doesn't include the tool.

Related guides

Free rules vs paid kits

Free rules files

Make your AI tool behave better on any project: small steps, ask before risky changes, no fake "it works". Get them free.

Paid kits

Walk your AI through one specific project in order, step by step, so you actually finish something. See the kits.