Prd authoring

From bobmatnyc/claude-mpm · View interactive version

Prd authoring is an AI agent skill from the GitHub repository bobmatnyc/claude-mpm. Standard for authoring product PRDs in docs/prd/: state the problem, users, requirements, and success; assign PRD-{AREA}-{NN} IDs; link down to specs.

How to use this skill

Skill file

PRD Authoring

Overview

This skill is the agent-facing entry point to the Product PRD Standard: how to write

Product Requirements Documents in docs/prd/. A PRD answers **what problem, for which users,

what requirements, and what success looks like — and is owned by Product** (Product Owner /

PM).

It has a distinct engineering companion — keep the roles separate:

goals, user stories, requirements, acceptance criteria, and success metrics; assign stable

PRD-{AREA}-{NN} IDs; run product/user/market research; map requirements down to implementing

specs.

docs/specs/, SPEC-{SUBSYSTEM}-{NN}~{rev}). Specs implement PRD requirements.

PRD ≠ SPEC. A PRD is a product requirements doc (PRD-{AREA}-{NN}, in docs/prd/,

owned by Product). A SPEC is an engineering behavior contract (SPEC-{SUBSYSTEM}-{NN}~{rev},

in docs/specs/, owned by Engineering). A PRD requirement is realized by one or more

specs; list them in the Linked Specs table. Do not put inputs/outputs/error contracts in a

PRD — that is the spec's job.

Full standard: CODE0.

This skill orients and links; README.md is the authoritative, portable standard, and

CODE0 is the copy-pasteable document.

Use this skill, do not duplicate it. SKILL.md is a concise router. The detailed rules live

in docs/prd/README.md and the five reference files below. Read the reference you need.


When to Use

If your task is instead authoring the engineering contract, use spec-authoring.


Core Model (at a glance)

A PRD is product-owned: one product area = one file (docs/prd/{area}.md). Each governed

requirement has a stable {#PRD-{AREA}-{NN}} ID. A PRD document carries:

PRD IDs have no ~{rev} suffix — requirements evolve via lifecycle and supersession, not a

tilde counter.

The copy-pasteable template is CODE0

(and CODE0 explains how to fill it).


Quick Start

  1. Read the grammar. CODE0 §3 defines

PRD-{AREA}-{NN} and the declaration rule. Do not invent IDs.

  1. Pick or create the area file. One product area = one file. See

CODE0.

  1. Apply the template. Copy CODE0;

fill problem, users, requirements, acceptance criteria, success metrics. Guidance in

CODE0.

  1. Ground it in research. Non-obvious requirements cite product/user/market research. See

CODE0.

  1. Map requirements to specs. Fill the Linked Specs table; engineering authors the specs and

cites the PRD ID back. See CODE0.

  1. Manage the lifecycle. Draft → Review → Approved → In-development → Shipped → Superseded.

See CODE0.


Reference Files

| Reference | Read it when you need to… |

|-----------|---------------------------|

| CODE0 | Fill the PRD document section by section. |

| CODE0 | Run product/user/market/competitive research and cite evidence. |

| CODE0 | Walk the lifecycle (Draft → Shipped → Superseded) and the review checklist. |

| CODE0 | Build and maintain the PRD→SPEC traceability table. |

| CODE0 | Choose/name a product area; decide add-area vs. add-requirement. |


Relationship to Specs

A PRD states what and why; a spec states the engineering contract that realizes it. The two

are distinct standards (distinct dirs, IDs, owners, templates) with a bidirectional link: the

PRD's Linked Specs table points down to implementing SPEC-{SUBSYSTEM}-{NN}~{rev} IDs; each

spec section cites the PRD-{AREA}-{NN} it implements up. Read spec-authoring when you need

to understand or coordinate the engineering side.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.