/prd-os:prd-personasfrom prd-os
Runs the Skeptic persona session against an active draft PRD, writing the review as a '## Persona Review' section.
Ships in prd-os. Installing the plugin adds it to Claude Code.
Run the planning-personas Skeptic session against the active PRD. Refuses if the PRD is not in draft state, and writes the result as a ## Persona Review section in the PRD spec.
The command refuses to run unless q-system/memory/working/prd-personas-baseline.md contains the literal line phase_0_kill_criterion: failed. Until Phase 0 has been measured and failed the 50% reduction target, this command is dead code. Use the commented-out Persona Review template in plugins/prd-os/templates/prd.md instead.
The check is the first thing the command does:
grep -q '^phase_0_kill_criterion: failed$' q-system/memory/working/prd-personas-baseline.md || { echo "refused: Phase 0 gate not cleared. Use the template scaffold instead." >&2; exit 2; }
This is enforcement, not a prose warning.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/prd_runner.py" status
Capture the prd_id, spec_path, and status from the JSON. If no PRD is active, stop and tell the author to run /prd-start first. If the status is not draft, refuse with the current state and a hint to run /prd-revise if the PRD needs to come back to draft.
Read the PRD body. Read ${CLAUDE_PLUGIN_ROOT}/personas/skeptic.md to load the pinned questions and anti-patterns. Do not paraphrase the questions; they are asked verbatim.
Run the Skeptic session in conversation with the founder:
skeptic.md; surface the warning and re-ask the question once. After one re-ask, accept whatever the founder writes.skip (case-insensitive, optionally with trailing punctuation), the Q-A pair records the answer literally as skipped rather than as the founder's prose. This preserves the question in the durable section while honoring the founder's choice not to engage with that specific question.abort or cancel at any time. In that case do NOTHING to the PRD spec; partial answers are discarded.^## at the start of any line) OR a fenced code block (```). These would corrupt prd_split.py's extraction logic, which anchors on ## Issues and the first fence after it. If a founder answer contains either, refuse and re-ask the question with a hint to remove level-2 headings and fenced code blocks. The Q-A pair is only persisted after the sanitization check passes.After all three questions are answered, write the result to the PRD per the rerun rules below.
Update the PRD frontmatter updated_at to the current ISO timestamp via direct Edit on the spec file. Do not advance the PRD state; the persona session does not change status.
First run on this PRD (no ## Persona Review heading exists in the spec): append a new section at the position immediately before the ## Issues heading. The section starts with a ## Persona Review heading and contains a single ### Skeptic subsection with the three Q-A pairs.
Rerun on the same PRD (a ## Persona Review heading already exists): do NOT add a second ## Persona Review heading. Append a new timestamped subsection ### Skeptic (rerun YYYY-MM-DDTHH:MM:SSZ) under the existing ## Persona Review section. Earlier subsections are preserved unchanged; the new run is additive.
Verify before writing: count ## Persona Review occurrences in the spec, IGNORING occurrences inside HTML comment blocks (<!-- ... -->). The Phase 0 template scaffold contains a commented-out ## Persona Review placeholder; this must not be confused with a real section. If the post-strip count after the proposed edit would be greater than 1, refuse and surface a hint to the founder. The command strips HTML comments with a regex pass before counting headings.
Section placement: the ## Persona Review heading must appear after ## Open questions and before ## Issues. This placement is required so that prd_split.py (which anchors on ## Issues) is unaffected and so that Codex review sees the section as context for the substantive PRD content.
Abort or interruption: if the founder types "abort" or "cancel" at any prompt, OR if the session ends before all three questions are answered, write nothing. Do not save partial answers. The next invocation starts fresh.
draft after the session./prd-review to ask about personas. /prd-review is unchanged./prd-review. Skipping /prd-personas is allowed and has no enforcement.This command file is itself reviewed by Codex when the issue executes. The review checks: scope adherence (no edits outside allowed_files), correctness of the rerun rules, abort handling, and consistency with the parent PRD's documented behavior.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub assafkip/kipi-system --plugin prd-os9 commands in this plugin
/prd-approvePrd ApproveAdvance the active PRD to `approved` (blocked by pending findings)/prd-archiveSpillover (out-of-scope findings)Archive the active PRD (blocked until every accepted finding has a receipt)/prd-mapPrd MapBuild a codebase map so PRDs are written with repo context, not blind/prd-os-initPrd Os InitInitialize prd-os in this repo (writes .prd-os/config.json)/prd-reviewPrd ReviewReview the active PRD with Codex and stream normalized findings to JSONL/prd-splitPrd SplitSplit the approved PRD into one issue spec per manifest entryOther plugins' commands for the same job