Clear requirements and elicitation with agents
The most important quality of a requirement is that it communicates. Everything else follows. The 2017 recommendations for writing good requirements still hold:
- Clear. Plain language, not code, not an esoteric standard.
- Customer based. Requirements come from the customer. If the delivery team generates them in isolation, they are not requirements. In green-field or exploratory work with no informed customer, do user research and carry the risk honestly until real feedback arrives.
- Testable. Where a sentence is aspirational, attach acceptance criteria that make it testable.
- Flexible in format. Text, sketches, storyboards, activity and state diagrams, specification by example: the right format is the one that best communicates that particular requirement. Do not impose templates to the point that clarity suffers.
- Just enough. Inch deep, mile wide, then elaborate what the next release needs.
Clarity has acquired a sharper test. Read the requirement as if you were an agent with no access to the author: a competent engineer who has read the codebase and the rest of the backlog but cannot ask a question. Every point at which that reader would have to choose between two reasonable interpretations is a gap. Some gaps are fine to leave (the agent’s choice will do, or the criteria will catch a bad one). Others are not, and those are the ones to write down: the constraint, the non-obvious context, the thing the business knows and the codebase does not. This is what outcome-based prompting is: a requirement and its criteria, written to this standard, with the context attached.
Elicitation with agents in the room
AI-assisted elicitation is real and useful, provided the division of labour is kept clear. An agent can transcribe and summarise customer interviews, cluster customer requests, draft candidate scenarios from an interview and a scoping diagram, find the stories on a backlog that no scenario claims, point at criteria that are not testable, and draft the first Gherkin examples. All of that is the mechanical part of requirements work, and it was always the part that crowded out talking to customers.
What it cannot do is decide. Which request matters, what the real job is, what “good enough” means for a performance limit, whether a security criterion is proportionate: these are judgements made by the Product Customer and the team, with evidence. A drafted scenario is a question put to a customer, not a requirement. The failure mode to watch for is a backlog that fills up with fluent, well-formed, agent-drafted requirements that nobody has validated with a user. They look better than the sticky notes they replaced and are worth less.
Two habits keep it honest. Every requirement names the customer it came from, and the conversation it came from. And every scenario has a person’s name on it as the one who will accept it.
Related
- Outcome-based prompting: a requirement and its criteria, written to this standard
- Where the newer techniques fit: formats and habits for particular places in the stack
- User stories and Problems: the bottom of the stack and its anti-patterns