Shaf Lab

Product requirements

Documents that describe what to build and why, often used to brief people or agents.

A product requirements document, or PRD, describes what to build and why: the problem, the users, the constraints, and the definition of done. When agents will implement the work, the document has to be specific enough that a newcomer could act on it without a hallway conversation. Vague goals produce vague diffs.

Write the outcome, the non-goals, and a few concrete examples. Include the checks you will run: tests, screenshots, performance budgets, or a manual script. Call out the systems the change must not break. If a decision is still open, say so, and say who will close it, rather than hiding the gap in soft language.

Keep the document close to the work, in the repo if you can, and update it when the plan changes. A PRD that only lives in a slide will not be in the agent's context when it matters. Short and current beats long and stale.

A good test is to hand the document to a person or an agent who was not in the meeting and see whether the first pull request is in the right neighborhood. If it is not, the requirements are not yet ready to implement.