generate-prd
Skill1 starsChanged 59 days agoMITView on GitHub
Convert a feature idea into a structured, builder-ready PRD. Use when planning a feature, creating specs, writing requirements, or when user mentions PRD, feature spec, requirements document, product spec, or "what should I build". Also use when the user has a vague idea and needs it sharpened into something buildable.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- huytieu/COG-second-braintheir own version, first seen Jul 30, 2026
- cdkcyxws/skillstheir own version, first seen Jul 28, 2026
- ronmkr/PromptBooktheir own version, first seen Jun 2, 2026
- matarpeles/skills-registry-demotheir own version, first seen May 5, 2026
- kweaver-ai/skillstheir own version, first seen Mar 11, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- huytieu/COG-second-brain★ 1.3ksame name
- cdkcyxws/skills★ 4same name
- ronmkr/PromptBook★ 2same name
- kweaver-ai/skills★ 0same name
- matarpeles/skills-registry-demo★ 0same name
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 repository27 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- design-craft/CLAUDE.mdCLAUDE.md
- android-emulatorSkill
- audit-branchSkill
- brainstormSkill
- create-devtoolSkill
- create-featureSkill
- create-infrastructureSkill
- execute-tasksSkill
- finish-featureSkill
- frontend-testingSkill
- generate-feature-docSkill
- git-commitSkill
- ios-simulatorSkill
- modify-featureSkill
- pipeline-helpSkill
- plan-implementationSkill
- prd-clarifierSkill
- prd-to-uxSkill
- prototypeSkill
- react-clean-architectureSkill
- receiving-code-reviewSkill
- refactoring-uiSkill
- setup-daher-skillsSkill
- systematic-debuggingSkill
- test-mobile-appSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
First, check
.claude/pipeline/{feature}/DESIGN.md: If it exists (produced by brainstorm), read it before anything else: - Very specific: line 20
If the input is extremely vague, ask one clarifying question max, then proceed with assumptions.
- Distinctive: line 26
Done when: every section 1–7 exists, every requirement is testable, and no section says "TBD".
- Distinctive: line 60
Before delivering, verify the PRD passes this test:
- Distinctive: line 63
Every requirement is testable (you could write an assertion for it)
- Distinctive: line 64
No section says "TBD" or "to be determined"
- Very specific: line 73
Read the feature's existing artifacts (.claude/pipeline/{feature}/ and the feature folder: DESIGN.md, PRD.md, UX-spec.md, the …
- Very specific: line 77
Use the AskUserQuestion tool for the transition (never numbered text options), with a one-line summary of what was completed.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Project config:
{app}is the project's new-code root from.claude/rules/project-structure.md; project values (package manager, commands, base branch, error surface) come fromdocs/agents/project-conventions.md. Resolve both before writing any file — never assume. If a needed file is missing, stop: "Run/setup-daher-skillsfirst — missing<file>."
Feature PRD Generator
Turn a feature idea into a document clear enough that a builder (human or AI) can start coding without guessing.
Input
First, check .claude/pipeline/{feature}/DESIGN.md. If it exists (produced by brainstorm), read it before anything else:
- Its Key Decisions are constraints — the PRD must honor them, not relitigate them
- Its Open Questions become either explicit PRD assumptions or questions to defer to
prd-clarifier
Then take the user's feature description — possibly vague or incomplete. Infer missing details, label assumptions explicitly, and optimize for production scale without overengineering.
If the input is extremely vague, ask one clarifying question max, then proceed with assumptions. Deeper ambiguity → suggest brainstorm (raw idea) or prd-clarifier (existing PRD) instead of asking more questions here.
Output
Generate a PRD with sections 1–7 as specified in references/PRD-FORMAT.md — read it before writing. Concise, builder-friendly language; no enterprise ceremony.
Done when: every section 1–7 exists, every requirement is testable, and no section says "TBD".
Contract Reality Check (before writing Data Flow)
Unverified API contracts are the pipeline's most recurrent bug source. If the project documents a local backend checkout (see the project's CLAUDE.md), read its source directly (controllers, DTOs, routes) to verify — do NOT ask the user to relay questions to the backend team unless the answer genuinely isn't in the code. Before writing section 7, verify every claimed API endpoint and response shape against reality:
- Real code (existing API adapters, Zod schemas in
api/{feature}.schemas.ts) - MSW mocks that mirror the backend
- Backend docs (e.g.,
docs/lpr/backend-requirements.md) or a live response
Mark each contract in the PRD as VERIFIED (cite the file/source) or UNVERIFIED (state what was assumed). Never present an assumed endpoint or response shape as fact — UNVERIFIED contracts must be surfaced to prd-clarifier or checked against the backend before implementation.
7. Data Flow
Sources: Where data comes from (user input, API, static/mocked, generated). Mark each API source VERIFIED/UNVERIFIED per the Contract Reality Check above.
Processing: High-level logic only. Use the format: Input → transform → output.
Destination: Where results go (UI only, temporarily stored, logged).
Output Location
Co-locate PRDs next to the code they describe:
| Scope | Location |
| Feature | {features-root}/{feature}/PRD.md |
| Shared module | src/shared/{module}/PRD.md |
| Project-wide (rare) | PRD.md at repo root |
Quality Check
Before delivering, verify the PRD passes this test:
- A builder could read it and start coding without asking questions
- Every requirement is testable (you could write an assertion for it)
- No section says "TBD" or "to be determined"
- Assumptions are labeled, not hidden
After PRD Generation
Once you have generated the complete PRD (sections 1-7), proceed to the Next Step below.
Resume After Context Cleanup
Read the feature's existing artifacts (.claude/pipeline/{feature}/ and the feature folder: DESIGN.md, PRD.md, UX-spec.md, the implementation plan, PROGRESS.md — whichever exist), then this skill's own input, and continue from where they leave off — never restart from scratch.
Next Step
Use the AskUserQuestion tool for the transition (never numbered text options), with a one-line summary of what was completed. Options:
- prd-clarifier — refine requirements through structured questions
- prd-to-ux — skip clarification, go straight to UX spec
- Something else — do something different
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.

