prd-generator
Skill22 starsChanged 2 months agoMITView on GitHub
Generate or revise a Product Requirements Document through a short bilingual interview instead of making the user write one. Use when the user has an app idea, product, or feature and wants requirements, scope, user stories, acceptance criteria, a roadmap, or a task breakdown — e.g. "buat PRD untuk aplikasi kasir", "generate a PRD for my expense app", "spec fitur ini", "tajamin requirements-nya". Reads an existing repo first and pre-fills answers when the project already has code. Exports Markdown PRD, JSON task list, Mermaid roadmap, and .cursorrules.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- yanuarihsanxz-tech/prd-toolkittheir own version, first seen Sep 28, 2026
- luongnv89/skillstheir own version, first seen Sep 26, 2026
- GangJaeYu/harness_loop_full_koreantheir own version, first seen Sep 23, 2026
- lensetek/Startup-Agent-Skills-Hubtheir own version, first seen Sep 16, 2026
- emcquesten/claude-design-kittheir own version, first seen Aug 13, 2026
- Kuhakucai/Oula-Skillstheir own version, first seen Jul 20, 2026
Used with
Projects with it also use competitive-analysis, frontend-design and 1 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.
AnthropicSkillcompetitive-analysis
Framework for building competitive landscape decks — market positioning, competitor deep-dives, comparative analysis, strategic synthesis. Use when the user asks for a competitive landscape, competitor analysis, peer comparison, market positioning assessment, strategic review, or investment memo deck. Also triggers on "who are the competitors to X", "benchmark X against peers", "build a market map", or any request to systematically evaluate competitive dynamics across an industry.
Also in 3 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 4 projects that use this
MicrosoftSkillskill-creator
Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- rshankras/claude-code-apple-skills★ 777same name
- coco-research/coco★ 437same name
- ognjengt/founder-skills★ 403same name
- Fokkyp/claude-skills★ 225same name
- jamesrochabrun/skills★ 214same name
- hamzafarooq/claude-code-starter★ 145same name
- luongnv89/skills★ 129same name
- ricneves-ai/flowgrammers-skills★ 115same name
- dhzrx/ai-pm-claude-skills★ 22same name
- Kuhakucai/Oula-Skills★ 19same name
9 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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 12 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
No AI-isms: never "genuinely", "honestly", "straightforward", "Let me now proceed to…", "Great question!".
- Distinctive: line 38
Use an analogy when asking something technical ("database itu kayak lemari arsip…").
- Distinctive: line 40
Always end with a non-technical summary a layperson can read.
- Distinctive: line 44
Ask questions with the host agent's structured prompt tool:
- Distinctive: line 58
Before anything else, register the six procedure phases in the host's task tracker so a long interview can't silently drop a step:
- Very specific: line 72
Do not add the PRD's own feature list to the tracker — that's what the exports are for.
- Distinctive: line 78
Run these phases in order.
- Distinctive: line 83
Before asking anything, check whether the project already exists:
- Distinctive: line 112
Run the validator and fix every FAIL before showing the result as done:
- Distinctive: line 140
Don't over-engineer — scope to what the user actually asked for.
- Distinctive: line 141
Don't interrogate — one round at a time, and stop early if the idea is thin.
- Distinctive: line 142
Don't invent facts the user never said.
- Distinctive: line 145
Never claim a PRD is complete while the validator reports FAIL.
“Common” is measured: kept by at least 6 in 10 of the 16 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
PRD Generator
Turn an idea — or a half-finished repo — into a complete PRD plus machine-readable exports, through a warm conversational interview.
Tone
The interview only works if it feels like talking to a friend, not filling a form.
- Warm and casual; match the user's register. Natural Indonesian by default
(
gw/luif they use it), switch to English when they do. - Concise — every sentence earns its place.
- No AI-isms: never "genuinely", "honestly", "straightforward", "Let me now proceed to…", "Great question!".
- Acknowledge answers briefly and move on ("Oke, paham.", "Sip, lanjut.").
- Use an analogy when asking something technical ("database itu kayak lemari arsip…").
- Always end with a non-technical summary a layperson can read.
Ask-User Tool Mapping
Ask questions with the host agent's structured prompt tool:
| Host | Tool |
| Qoder CLI | AskUserQuestion |
| Claude Code | AskUserQuestion |
| Codex / OpenCode / plain terminal | ask directly in chat, one round per message |
AskUserQuestion caps at 4 questions per call — that is why the interview runs
in rounds instead of 16 sequential popups. Always leave free-text available
(via the "Other" option) for open-ended answers like the description.
Progress Tracking
Before anything else, register the six procedure phases in the host's task tracker so a long interview can't silently drop a step:
| Host | Tracker |
| Qoder CLI | TaskCreate / TaskUpdate |
| Claude Code | TodoWrite |
| Codex / OpenCode / terminal | keep a - [ ] checklist, updating it in chat each phase |
- Mark a phase
in_progresswhen entering it,completedonly once its exit condition holds: 0 context known · 1 every answer evidenced or confirmed · 2 file written · 3 validatorPASS· 4 summary shown · 5 exports on disk or the user declined them. - Phase 3 never completes while the validator prints a
FAIL. - Do not add the PRD's own feature list to the tracker — that's what the
exports are for. Seed build tasks from
<basename>.tasks.json(P0 first) only after the user asks to start building.
Procedure
Run these phases in order. Load the reference file for the phase you are in — do not improvise the question set from memory.
0. Detect existing context
Before asking anything, check whether the project already exists:
- Argument is a path, or the cwd is a codebase relevant to the request →
read
package.json/pyproject.toml/README*, list the source tree, and sample entry points. - A PRD already exists (
PRD.md,docs/PRD-*.md,*-PRD.md) → skip toreferences/revise.mdand ask what to change.
Pre-fill as many interview answers as the codebase honestly supports, show the
user that draft, and only ask about the gaps. Loading
references/interview.md gives the full rule set.
1. Interview
Load references/interview.md. 16 questions in 4 rounds (basics →
problem/context → features/scope → tech/timeline/metrics/language), pre-filled
answers skipped, gaps asked. A 5th round (business model, compliance,
integrations, maintenance) runs only when the project touches those — never by
default. Never silently skip a question that has no evidence behind it.
2. Generate
Load references/generate.md and assets/prd-structure.md. Write the PRD to
<project>/docs/PRD-<slug>.md, or PRD.md at the project root when there is
no docs/; for a pure idea with no project, write to ./PRD-<slug>.md. Confirm
the path in one line before writing.
3. Validate
Run the validator and fix every FAIL before showing the result as done:
node scripts/validate_prd.mjs <path-to-PRD.md>It checks required sections, leftover [...] placeholders, user stories
missing a "so that" or acceptance criteria, and an absent priority bucket.
4. Show + summarize
Print the PRD path, the validator result, then a 3-5 sentence non-technical summary. Do not paste the whole document back into chat unless asked.
5. Export and revise
Offer exports (references/export.md):
node scripts/export_prd.mjs <path-to-PRD.md> --format all --out <project>/docs/This writes PRD-<slug>.tasks.json, PRD-<slug>.roadmap.md, and
PRD-<slug>.cursorrules. On any change request, follow references/revise.md,
then re-run steps 3 and 5 so exports never drift from the PRD.
Pitfalls
- Don't over-engineer — scope to what the user actually asked for.
- Don't interrogate — one round at a time, and stop early if the idea is thin.
- Don't invent facts the user never said; mark unknowns as open questions in the PRD instead of guessing.
- Give a concrete example for every technical question so a non-dev can answer.
- Never claim a PRD is complete while the validator reports FAIL.
Resources
references/interview.md— 16-question flow in 4 rounds, conditional round 5, pre-fill rulesreferences/generate.md— section-by-section PRD writing rulesreferences/revise.md— targeted edits and cross-section consistencyreferences/export.md— export formats and script usageassets/prd-structure.md— the fill-in templatescripts/lib.mjs— shared PRD parser and completeness checksscripts/validate_prd.mjs— deterministic completeness checkscripts/export_prd.mjs— PRD → tasks.json / roadmap.md / .cursorrules
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.

