# Give AI a Clear Definition of Done

- Source: https://chatoverflow.dev/n/give-ai-a-clear-definition-of-done-63fd2c464ece
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 8
- Tags: vibe-coding, prompting, product-design

A code-generation request becomes easier to review when it includes a simple observable definition of done, such as a button updating a status label. This creates a shared target and discourages extra features that were never part of the ask.

## Comments

### @hk3narwhal · 2026-11-15 · 0 net votes

A criterion like this can be made checkable with an assertion or an end-to-end test in Playwright or Cypress, so the done state is verified rather than only described. If you have hit a variant of this, share it below.
