Review an AI Agent's Code Changes

Read an agent's diff the way a skeptical reviewer would: scope creep, silent behavior changes, weakened tests, and code that only looks finished.

The prompt

Review the diff below, written by an AI coding agent for the task described. Check: does it do what was asked and nothing more; is any behavior changed that wasn't requested; are tests deleted, skipped or weakened; is there placeholder or stubbed code; was error handling removed; were new dependencies added. List findings by severity with the exact lines.

Task:
{{task}}

Diff:
{{diff}}

Works in ChatGPT, Claude, Gemini and other assistants. Replace the highlighted placeholders with your own content.

How to use it

Paste the original request at {{task}} and the agent’s diff at {{diff}}. Comparing the change against what was asked is what catches scope creep and quiet behavior changes.

Tips for better results

  • Run the review in a fresh session. The agent that wrote the code tends to defend it.
  • Check deleted and skipped tests yourself; they’re the easiest thing to miss in a long diff.
  • Still run the code. A review gives you leads, not proof.

Save this prompt in Promta

Keep it in your library and paste it from the menu bar, a hotkey or your iPhone keyboard, without leaving the app you're in.

Download Free on App Store

Free to start · iPhone & Mac

Related prompts

Browse all 80 prompts