prd
Skill5 starsChanged 4 months agoMITView on GitHub
Generates a development-ready Product Requirement Document (PRD) from the BRD using parallel agent teams. This skill should be used when the user asks to "generate PRD", "create product requirements document", "run Stage 2", "generate product requirements", "create PRD from BRD", "translate BRD to PRD", or when the transmute-pipeline agent reaches Stage 2 of the pipeline.
125 other projects use a version of this.
Adopted by
Most recently taken up by
- Adelie-Squad/solosquadtheir own version, first seen Nov 8, 2026
- shaqmughal/seekstonetheir own version, first seen Nov 8, 2026
- lhbsaa/apex-unifiedtheir own version, first seen Nov 8, 2026
- Jasenpan1987/multi-codetheir own version, first seen Nov 8, 2026
- joeldevz/skynex-pitheir own version, first seen Nov 8, 2026
- insight68/Skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use context-optimize, usecase and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ibahgatSkillcontext-optimize
Improve context efficiency and cache stability for long or complex sessions.
Also in 3 projects that use this
gabriellstSkillusecase
Create an application use case. Use when implementing business operations like CreateOrder, ProcessPayment, CancelBooking. Use this skill for any command/mutation that orchestrates domain logic, whether simple CRUD or complex multi-step transactions with sagas. Dispatch hub — routes to typescript/go variants by file extension.
Also in 3 projects that use this
jidechaoSkillmodern-go
Modernize Go code by applying version-appropriate idioms and APIs (gofix-style transformations). Scans go.mod for the Go version, then transforms Go source files to use modern patterns—from Go 1.0 through 1.26+. Use when the user says "现代化","现代Go语言", "地道的", "idiomatic", "modernize", "modern-go", "update Go code", "gofix", or wants to upgrade Go idioms.
Also in 3 projects that use this
ulises-jeremiasSkilltrd
WHAT — Draft and review a Technical Requirements Document (TRD) using the template, typically
Also in 3 projects that use this
jidechaoSkillloop-it
Automated issue loop with checkpoint/resume: fetch open GitHub issues → dependency-aware topological sort → implement each issue end-to-end → review with /review-it → document with /note-it → ship with /ship-it → repeat. Persists state to .loop-state.json for crash recovery. Triggers on: loop-it, loop issues, auto implement, 批量实现, 循环实现, 实现所有issue, 恢复循环, resume loop.
Also in 3 projects that use this
snarktankSkillralph
Convert PRDs to prd.json format for the Ralph autonomous agent system. Use when you have an existing PRD and need to convert it to Ralph's JSON format. Triggers on: convert this prd, turn this into ralph format, create prd.json from this, ralph json.
Also in 16 projects that use this
- +2 more from jidechao
Other versions125 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 125
- github/awesome-copilot★ 41ksame name
- snarktank/ralph★ 22ksame name
- SethGammon/Citadel★ 927same name
- smallnest/autoresearch★ 571same name
- snarktank/compound-product★ 542same name
- CatCatUncle/openworkbuddy★ 398same name
- smallnest/goal-workflow★ 283same name
- OffchainLabs/arbitrum-docs★ 252same name
- julianromli/ai-skills★ 215same name
- golbin/agent-skills★ 214same name
115 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- audit-a11ySkill
- audit-completenessSkill
- audit-securitySkill
- brdSkill
- docsSkill
- feedbackSkill
- hardenSkill
- implementSkill
- maintainSkill
- optimizeSkill
- polishSkill
- prelaunchSkill
- redesignSkill
- refactorSkill
- remediateSkill
- scaffoldSkill
- seed-dataSkill
- smokeSkill
- tech-stackSkill
- user-guideSkill
- validate-specsSkill
- verifySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 13 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 102 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Read the detailed guide at ${CLAUDE_SKILL_DIR}/references/prd-detailed-guide.md for the complete agent team architecture, teammate spawn …
- Distinctive: line 37
Read and fully internalize:
- Very specific: line 38
All files in ./plancasting/brd/, including _context.md
- Very specific: line 39
All files in ./plancasting/businessplan/ for additional context
- Very specific: line 42
Check Session Language in ./plancasting/tech-stack.md.
- Distinctive: line 52
If BRD gaps are found during PRD generation, use this decision tree:
- Very specific: line 57
Do not modify BRD files. Document issues in ./plancasting/prd/_brd-issues.md with classification:
- Very specific: line 62
If no BRD issues found, do not create this file.
- Distinctive: line 66
Verify full-scope coverage: cross-check BRD's master feature inventory against all FR-xxx entries.
- Distinctive: line 115
After all teammates complete:
- Distinctive: line 117
Run structural consistency checks:
- Distinctive: line 118
Full-scope traceability audit: Every FR-xxx covered by at least one US-xxx
- Distinctive: line 121
Screen coverage: Every user story maps to a screen specification
- Distinctive: line 122
API coverage: Every data-displaying/mutating screen has API endpoints
- Distinctive: line 123
Test coverage: Every user flow has E2E test scenarios
- Very specific: line 127
Verify no P0 story depends on P1/P2/P3
- Distinctive: line 128
Verify no story depends on lower-priority epic's story
- Very specific: line 139
consistency-reviewer: No contradictions across files, no duplicate stories, consistent terminology/priorities/complexity, screen-flow …
- Distinctive: line 148
If >15 CRITICAL+HIGH fixes, targeted re-review of modified files
- Distinctive: line 157
Data model missing query indexes: Every query pattern needs a supporting index.
- Very specific: line 159
Wrong UI library component names: Check plancasting/tech-stack.md for actual library component names.
- Distinctive: line 166
All states documented: default, loading, empty, populated, error, disabled, hover, active, focused, offline
“Common” is measured: kept by at least 6 in 10 of the 102 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Transmute — PRD Generation (Stage 2)
Read the detailed guide at ${CLAUDE_SKILL_DIR}/references/prd-detailed-guide.md for the complete agent team architecture, teammate spawn prompts, token budget management, review agent checklists, story grouping examples, and writing guidelines.
Prerequisites
Before starting, verify:
./plancasting/brd/directory exists and contains markdown files. If missing or empty, STOP: "Stage 2 requires completed BRD (Stage 1). Run Stage 1 first."./plancasting/tech-stack.mdexists. If missing, STOP: "Stage 2 requiresplancasting/tech-stack.mdfrom Stage 0. Run Stage 0 first."
Critical Framing
This PRD uses the Full-Build Approach: the COMPLETE product is built and launched as a single release. No MVP, no phased rollout, no feature deferral. P0-P3 priorities define dependency order for parallel development, NOT which features to include or exclude. ALL features ship.
BRD → PRD Relationship
The BRD defines WHAT the business needs. The PRD defines WHAT the product must do and HOW it should behave. Every PRD element must trace back to one or more BRD requirements. The PRD must be detailed enough for engineering, design, and QA teams to begin work without ambiguity.
Execution Flow
Step 1: Read and Analyze Inputs
Read and fully internalize:
- All files in
./plancasting/brd/, including_context.md - All files in
./plancasting/businessplan/for additional context ./plancasting/tech-stack.mdfor stack-informed architecture and API design
Check Session Language in ./plancasting/tech-stack.md. Generate ALL PRD documents in the specified language, matching the BRD's language. Technical identifiers remain in English.
Adapt PRD structure based on product type:
- Mobile: Gesture documentation, platform-specific navigation, native component specs
- IoT/Embedded: Device behavior specs alongside companion app specs
- Desktop: Window management, system tray, keyboard shortcuts
- AI/ML: Model interaction specs (prompts, output formatting, confidence thresholds, fallback)
Step 2: Handle BRD Quality Issues
If BRD gaps are found during PRD generation, use this decision tree:
- Obvious from context: Assume and proceed
- Requires business judgment: Mark with
> ⚠️ ASSUMPTION:and note in_brd-issues.md - Blocking: Escalate in status message
Do not modify BRD files. Document issues in ./plancasting/prd/_brd-issues.md with classification:
- BLOCKING: Empty/corrupted BRD files → STOP
- CRITICAL-BUT-RECOVERABLE: BRD gap but can continue with best interpretation → Continue, document, flag
- NON-BLOCKING: Incomplete but workable with assumptions → Continue
If no BRD issues found, do not create this file. Stage 2B reads _brd-issues.md (if it exists) and maps classifications: BLOCKING → CRITICAL, CRITICAL-BUT-RECOVERABLE → HIGH, NON-BLOCKING → MEDIUM/LOW.
Step 3: Build Feature Decomposition Map
- Verify full-scope coverage: cross-check BRD's master feature inventory against all FR-xxx entries. Every feature must have at least one FR.
- Group ALL BRD functional requirements into logical product features/modules
- Create
./plancasting/prd/_context.mdcontaining:- Feature Decomposition Map (feature ID → related BR/FR/NFR IDs) — COMPLETE. This map is the authoritative source for which BRD requirements belong to which product feature. It is referenced by Stage 2B for P0 coverage calculations and by Stage 3 for scaffold organization.
- Technology stack summary
- Master PRD ID registry with expanded ranges:
- EPIC-001–EPIC-099, US-001–US-499, JS-001–JS-149, SC-001–SC-699
- API-001–API-299, TS-001–TS-149, FF-001–FF-049, REL-001–REL-009
- Glossary (inherited from BRD + product-specific terms)
- Persona summary (ALL personas), DoD template, formatting conventions
- Note: "This PRD covers the COMPLETE product."
Step 4: Spawn Agent Teams (Phase 2)
Spawn 5 specialized teammates. Each spawn prompt must include: CLAUDE.md Part 1 instructions, full _context.md content, the COMPLETE Feature Decomposition Map, file assignments with ID ranges, relevant BRD files, full-scope instruction ("This PRD covers the COMPLETE product. Every feature in the Feature Decomposition Map must be specified."), and the writing guidelines from the detailed guide.
Teammate 1 — "product-strategy"
Files: 01-product-overview.md, 02-feature-map-and-prioritization.md, 03-release-plan.md
Emphasize: ALL features in scope. P0-P3 defines development ORDER (dependency-based), not inclusion. Release plan is a SINGLE launch. Feature flags for ops/experiments/permissions only — NOT phased rollout. Gantt chart must show parallel workstreams, not sequential phases. Feature flag registry includes: FF-ID, Feature ID, Flag Name, Flag Type (ops/experiment/permission), Default State, Purpose, Kill Switch Criteria.
Teammate 2 — "user-stories"
Files: 04-epics-and-user-stories.md, 05-job-stories.md, 06-user-flows.md
Emphasize: EVERY BRD FR must have at least one user story. Every US must include a Dependencies field (comma-separated US-xxx IDs, or "None"). Minimum 3 Given-When-Then acceptance criteria per story. Cross-feature user flows are critical — journeys that touch features from different parts of the product. Story map visualization showing persona x journey stage x stories.
Teammate 3 — "screen-specs"
Files: 07-information-architecture.md, 08-screen-specifications.md, 09-interaction-patterns.md
Emphasize: IA designed for COMPLETE product from the start — navigation must accommodate ALL features. Per-screen spec includes: component inventory (type, label, behavior, validation, states), content specifications (static text, dynamic bindings, empty/error text), responsive behavior across breakpoints, interaction specifications per element, state management, accessibility annotations (ARIA roles, keyboard nav, focus management).
Teammate 4 — "api-and-technical"
Files: 10-system-architecture.md, 11-data-model.md, 12-api-specifications.md, 13-technical-specifications.md
Emphasize: Complete data model from start — designed for all features simultaneously. For BaaS architectures (Convex, Firebase): replace Method/Path with Function Type/Function Name, document function signatures instead of HTTP request/response. API specs for EVERY endpoint across ALL features with request/response schemas, error responses, pagination, idempotency. Architecture sized for full product load from day one.
Teammate 5 — "quality-and-operations"
Files: 14-testing-strategy.md, 15-non-functional-specifications.md, 16-operational-readiness.md, 17-dependencies-and-risks.md
Emphasize: Generate test specifications and scenarios, NOT test code. Cross-feature integration test plan critical. Non-functional specs sized for full load from day one. Full-build-specific risks: integration complexity from parallel construction, testing scope with complete feature set, launch risk with feature-complete first release, cognitive load for users encountering full product on day one.
Step 5: Token Budget Management
Safe budget: output token limit minus 7K headroom per agent (see tech-stack.md § Model Specifications). Estimate output sizes before spawning.
Known heavy files (likely need splitting for 30+ feature products):
04-epics-and-user-stories.md— split by epic group08-screen-specifications.md— split by feature module12-api-specifications.md— split by domain
Story grouping rules: Group FRs that share the same screen, same user action trigger, AND same error/success states. Never group FRs from different epics or with different failure modes.
Step 6: Structural Integration (Phase 4)
After all teammates complete:
- Collect all files into
./plancasting/prd/ - Run structural consistency checks:
- Full-scope traceability audit: Every FR-xxx covered by at least one US-xxx
- Cross-feature integration audit: Interactions have user flows, screen specs, and test scenarios
- ID uniqueness, cross-references, terminology, assumptions, mermaid validation
- Screen coverage: Every user story maps to a screen specification
- API coverage: Every data-displaying/mutating screen has API endpoints
- Test coverage: Every user flow has E2E test scenarios
- Cross-story dependency validation:
- Build directed dependency graph from US Dependencies fields
- Verify acyclic (no circular dependencies) — if cycles found, document and break by removing the weakest dependency link
- Verify no P0 story depends on P1/P2/P3
- Verify no story depends on lower-priority epic's story
- Generate
18-glossary-and-cross-references.mdwith BRD traceability matrix and cross-feature interaction matrix - Generate
README.mdwith role-specific reading order (PM, Designer, Engineer, QA) - Fix structural inconsistencies
Step 7: Deep Quality Review (Phase 5)
Spawn 3 review agents reading ALL PRD files, BRD files, and Business Plan.
completeness-reviewer: FR → US coverage (target ≥95%), acceptance criteria quality (measurable Given-When-Then), all states documented, API completeness (schemas + errors), user flow coverage, onboarding flows.
consistency-reviewer: No contradictions across files, no duplicate stories, consistent terminology/priorities/complexity, screen-flow alignment, API-screen data shape alignment, navigation accommodates all features, valid BRD traceability, test coverage.
technical-reviewer: Tech stack feasibility, data model implementation, API design conventions, auth model, performance budgets, real-time specs, background jobs, valid mermaid diagrams, infrastructure sizing, third-party dependencies current.
Step 8: Remediation (Phase 6)
- Consolidate reports, remove duplicates
- CRITICAL and HIGH: mandatory remediation
- Fix root causes. Preserve BRD traceability. Generate complete specs for coverage gaps, not stubs.
- If >15 CRITICAL+HIGH fixes, targeted re-review of modified files
- Create
./plancasting/prd/_review-log.md - Output Final Summary: Epics, User Stories, Job Stories, Screens, API Endpoints, Technical Specs, Feature Flags counts. BRD coverage percentage (target: 100%). Cross-feature interactions. Quality metrics.
Known Failure Patterns to Avoid
- Tautological acceptance criteria: "When they create a project, then a project is created" — must be independently testable.
- Screen specs missing interaction behavior: Define behavior for click, hover, keyboard, form submission.
- API specs with no error responses: Define 400, 401, 403, 404, 409, 500 with response bodies.
- Data model missing query indexes: Every query pattern needs a supporting index.
- Happy-path-only user flows: Include at least one error path per flow.
- Wrong UI library component names: Check
plancasting/tech-stack.mdfor actual library component names. - Feature flags for phased rollout: Feature flags are for operational kill switches only.
Writing Guidelines Summary
- BRD traceability via
[Traces to BR-001](../brd/06-business-requirements.md#br-001)— lowercase anchors - Development-ready detail: engineer can implement without questions
- All states documented: default, loading, empty, populated, error, disabled, hover, active, focused, offline
- Edge cases: 0 items, 1 item, 10,000 items, concurrent edits
- Cross-feature interactions explicitly documented
- Given-When-Then acceptance criteria strictly
- JSON schemas for all API request/response bodies
- Onboarding consideration: progressive disclosure for complete product
Output Specification
| Output | Location | Description |
| PRD files | ./plancasting/prd/ | 18 numbered markdown files (01-18) |
| Shared context | ./plancasting/prd/_context.md | Feature Decomposition Map, ID registry, glossary |
| BRD issues | ./plancasting/prd/_brd-issues.md | BRD quality issues (only if found) |
| Review log | ./plancasting/prd/_review-log.md | Quality review findings |
| Navigation hub | ./plancasting/prd/README.md | File descriptions, role-specific reading order |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

