Five-stage agent routine that stopped an LLM deleting my repo — with the Brief prompt to steal

Iiifebri · reddit · 2026-11-17

After this week's agent horror stories (deleted repos, wiped prod databases), a Redditor shares a five-stage routine: Brief (agent restates the task first), Research, Plan, Execute (one chunk at a time), Review (check against the original brief, not vibes). The key free prompt: before doing anything, the agent must restate the deliverable, constraints, ambiguities, and done-criteria — most misunderstandings surface there, when fixing them costs nothing. The author has distilled 12 prompts across the five stages.

Original post →

More from coding & agent

coding & agent channel →