Definition of Done

You might say

AI keeps saying “done” after edits, yet mobile layout is still broken and checks were skipped—how do we set a shared finish line?

A shared set of quality conditions (often shortened to DoD) that every deliverable must meet before counting as complete.For example, a team can agree that every change must pass typecheck and build, stay usable on desktop and mobile widths, and contain no secrets. Unlike feature-specific acceptance criteria, a Definition of Done applies across all tasks, yet passing it still does not prove users will love the feature.
DoDDefinition of Done (DoD)

You can say this to an AI Agent

Ready to paste into Cursor, Claude Code, or Codex
Structured AI Agent prompt

Check this “New article draft” change against our project Definition of Done: verify the feature's acceptance criteria, typecheck and build pass, desktop and 390px mobile views have no overflow or overlap, and no secrets or unrelated files are included. Report the actual result for each item, and fix any failed item before calling the task done.

Want your Agent to translate plain-language UI ideas automatically?Install free VibeHub Skill →
Oil UI Pro. Push AI’s design skills to the limit. Usability, existing projects and stricter review.
Further reading