competitive-intel
Research a competitor from their URL or name. Fetch website, pricing, features, and news. Generate a battlecard with positioning, strengths, weaknesses, and…
Generate a complete PRD through guided discovery, context alignment, and optional codebase analysis. Outputs a populated spec with user stories, Gherkin acceptance criteria, metrics, and launch plan.
$ npx -y skills add shaan-ad/pm-os --skill write-prd --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/write-prdContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate a complete PRD through guided discovery, context alignment, and optional codebase analysis. Outputs a populated spec with user stories, Gherkin acceptance criteria, metrics, and launch plan.
name: write-prd description: Generate a complete PRD through guided discovery, context alignment, and optional codebase analysis. Outputs a populated spec with user stories, Gherkin acceptance criteria, metrics, and launch plan.
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:
1. **Target user**: Who specifically will use this? (persona, segment, role) 2. **Problem**: What problem does this solve for them? What pain are they experiencing? 3. **Current workaround**: How do they solve this today? What's broken about that? 4. **Success definition**: What does success look like? How would we measure it? 5. **Constraints**: Any hard constraints? (timeline, tech debt, compliance, dependencies) 6. **Scope boundary**: What is explicitly NOT in scope for v1? 7. **Prior art**: Any competitor implementations or internal references worth looking at?
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:
Check if Linear or Jira MCP tools are available:
A Claude Code plugin that turns your terminal into a complete product management operating system. 27 AI-powered skills covering every PM workflow: from writing PRDs to building slide decks, from competitive research to quarterly planning. No empty templates.
Research a competitor from their URL or name. Fetch website, pricing, features, and news. Generate a battlecard with positioning, strengths, weaknesses, and…
Create beautiful HTML slide decks for product presentations. Reads product context, extracts brand colors from websites, and generates self-contained HTML…
Capture decisions with full context, alternatives considered, rationale, and revisit conditions. Auto-links to related PRDs, strategy docs, and OKRs.
Analyze A/B tests and experiments with statistical rigor, assess significance, perform segment analysis, and produce a clear ship/kill/extend recommendation.
Analyze customer feedback from any source. Categorize by theme, frequency, and severity. Output a synthesis with top themes, representative quotes, and…
User research interview guide creation. Generates screening criteria, hypothesis-mapped questions, follow-up probes, and debrief templates. Includes guidance…