/ppp:prd-checkfrom ppp
Runs mechanical rules on a PRD bundle: checks headings, size, growth, names, time units, decisions, questions, and more. Used to validate PRD structure before a turn lands.
Ships in ppp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill does NOT invoke Plan Mode. It reads files and reports.
python3 "${CLAUDE_PLUGIN_ROOT}/skills/prd-check/check.py" <bundle-dir | prd-file> [--shared DIR] [--prev FILE --memo FILE] [--summary FILE --seat SEAT] [--agree] [--ratify] [--json]
(check.py sits beside this file.)
*-prd.md in the directory; else prd.md.parking-lot.md beside the PRD.--prev is the PRD as this seat received it and needs --memo, this seat's own memo. --summary is the latest round summary and needs --memo and --seat. --agree (an agreement turn) needs --prev. prd-turn says exactly which files to pass.--shared defaults to <bundle>/../_shared. roster.txt there feeds NAME; roles.md feeds PROVISIONAL-CLEARED. An optional limits.json overrides the defaults: ceiling (2500), key_decisions (3), memo_words (500), xl_increments (2), near_ceiling_pct (90), parking_entry_words (30).${CLAUDE_PLUGIN_ROOT}/process.md §The check runs on local files).*-prd.md, unreadable --prev/--memo/--summary, --prev without --memo, --agree without --prev, --summary without --memo and --seat, bad limits.json).| Code | Fails when | Why |
|---|---|---|
| HEADINGS | the ## headings are not exactly the template's eleven ## n. Title, in order | one shape for every PRD |
| GROWTH | the PRD grew and the memo has no growth justification | stop bloat |
| NAME | a name from _shared/roster.txt appears in the PRD or parking-lot.md | roles, never people |
| TIME | a duration, effort unit, quarter, month or date appears outside Service parameters and Metrics | no effort or schedule |
| SIZE | XXL or bigger appears | decompose instead |
| HISTORY | "round n" appears (other history phrases warn) | the PRD is the shape, not the story |
| DECISIONS | more key decisions than the limit (3) | the rest belong in requirements, or a split |
| QUESTIONS | a row is malformed or has empty question text, ? doesn't match status, deferred lacks owner/trigger, closed lacks resolution; an answered resolution has no R-n / §n pointer, points to an R-id or section not in the PRD, or exceeds 15 words | convergence is mechanical; each answer lives once, in the PRD |
| QUESTIONS-REMOVED | --prev and a Q-n in the previous version is missing now | closed rows stay; IDs are never reused |
| AGREE | --agree and the PRD differs from --prev beyond trailing whitespace and line endings | agreement is a no-edit turn; any change is a normal turn |
| OPEN-QUESTIONS | --agree or --ratify, and any question still open | converging needs none open |
| FINDINGS | --summary and a facilitator finding owned by --seat isn't mentioned by its F-n in the memo | every finding gets accepted or rejected |
| PROVISIONAL-CLEARED | --prev: the provisional count dropped by N and the memo has fewer than N Provisional cleared entries with an evidence/ link or a role from _shared/roles.md | a value becomes firm only on evidence or authority |
| PROVISIONAL | --ratify and any [provisional] or [provisional: …] remains | a ratified PRD has no unsupported values |
| EVIDENCE | a link into evidence/ doesn't resolve | cited data must exist |
| PARKING | no parking lot, or an entry with an unknown kind | the lot is part of every turn |
| Code | Warns when |
|---|---|
| CEILING | over the soft ceiling |
| CEILING-NEAR | at or above near_ceiling_pct of the ceiling: trim before adding |
| DECISIONS-AT-LIMIT | key decisions exactly at the limit: could a requirement carry one? |
| XL-AT-LIMIT | XL increments exactly at the limit: could one be smaller, or split? |
| PROVISIONAL-CLEARED | no roles.md: any non-empty cleared entry is accepted |
| SIZE | a size appears outside Increments |
| HISTORY | soft history phrases ("previously", "accepted by", …) |
| MEMO | the memo is over the memo limit |
| NAME | no roster found; the name check was skipped |
| PARKING-LONG | a parking-lot entry's item + why exceeds parking_entry_words |
| SPLIT | split signals: over the ceiling, more key decisions than the limit, more XL increments than the limit |
Limits are ceilings, not targets.
Words and growth, key-decision count, questions by status (open / answered / deferred / dropped), provisional count (both tag forms), XL increments.
--json prints:
{"result": "PASS|FAIL", "prd": "<path>", "words": n, "growth": {"before": n, "after": n} | null,
"key_decisions": n, "questions": {"open": n, "answered": n, "deferred": n, "dropped": n},
"provisional": n, "xl_increments": n,
"fails": [{"code", "file", "line", "message"}], "warns": [...]}
On an input error it prints {"result": "ERROR", "message": "..."} and exits 2.
Names are caught only from the roster, not detected. The time check is pattern-based: it cannot tell "before the account owner leaves" is schedule talk. A reviewer seat still reads for both.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub zerotechdebt/ffflow --plugin ppp7 skills in this plugin
/prd-dataFill the PPP analyst seat — answer the open data requests in a PRD bundle with evidence files, neutrally, and keep the portfolio's facts.md. Use between turns, or while a retro runs, whenever evidence/requests.md has open requests./prd-retroClose a PPP round — put the five retro questions to each seat on the record, tidy the parking lot, write the round summary with facilitator findings, and set status; when a round ends in an agreement turn, mark converged, collect yes/no sign-offs and ratify. Use when both seats have taken their turn in a round./prd-splitCarve a growing thread out of a PPP PRD into its own PRD — turn a parking-lot `split` entry both seats accepted into a one-paragraph charter, move the thread from the parent, and open the child with prd-start. Use once both seats' memos say "Split P-n: accept"./prd-startOpen a PRD bundle in a PPP portfolio — agree the medium (a pointer to a medium document, or the worked example), seat the parties, load the shared inputs, and write round-1 state. Use when a new product ask needs a PRD, or when prd-split hands over a charter./prd-statusReport where a PPP PRD, or the whole portfolio, stands — medium, round, next seat, open questions, provisional values, parking lot, splits and sign-offs. Use to orient, or before a planning hand-off./prd-turnTake one seat's turn in a PPP ping-pong — respond to the other seat and the facilitator's findings, revise the PRD in place (or hand it back unchanged to agree), park what doesn't belong, file data requests, write the memo, and pass prd-check. Use for every builder or product turn.