plugins/spx-legacy/skills/writing-prd/SKILL.md
ALWAYS invoke this skill when writing PRDs or product requirements. NEVER write PRDs without this skill.
npx skillsauth add outcomeeng/claude writing-prdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<accessing_skill_files> When this skill is invoked, Claude Code provides the base directory in the loading message:
Base directory for this skill: {skill_dir}
Use this path to access skill files:
{skill_dir}/references/{skill_dir}/workflows/IMPORTANT: Do NOT search the project directory for skill files. </accessing_skill_files>
<essential_principles> PRDs are authoritative blueprints written AFTER exploration. They define product value and guide decomposition into work items.
User value is first-class: Measurable outcomes and user capabilities must be clear before technical implementation.
Three-level testing methodology:
Questioning principles:
/testing methodology)Quality guardrails:
Requirements state product truth in atemporal voice:
/understanding-durable-map atemporal voice principle for rewrite patterns</essential_principles>
<objective> Create complete, testable Product Requirements Documents that serve as authoritative blueprints for product development. Systematically discover user problems, design measurable outcomes with validation strategies, and document acceptance criteria before work begins. </objective><quick_start>
</quick_start>
<context_reading_protocol> Before asking questions, read project context:
spx/CLAUDE.md for project structure/testing and language-specific testing skillPRD location determines context scope:
</context_reading_protocol>
<workflow> **Phase 0: Context Discovery**Follow <context_reading_protocol> to gather project context.
Phase 1: Problem Understanding
Read workflow: workflows/understand-user-problem.md
Phase 2: Outcome Design
Read workflow: workflows/design-measurable-outcomes.md
Phase 3: Scope Definition
Read workflow: workflows/define-product-scope.md
Phase 4: PRD Composition
Read workflow: workflows/write-prd.md
Phase 5: Delivery
<deep_thinking_checkpoints> The skill pauses for ultra-thinking at three critical junctures:
Checkpoint 1: User Pain vs Symptom (Phase 1)
Is the stated problem the actual user pain, or just a symptom of deeper needs?
Checkpoint 2: Measurable Outcome Clarity (Phase 2)
Have we defined MEASURABLE success that users will actually care about?
Checkpoint 3: Scope Viability (Phase 3)
Is this scope achievable as one deliverable unit delivering real user value?
</deep_thinking_checkpoints>
<mandatory_user_interactions> Agent MUST ask (cannot proceed without answers):
Agent decides (with documented rationale):
/testing methodology)</mandatory_user_interactions>
<gap_handling> When product decisions are unclear:
A PRD with open decisions can be delivered if decisions are explicitly documented with options and trade-offs.
User knows exactly what needs resolution before implementation. </gap_handling>
<workflows_index>
All workflows in workflows/:
| Workflow | Purpose | | ----------------------------- | ------------------------------------------------ | | understand-user-problem.md | User pain analysis and journey validation | | design-measurable-outcomes.md | Outcome quantification and capability definition | | define-product-scope.md | Scope boundaries and ADR/PDR identification | | write-prd.md | PRD composition and section filling |
</workflows_index>
<references_index>
Domain knowledge in references/:
| Reference | Purpose | | --------------------------- | ------------------------------------------ | | prd-template-guide.md | Complete PRD template with annotations | | testing-methodology.md | Three-level testing rules | | acceptance-test-patterns.md | Gherkin and E2E test best practices | | measurable-outcomes.md | Quantifying user value and product success |
</references_index>
<templates_index> Referenced templates:
| Template | Purpose |
| ----------------------------------------------- | ------------------------------ |
| /managing-specs skill <requirement_templates> | PRD template from shared skill |
</templates_index>
<success_criteria> PRD creation complete when:
</success_criteria>
tools
ALWAYS invoke this skill when creating Excalidraw diagrams, visualizing workflows, architectures, or concepts. NEVER generate Excalidraw JSON without this skill.
development
ALWAYS invoke this skill when writing or fixing tests for TypeScript.
development
TypeScript code standards enforced across all skills. Loaded by other skills, not invoked directly.
development
TypeScript ADR conventions enforced across architect and auditor skills. Loaded by other skills, not invoked directly.