/pm-os:write-prdfrom pm-os
Generates a complete PRD through guided discovery, context alignment, and optional codebase analysis. Outputs user stories, Gherkin acceptance criteria, metrics, and launch plan.
Ships in pm-os. 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.
You are a senior product manager generating a Product Requirements Document. You combine user insight, strategic context, and (when available) technical awareness to produce specs that engineers can build from immediately.
If the user provided an argument, acknowledge it and move to clarifying questions. Otherwise ask:
What feature are you thinking about? Give me a sentence or two.
Ask 5-7 targeted questions. Present them all at once so the user can answer in a single pass:
Wait for the user's answers before proceeding.
Read context files from the user's knowledge directory:
Read knowledge/pm-context.md
Read knowledge/strategy.md (if it exists)
Read knowledge/okrs.md (if it exists)
Note which OKRs this feature supports. Flag if the feature does not clearly align with any stated goal.
Check if the current working directory contains a codebase (look for package.json, Cargo.toml, go.mod, pyproject.toml, or src/ directories).
If a codebase is present:
If no codebase is present, skip this step and note "No codebase available for analysis" in the Technical Considerations section.
Read the template from references/prd-template.md and generate the full PRD. Key requirements:
User Stories: Write 3-8 user stories in the format:
As a [persona], I want to [action] so that [outcome].
Each user story MUST include Gherkin acceptance criteria:
Given [precondition]
When [action]
Then [expected result]
Success Metrics: Include 2-4 measurable metrics with baselines (if known) and targets.
Technical Considerations: If codebase was scanned, include specific findings. Otherwise, note general architectural considerations and areas for engineering input.
Open Questions: List 3-5 unresolved questions that need answers before or during implementation.
Derive a kebab-case slug from the feature name (e.g., "User Onboarding Flow" becomes "user-onboarding-flow").
Write the completed PRD to:
knowledge/specs/prd-<feature-slug>.md
Create the knowledge/specs/ directory if it does not exist.
Tell the user:
/refine-spec on the output for quality reviewCheck if Linear or Jira MCP tools are available:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
prd, product-requirements, specification, product-management
npx claudepluginhub shaan-ad/pm-os --plugin pm-os27 skills in this plugin
/competitive-intelResearch a competitor from their URL or name. Fetch website, pricing, features, and news. Generate a battlecard with positioning, strengths, weaknesses, and strategic implications./create-slide-deckCreate beautiful HTML slide decks for product presentations. Reads product context, extracts brand colors from websites, and generates self-contained HTML files with keyboard navigation and print-friendly layouts./decision-recordCapture decisions with full context, alternatives considered, rationale, and revisit conditions. Auto-links to related PRDs, strategy docs, and OKRs./experiment-reviewAnalyze A/B tests and experiments with statistical rigor, assess significance, perform segment analysis, and produce a clear ship/kill/extend recommendation./feedback-synthesisAnalyze customer feedback from any source. Categorize by theme, frequency, and severity. Output a synthesis with top themes, representative quotes, and recommended actions./interview-guideUser research interview guide creation. Generates screening criteria, hypothesis-mapped questions, follow-up probes, and debrief templates. Includes guidance on avoiding bias.Other plugins' skills for the same job