prd
Skill9 starsChanged 19 days agoMITView on GitHub
Interview the user and write a Product Requirements Document at docs/PRD.md (or docs/prd/<name>.md for a feature) — problem, scope, user types, key flows, success criteria, risks. Use when the user wants to write a PRD, scope a product or feature, capture requirements or success metrics, or says 'what should we build', 'let's scope this', 'write up the requirements'. Run first, before /wf:architecture and /wf:roadmap. Not for implementation detail (/wf:spec).
136 other projects use a version of this.
Adopted by
Most recently taken up by
- aayushostwal/nexustheir own version, first seen Nov 29, 2026
- goeroeku/aicrewtheir own version, first seen Nov 29, 2026
- weltonclima/claude-skillstheir own version, first seen Nov 29, 2026
- ZeroOnehub/aipm-skill-packtheir own version, first seen Nov 29, 2026
- jellydn/my-ai-toolstheir own version, first seen Nov 29, 2026
- modeled-information-format/mif-docs-plugintheir own version, first seen Nov 25, 2026
Used with
Projects with it also use modern-go, 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.
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
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
ulises-jeremiasSkilltrd
WHAT — Draft and review a Technical Requirements Document (TRD) using the template, typically
Also in 3 projects that use this
SireJeffSkillcontext-optimize
Context Optimization - Orchestrate RPI workflow TODO generation with interactive scoping
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 17 projects that use this
- +2 more from jidechao
Other versions136 projects use a version of this.
Word for word · 1
- 0xrafasec/ai-workflow★ 9100% same
Edited · 0
None found.
Wrote their own version · 135
- github/awesome-copilot★ 42ksame name
- snarktank/ralph★ 22ksame name
- SethGammon/Citadel★ 927same name
- smallnest/autoresearch★ 571same name
- snarktank/compound-product★ 542same name
- CatCatUncle/openworkbuddy★ 448same name
- smallnest/goal-workflow★ 283same name
- OffchainLabs/arbitrum-docs★ 253same name
- julianromli/ai-skills★ 244same name
- Joonghyun-Lee-Frieren/oh-my-antigravity★ 229same name
125 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 repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dotfiles/CLAUDE.mdCLAUDE.md
- adrSkill
- architectureSkill
- autopilotSkill
- commitSkill
- designSkill
- featureSkill
- fixSkill
- issuesSkill
- new-projectSkill
- prSkill
- roadmapSkill
- specSkill
- threat-modelSkill
- verify-designSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 109 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Create a Product Requirements Document for: $ARGUMENTS
- Distinctive: line 12
Before starting, check what already exists:
- Very specific: line 13
Read docs/ directory structure if it exists
- Distinctive: line 14
Read any existing PRD, README, or whitepaper — do not duplicate what's already written
- Very specific: line 15
If docs/PRD.md exists, revise it in place and interview only about what is changing.
- Distinctive: line 35
Ask about the hard parts the user might not have thought through
- Very specific: line 40
Write to docs/PRD.md, or docs/prd/<name>.md for a feature PRD (see Context Awareness).
“Common” is measured: kept by at least 6 in 10 of the 109 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
Create a Product Requirements Document for: $ARGUMENTS
In hosts that do not substitute $ARGUMENTS (e.g. Codex), it is the text the user wrote after the skill name.
Context Awareness
Before starting, check what already exists:
- Read
docs/directory structure if it exists - Read any existing PRD, README, or whitepaper — do not duplicate what's already written
- If
docs/PRD.mdexists, revise it in place and interview only about what is changing; start over only if the user asks. If$ARGUMENTSnames a feature and a project PRD exists, writedocs/prd/<name>.md.
Process
1. Deep Interview
Use AskUserQuestion to interview the user. Where AskUserQuestion is unavailable but the user can answer in chat (e.g. Codex), ask the same question in chat as a short numbered list and wait for the answer; a headless run or a dispatched agent has no such user, and the headless rule applies instead. If they gave a brief, a README or a pasted idea, restate it in 3-5 lines and interview only the gaps. Ask at most 3-4 questions per round. If the user cannot be asked (a headless run), write the PRD from what exists and list each guess under Risks and Open Questions.
Start broad, then go deep:
- The problem — What problem are you solving? Who has this problem? How are they solving it today? What's broken about the current approach?
- The solution — What's your high-level approach? What makes it different from existing solutions? What's the core insight?
- Scope and boundaries — What does v1 include? What is explicitly out of scope? What are the non-negotiable requirements vs nice-to-haves?
- Users and stakeholders — Who are the primary users? Are there different user types with different needs? Who else cares about this (ops, security, compliance)?
- Success criteria — How do you know this works? What does success look like in 1 month? 6 months?
- Constraints — Technical constraints (language, platform, infra)? Business constraints (timeline, team size, budget)? Regulatory constraints?
- Risks — What could go wrong? What are the biggest unknowns? What keeps you up at night about this?
Interview rules:
- Dig into contradictions and tensions — "you said X but also Y, how do those reconcile?"
- Ask about the hard parts the user might not have thought through
- It's OK to push back or challenge assumptions — the goal is a solid PRD, not agreement
2. Write the PRD
Write to docs/PRD.md, or docs/prd/<name>.md for a feature PRD (see Context Awareness).
# [Project/Feature Name]
**Last updated:** [date]
## Problem
[What problem does this solve? Who is affected? What's the current state and why is it broken?]
## Solution
[High-level approach. What is this thing? What's the core insight? How does it work at a conceptual level?]
## Design Principles
[Non-negotiable properties of the solution. The "even if everything else changes, these must hold" rules.]
## Scope
### In Scope (v1)
- [Concrete deliverable 1]
- [Concrete deliverable 2]
### Out of Scope
- [Explicit exclusion 1 — and why]
- [Explicit exclusion 2 — and why]
## User Types
### [User Type 1]
- Who they are
- What they need
- How they interact with the system
## Key Flows
[The 2-4 most important user/system flows. Use prose, diagrams (Mermaid), or step-by-step — whatever is clearest.]
## Success Criteria
- [ ] [Measurable criterion 1]
- [ ] [Measurable criterion 2]
## Constraints
- **Technical:** [language, platform, infra, dependencies]
- **Business:** [timeline, team, budget]
- **Regulatory:** [compliance, security, legal]
## Risks and Open Questions
| Risk/Question | Impact | Mitigation/Answer |
|---------------|--------|-------------------|
| [Risk 1] | [What happens if it materializes] | [How to handle it] |
## Future Work
[What comes after v1? What was deferred and why?]Drop sections that don't apply; add one if the domain needs it.
3. Present for Review
Show the user the PRD and ask for feedback. Iterate until they're satisfied.
4. Suggest Next Steps
Based on the PRD complexity, suggest which specs to create next:
- "This needs an architecture doc (system structure + testing strategy) — run
/wf:architecture" - "There are security-sensitive parts — run
/wf:threat-model" - "Ready to plan the build — run
/wf:roadmap, then/wf:spec <task>for each task. For one feature outside a roadmap, run/wf:spec <feature-name>directly"
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.

