| name | prd-spawnner |
| description | Generate a comprehensive, professional Product Requirements Document (PRD) before the user starts building an app or software product. Triggers when the user types /prd-spawnner, or when they say things like "buatin PRD", "buat PRD dulu", "I want to create a PRD", "help me plan my app", "generate PRD", "product requirements document", "I'm about to build an app", "planning a new product", or any variant asking to plan/document a software project before development. ALWAYS use this skill when the user wants structured documentation before coding. The output is a deeply detailed .md file (minimum 800 lines) covering every aspect of the product from architecture to deployment. |
PRD Spawnner
A skill that produces deeply professional, engineering-grade Product Requirements Documents before a user starts building a software product. The PRD is the north star of any project — get it right, and the entire development journey becomes measurably smoother.
Why this matters
Most bugs and scope creep originate from ambiguity at the planning stage. A thorough PRD eliminates that ambiguity. It forces product thinking before code thinking. When done well, it also becomes a living reference that the team returns to throughout development.
Workflow
The skill runs in two phases: Interview → Generate.
Phase 1: Interview
Never skip this phase. The quality of the PRD depends entirely on the information gathered here.
When triggered, immediately enter interview mode. Present all questions in a single conversational block — don't drip them one by one. Tell the user this will take 2-3 minutes and is worth it.
Use this exact opening:
Alright, before I generate the PRD, I need to understand your project in more detail first.
Answer whatever you can — feel free to skip the ones you don't know yet, we can fill them in together later.
Core Interview Questions
Group questions into sections so it feels organized, not overwhelming.
🎯 Product Overview
- What is the name of the product / application you want to build?
- In 1-2 sentences, what does this product do? (elevator pitch)
- What specific problem does it solve?
- Who are the target users? (demographics, skill level, context of use)
🖥️ Platform & Scope
- What are the target platforms? (Web app / Mobile iOS / Mobile Android / Desktop / API-only / all?)
- Is this an MVP (minimum viable product) or a full product?
- What features are a MUST-have in version 1 (v1)? List all of them.
- What features are nice-to-have but can be deferred? List them as well.
⚙️ Tech & Architecture
- Do you have a tech stack preference? (If you don't know, write "any" and I will recommend one)
- Does it need integration with other systems or third-party services? (payment, auth, maps, AI, etc.)
- Is there an existing codebase running? Or is this a greenfield project?
- Do you need a dedicated backend, or serverless/BaaS (Firebase, Supabase, etc.)?
📊 Scale & Business
- Estimated number of users at launch: how many? 6 months out: how many?
- What is the business model? (freemium, subscription, marketplace, etc.)
- Are there any compliance/regulatory requirements to consider? (GDPR, HIPAA, PCI-DSS, local regulations, etc.)
- Who are the closest competitors? What makes this product unique?
👥 Team & Timeline
- How many people are on the team? What are their roles?
- When is the target launch date?
- Are there any budget constraints that should be factored into the planning?
Handling incomplete answers
The user won't always answer everything. That's fine. Use these fallback strategies:
- If platform is unknown → assume web-first, mobile-responsive
- If tech stack is unknown → recommend based on product type (see
references/tech-stacks.md)
- If scale is unknown → assume 1K MAU at launch, 10K at 6 months
- If team is unknown → assume solo developer or small team (2-4)
- Always state your assumptions explicitly in the PRD under "Assumptions & Constraints"
Confirming before generating
After collecting answers, give a quick summary:
Alright, here is what I have gathered so far:
[bullet summary of key points]
I'm ready to generate the PRD now. Does anything need to be changed first?
Wait for confirmation, then proceed to Phase 2.
Phase 2: PRD Generation
Generate the PRD as a single .md file saved to /mnt/user-data/outputs/[product-name]-PRD.md.
Minimum length: 800 lines. This is not arbitrary — professional PRDs are thorough. If a section feels thin, go deeper. Add diagrams using Mermaid syntax. Add tables. Add code examples for API contracts.
Read references/prd-template.md for the complete template structure and fill every section with specific, concrete content based on what the user told you. Never use generic filler text.
Generation principles
Be specific, not generic. Instead of "the system should be fast", write "API endpoints must respond in < 200ms at p95 under 500 concurrent users."
Think like a senior engineer. Anticipate failure modes. Call out edge cases. Flag technical risks. Suggest patterns that will prevent bugs before they happen.
Think like a product manager. Every feature needs a WHY. Every user story maps to a business outcome. Every metric is measurable.
Think like a security engineer. Don't treat security as an afterthought section — weave it throughout. Mention auth strategy in the architecture section, input validation in the API section, rate limiting in the infra section.
Think scalably. Even for MVPs, design decisions should not create walls. Call out which decisions are "good enough for now" and what the migration path looks like.
Mermaid diagrams to include
Always include at least these diagrams (rendered in Mermaid):
- System Architecture Overview — components and how they connect
- Entity Relationship Diagram — core data models
- Core User Flow — the primary happy path as a flowchart
- API Request Lifecycle — how a typical request flows through the system (for products with a backend)
After generation
Present the file using present_files. Then say:
The PRD has been generated — [X] lines, ready to serve as your project's north star.
Here are a few highlights from this PRD:
- [top 3 most important technical decisions made]
- [top risk called out]
You can share this with your team right away, or we can refine specific sections if anything doesn't quite fit.
Reference files
references/prd-template.md — Full PRD template with all sections. Read this before generating.
references/tech-stacks.md — Tech stack recommendations by product type. Read when the user hasn't specified a stack.