The PRD review checklist I run before an AI agent touches the code
A PRD is not finished when it reads well. It is finished when an AI coding agent can build from it without guessing. The most expensive moment to discover a vague requirement is after the agent has already written 400 lines of code around the wrong assumption.
So before I hand any spec to Cursor or Claude Code, I run it through this checklist. Every item below is something I have personally been bitten by.
1. Every feature has GIVEN-WHEN-THEN acceptance criteria
"Users can reset their password" is a wish, not a requirement. This is a requirement:
GIVEN a user with a verified email requests a reset
WHEN they open the reset link within 15 minutes
THEN they can set a new password and are logged in
If a feature has no GIVEN-WHEN-THEN block, it is not ready. The agent will invent the behaviour, and its invention will not match yours.
2. Out-of-scope is written down, not assumed
Every PRD I write has an explicit non-goals section. "Social login is out of scope for v1" is a sentence that saves an entire afternoon of the agent building Google OAuth nobody asked for.
If it is not written as out of scope, the agent treats it as in scope. Silence is permission.
3. Every entity has a schema, not just a name
Mentioning a "workspace" means nothing. The PRD needs the table:
CREATE TABLE public.workspaces (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
owner_id UUID NOT NULL REFERENCES auth.users(id),
name TEXT NOT NULL CHECK (char_length(name) BETWEEN 3 AND 64),
created_at TIMESTAMPTZ DEFAULT now()
);
Fields, types, constraints, relationships. When the schema is exact, the agent stops inventing columns — and stops inventing tables that do not exist.
4. Auth rules are stated per table and per endpoint
"Only workspace members can see sprints" has to become a real rule, for example a Row Level Security policy:
CREATE POLICY "Tenant Workspace Isolation" ON public.sprints
FOR ALL USING (
workspace_id IN (
SELECT workspace_id FROM public.workspace_members
WHERE user_id = auth.uid()
)
);
If the PRD does not say who can read, write, and delete each resource, the agent will either leave the door open or lock the owner out. Both are bugs you find in production.
5. Edge cases are listed per feature, not discovered later
For every feature I ask: what happens when the input is empty, the list has zero items, the network fails, the same button is pressed twice, or the number is out of range?
A PRD that only describes the happy path produces an app that only works on the happy path. The unhappy path is where your users actually live.
6. No ambiguous adjectives without numbers
"Fast", "secure", "user-friendly", "scalable" — delete them all unless a number follows. "Page load under 1.5 seconds" is a requirement. "Fast loading" is a mood.
The same goes for quantities: "supports many users" means nothing; "supports 1,000 concurrent users on the Starter tier" can be built and tested.
7. File names, routes, and API paths are named, not implied
The agent needs to know that the endpoint is POST /api/v1/sprints/create, the page lives at app/(dashboard)/sprints/page.tsx, and the payload is validated by a Zod schema called CreateSprintSchema. When paths and names are exact, the code lands in the right files the first time.
8. The four documents agree with each other
This is the check that catches the most errors. My specs come as four files — PRODUCT_REQUIREMENTS.md, UI_UX_SPECIFICATION.md, TECHNICAL_ARCHITECTURE.md, and AI_AGENT_IMPLEMENTATION.md — and before coding starts I check that they say the same thing:
- Every feature in the PRD has a screen in the UI spec.
- Every screen has tables in the architecture file.
- Every table has an RLS policy and an API contract.
- Every rule in the agent file matches the other three.
If the PRD promises a feature the schema cannot store, that mismatch is a bug — and it is far cheaper to fix in the document than in the database.
How I actually run this
I generate the 4-file suite first, then read it like a reviewer, not an author. I check each item above in order, fix the gaps in the documents, and only then paste the agent rules into Cursor. The review takes ten minutes. Rebuilding a wrong feature takes a day.
If you want the same starting point, the generator builds all four files from one idea in under 60 seconds — you can try it free with 50 credits at webdevmehedi.com/ai-prd-generator — and the free template I review against is in the ai-prd-template repo.
A PRD you would not bet a day of coding on is not a PRD yet. Run the checklist, fix what fails, and then let the agent build.
Web Dev Mehedi turns an app idea into a build-ready PRD, UI/UX spec, database schema, API contracts, and Cursor/Claude Code rules in under 60 seconds. Free signup includes 50 credits; paid plans start at ৳99/month.
Top comments (1)
The out-of-scope point is the one that bit me. If I did not write down what a feature should not do, the agent built it anyway, and then I had to pull it out. The four documents agreeing with each other is the check I would run first - when the spec says one thing and the schema cannot store it, that is the bug I only find after the code is written. Do you re-run the whole checklist when you change one feature, or only the parts that feature touches?