PRD template for Claude Code and Cursor
One task, one page, and checks the agent can run before it says done.
Card required · Eligible new accounts pay nothing until day 14
The template
PRD: [working title]
Owner: name | Status: draft / approved | Date: YYYY-MM-DD Issue / PR: link
One task or one vertical slice per PRD. Stable project rules (commands, conventions, security) live in CLAUDE.md or AGENTS.md; this file holds the decision for this task. Save it as
docs/specs/<feature>.mdor in the issue and reference it by path.
1. Problem
- Primary user: who has the problem
- Situation and problem (one sentence): what goes wrong, and when
- Why now: what changed, or what it costs to wait
Evidence
Mark each line observed (seen or heard directly), inferred (your reading of it) or assumed (not checked yet).
| Evidence | Source | Status |
|---|---|---|
| "Quote in the customer's own words" | Call with [segment], [date], link | observed |
| Pattern you see across tickets | Support tickets, link to search | inferred |
| Belief the plan depends on | None yet | assumed |
- What we still don't know: the open question that could change the plan
2. Outcome
- User outcome: what becomes easier, faster or safer for the user
- Product signal: the behaviour that would show this helped
- Baseline: number + source, or "unknown: instrument first"
- Guardrails: what must not get worse (errors, privacy, latency, user control)
3. Scope
- In scope: the smallest slice that solves the problem
- Out of scope (non-goals): adjacent work the agent must leave alone, e.g. "no new settings page"
- Must not: forbidden actions or side effects, e.g. "do not change pricing logic or consent text"
- Dependencies: other teams, services or decisions this waits on
4. Required Behaviour
- R1. Entry point and main path: in plain language
- R2. Empty, loading and error states:
- R3. Permissions and data handling: who can see and do what
- R4. Edge cases that change the decision:
5. Context
- Current behaviour: route, screen or file
- Relevant decisions: link to the decision record
- Known constraints: platform, compatibility, latency, policy
- Repository rules: see CLAUDE.md / AGENTS.md
- If two sources conflict: stop and ask owner
6. AI Behaviour
Only if the feature itself uses a model. Delete this section otherwise.
- Inputs the model may use:
- Output shown or saved:
- Grounding: which source backs each claim
- Uncertainty: when to say "not enough evidence" or ask
- Human control: which actions need review before they take effect
- Failure handling: timeout, malformed output, missing evidence
- Eval cases: link, including hard and negative examples
7. Acceptance Checks
Each check comes back pass or fail. Name the command or observation that decides it.
- AC1. Given state, when action, then observable result.
- AC2. If unwanted condition, then the system shall safe fallback.
- AC3. Given a user without permission, when they open it, then no restricted data appears.
- AC4. Regression: existing test command still passes.
Verify with: test, typecheck, lint and end-to-end commands, e.g. npm test, npm run typecheck
8. Agent Execution Agreement
- Read this PRD and the repository instructions before editing.
- Restate the requirement and list open questions. Wait for answers on anything marked "decision".
- Propose a plan: files to change, tests to add. Wait for approval.
- Build the smallest slice that passes the acceptance checks.
- Stop and ask before you change a public API, touch auth, billing or migrations, add a dependency, or settle an open question.
- Run the verify commands and paste the commands and their output, not a summary.
- Summarise changed behaviour, assumptions and remaining risks.
Prose is guidance an agent may decide does not apply. A rule that can have no exceptions (never run migrations, never force-push) belongs in a hook, deny rule or managed setting as well.
What Specky makes with this
A filled-in version for a fictional product. In your workspace, Specky cites the calls, tickets and messages it found, as footnotes, and writes “Needs Evidence” where it found none instead of inventing a source.
ExampleFictional product, fictional peopleShowHide
PRD: show remaining balance on partially paid invoices
Owner: Product (example) | Status: approved | Issue: #142 (example)
1. Problem
- Primary user: café owner paying a supplier in instalments
- Problem: the invoice shows "unpaid" after a part payment, so owners track the balance in a spreadsheet.1
| Evidence | Status |
|---|---|
| Owner describes paying in three instalments1 | observed |
| Most owners keep a side spreadsheet | assumed |
3. Scope
- In scope: record a payment; show the balance on the invoice page and list
- Out of scope: bank matching, payment plans with interest
- Must not: change how tax totals are calculated
7. Acceptance checks
- AC1. Given a 300.00 invoice, when the owner records 100.00, then the invoice shows 200.00 remaining.
- AC2. If a payment exceeds the balance, then the system shall reject it with the remaining amount in the message.
- AC4.
npm testandnpm run typecheckpass.
Footnotes
Do this from Claude
Stay in Claude Code, the Claude apps, Cursor or ChatGPT. Connect Specky’s MCP server once, copy this template, paste it into the chat and ask. The MCP tools can’t open your template library, so the agent works from the pasted copy and saves the result to Specky.
1. Connect once
claude mcp add --transport http specky \ https://www.specky.space/api/mcp \ --header "Authorization: Bearer sk_live_your_key"
Replace sk_live_your_key with a workspace API key from Settings → Developer in Specky. Write and AI calls follow your workspace role and plan limits, and anything an agent writes lands as a draft for review.
MCP setup guideAll supported agentshttps://www.specky.space/api/mcp
2. Ask
“Here is the Specky "PRD for AI Coding Agents" template (pasted below). Search my Specky workspace for evidence about <feature>, fill in the template with a footnote for every claim, mark anything unsupported as "Needs evidence", and save it as a prd draft.”
Calls
search_workspace,create_document“Get the Specky coding brief for ticket <ticket title>, restate the acceptance checks, and propose a plan before you edit anything.”
Calls
get_coding_brief“Before you tell me this is done, run Specky's change check on the diff and paste what it found.”
Calls
validate_agent_change
Questions
How is this different from a normal PRD?
The questions are the same: who has the problem, what should change, how you will know. This version is scoped to one task and is explicit about non-goals, stop rules and checks the agent can run, because an agent acts on ambiguity instead of asking.
Should the PRD go in CLAUDE.md or AGENTS.md?
No. Those files load on every task, so they hold durable rules such as commands and conventions. Save the PRD as its own file, for example docs/specs/<feature>.md, and reference it by path for that task.
How long should it be?
About one page for a standard feature slice, up to two for changes that touch permissions, billing, personal data or AI-generated claims. Link out for detail instead of pasting it in.
How do I use the PRD for AI Coding Agents template in Specky?
Open Templates from the command menu (Cmd+K, or Ctrl+K on Windows) and press Use on "PRD for AI Coding Agents". Specky creates a new document with these sections in place and opens it in the editor. If your workspace was created before this template was added, press "Add missing defaults" in Templates first.
Can I use it without Specky?
Yes. Copy it as Markdown or download the .md file and paste it into your docs tool, your repo or an issue. Specky adds the links back to the customer evidence behind each claim.