Skip to content

Planning

Write clear requirements in EARS form

The five EARS templates for writing requirements, with examples, the vague words Talqeen flags, and how every requirement is linked to at least one task.

Talqeen wrote this article and no editor has reviewed it yet. Search engines do not see this page until it is reviewed.

A vague requirement costs you twice: once when the model reads it differently from what you meant, and again when you find out after the feature is built. EARS (Easy Approach to Requirements Syntax) writes requirements in fixed templates that remove most of that ambiguity. Every Talqeen plan uses it.

The five templates

  1. Ubiquitous: always true. "The system shall store passwords hashed."
  2. Event: "When a customer cancels an appointment, the system shall notify the salon owner."
  3. State: "While the connection is lost, the app shall keep the booking and send it later."
  4. Unwanted behaviour: "If the user enters an invalid number, then the system shall show a message explaining the error."
  5. Optional: "Where payments are enabled, the system shall show a pay button on the booking page."

The fixed form makes each requirement one sentence with a subject, an action and a clear condition.

Words the lint flags

Talqeen checks every requirement and warns about words you cannot test: "fast", "easy", "intuitive" or "secure" with no number or condition; "etc."; "shall support" without saying what support means; "as much as possible". "The page is fast" becomes "search results appear within one second".

Codes and traceability

Every requirement has a stable code (REQ-1, REQ-2) and every task one too (TASK-1), and each task names the requirements it fulfils. Talqeen checks that every requirement has at least one task and every task a requirement. When Claude Code asks your project's server for the next task, it gets the requirement codes and text with it, so it knows what must hold before it says "done".

From requirement to test

A good requirement almost writes its own test: create an appointment, cancel it, check that a notification exists. If you cannot picture the test, rewrite the requirement.

Try it

Write three requirements for a feature you know: one event, one unwanted behaviour, one ubiquitous. Then write one sentence describing each one's test.