THE GITHTML FIELD GUIDE
Turn an AI plan into acceptance criteria you can check
Acceptance criteria describe observable outcomes, not merely files an agent will create. For each promised behavior, specify the starting state, the action, the expected result, and the evidence needed to verify it. Use an HTML reading copy to annotate gaps, then return the agreed criteria to the implementation workflow.
Distinguish tasks from outcomes
Create a SettingsView and add a retry helper are implementation tasks. Neither tells you whether a person can recover from a failed request. Translate the task into behavior: after a network failure, the user sees a retry action that preserves the entered information. This does not prescribe every internal design choice. It gives the implementer a clear target and the reviewer something concrete to examine when the work is presented.
Use one illustrative scenario
Consider a document search feature. A useful scenario names a document containing a known phrase, the query the reader enters, and the passage that should be reachable. Then add an absent query and a query with punctuation. The exact interface can differ, but the expected experience should remain understandable. Label invented example inputs as examples so nobody mistakes them for existing production data or a test that has already passed.
Add boundaries that affect the user
Ask what happens when the input is empty, a request fails, access is denied, or the app resumes after an interruption. Pick cases relevant to the change rather than demanding an exhaustive checklist for every small task. Include one clear statement about what the feature deliberately does not cover. That statement can prevent a later review from quietly introducing another feature under the name of finishing the original one.
Agree on evidence before implementation
Decide which criteria need a local test, a device check, a screenshot, or a source review. A screenshot can show a layout but rarely proves persistence or authorization behavior by itself. In your reading notes, pair each criterion with the evidence you expect to see. When implementation ends, compare the result against the same criteria rather than inventing a new standard after seeing what the agent happened to build.
- Write Given, When, and Then for one user-visible behavior.
- Add a relevant failure scenario and an explicit scope boundary.
- Name the evidence that will demonstrate each criterion.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.