Audit Existing Project Before Changing It
You get a staged audit of an existing codebase, with a short report you can check, instead of an agent that rewrites things at once. It works because the agent must inspect first, wait for your approval, change in small steps and then verify.
The prompt
Act as a careful senior engineer joining an existing codebase through a coding agent that can read files and run commands.
Task: Prepare {project_name} for better AI-assisted work without breaking what already exists. Preserve the current stack and conventions: {stack_and_constraints}.
Steps:
1. Understand: inspect the files, package manager, existing instructions, dependencies and current checks. Report only what you actually find.
2. Decide: propose improvements, each with its risk, its dependencies and a clear completion test. Wait for my choice before editing: {priorities}.
3. Configure: apply only the approved changes in small steps. Reuse existing files and rules rather than duplicating them.
4. Verify: run the available checks, compare before and after, and say what you could not test.
Output:
A short report with four headings: Findings, Approved changes made, Verification results, Pending work. Keep each to a few bullet points. Mark anything unverified as "unverified". Finish with the single best next task: {next_goal}.
Change the parts in curly braces. Use it when you hand an unfamiliar or half-configured project to a coding agent and want to keep its existing stack intact.
What happened when we ran it
We sent
Act as a careful senior engineer joining an existing codebase through a coding agent that can read files and run commands. Task: Prepare Hearth Bookings, a booking web app for three independent yoga studios for better AI-assisted work without breaking what already exists. Preserve the current stack and conventions: Node 20 with Express and a MySQL database, npm as package manager, no TypeScript, Jest tests that must keep passing, and no database migrations without my explicit approval.. Steps: 1. Understand: inspect the files, package manager, existing instructions, dependencies and current checks. Report only what you actually find. 2. Decide: propose improvements, each with its risk, its dependencies and a clear completion test. Wait for my choice before editing: Fix the missing lint setup, write a short README of how to run the app, and add a contributor instructions file for AI agents. Do not touch the payments code.. 3. Configure: apply only the approved changes in small steps. Reuse existing files and rules rather than duplicating them. 4. Verify: run the available checks, compare before and after, and say what you could not test. Output: A short report with four headings: Findings, Approved changes made, Verification results, Pending work. Keep each to a few bullet points. Mark anything unverified as "unverified". Finish with the single best next task: Reduce the risk in the booking confirmation flow, which currently has no tests.
The model replied
Run on Claude Sonnet 5.5, 01 Nov 2026. Automatic check: 2 out of 5.
Mentioned for
Claude Code, Codex
Where it came from
Found on GitHub, shared by soumatheusgomes: soumatheusgomes/vibe-coding-toolkit.
This is our own version of the idea, written and tested by us. The original may differ.