From pm
Generate a Product Requirements Document from a feature idea — problem, solution, scope, success metrics
npx claudepluginhub silviaare95/xari-plugins --plugin pmThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Reviews prose for communication issues impeding comprehension, outputs minimal fixes in a three-column table per Microsoft Writing Style Guide. Useful for 'review prose' or 'improve prose' requests.
Feature: $0
Audience: $1 (default: both)
Understand the context — If a codebase exists, read relevant code to understand current capabilities. Use the feature description to understand the gap.
Define the problem:
Define the solution:
Write the PRD:
# PRD: <Feature Name>
**Author**: <name>
**Date**: <date>
**Status**: Draft | In Review | Approved
## Problem Statement
<2-3 sentences: what's broken or missing, who's affected, why it matters>
## Goals
1. <Primary goal — what success looks like>
2. <Secondary goal>
## Non-Goals
- <What we're explicitly NOT doing>
- <Adjacent features we're deferring>
## User Stories
### Primary User: <persona>
- As a <persona>, I want to <action>, so that <benefit>
### Secondary User: <persona>
- As a <persona>, I want to <action>, so that <benefit>
## Proposed Solution
### Overview
<1 paragraph description of the approach>
### Key Flows
#### Flow 1: <name>
1. User does X
2. System responds with Y
3. User sees Z
#### Flow 2: <name>
...
### Technical Considerations
- <Architecture impact>
- <Data model changes>
- <Third-party dependencies>
- <Performance requirements>
## Success Metrics
| Metric | Current | Target | How to Measure |
|--------|---------|--------|----------------|
| <metric> | <baseline> | <goal> | <instrumentation> |
## Scope & Timeline
### Phase 1 (MVP)
- <feature 1>
- <feature 2>
### Phase 2 (Enhancement)
- <feature 3>
### Out of Scope
- <deferred item>
## Open Questions
1. <Question that needs stakeholder input>
2. <Technical question that needs investigation>
## Risks
| Risk | Probability | Impact | Mitigation |
|------|------------|--------|------------|
| <risk> | low/med/high | low/med/high | <plan> |