Define stop conditions first
Make done, blocked, unsafe, and not-worth-continuing observable before the loop starts.
Use this when
Keep going until it feels finished
The same failed approach retried with different wording
A budget exists but has no behavior when it is reached
The quality gate
- Done is an observable outcome with required evidence, not effort spent
- Time, cost, turn, and scope budgets have explicit caps
- Unsafe, destructive, external, or authority-expanding actions require a stop or approval
- Repeated-failure and no-progress thresholds define when to change approach
- The final state requires a concise evidence, gap, and next-action report
Prove it: Present five scenarios—done, budget exhausted, repeated failure, approval required, and weak evidence—and confirm each produces one unambiguous terminal action.
Install or copy
Save the download as stop-conditions/SKILL.md in your agent's supported skills directory, or copy the complete package below. Load it only when its description matches the work.
--- name: stop-conditions description: "Defines observable completion, budget, approval, failure, and safety terminal conditions for an agent loop. Use before autonomous, repeated, expensive, or production-adjacent work." --- # Define stop conditions first Apply this skill during **Architecture** work. It supports Any stack. Make done, blocked, unsafe, and not-worth-continuing observable before the loop starts. ## Instructions Define terminal conditions before starting this loop. Describe done as an observable outcome plus the evidence required to claim it. Set explicit caps for time, cost, turns, retries, and scope. List actions that must stop for approval: destructive changes, secret access, external communication, production mutation, legal or financial commitment, or any expansion of authority. Define a repeated-failure threshold and what materially different approach must follow it. Define when weak evidence means narrow or stop rather than continue producing. At termination, require a report of evidence collected, gaps remaining, changes made, and the safest next action. ## Detect the problem - Keep going until it feels finished - The same failed approach retried with different wording - A budget exists but has no behavior when it is reached ## Hold the gate Do not declare this phase complete until every item passes: - [ ] Done is an observable outcome with required evidence, not effort spent - [ ] Time, cost, turn, and scope budgets have explicit caps - [ ] Unsafe, destructive, external, or authority-expanding actions require a stop or approval - [ ] Repeated-failure and no-progress thresholds define when to change approach - [ ] The final state requires a concise evidence, gap, and next-action report ## Verify the result Present five scenarios—done, budget exhausted, repeated failure, approval required, and weak evidence—and confirm each produces one unambiguous terminal action.
More architecture skills
Boring architecture, written down
Choose the dullest tech that works, and record why in one page.
The data model comes first
Schema before endpoints — constraints in the database, not in hope.
Business logic is a pure core
Rules live in pure functions; I/O stays at the edges; state machines are explicit.
Want this quality gate applied to a real product decision?
Start a First Loop