agentleFS
platformplatformplatformplatform/PlatformPlatform/.claude/skills/create-prd/SKILL.md

create-prd

Skill439 starsChanged 6 months agoMITView on GitHub

Create a product requirement document (PRD) for a new feature. Use when the user wants to create a new feature, plan a feature, or write a PRD.

44 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use prioritize-features, brainstorm-okrs and 10 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.
  • skytiger6724Skill

    prioritize-features

    Prioritize a backlog of feature ideas based on impact, effort, risk, and strategic alignment with top 5 recommendations. Use when prioritizing a feature backlog, making scope decisions, or ranking product ideas.

    Also in 4 projects that use this

  • skytiger6724Skill

    brainstorm-okrs

    Brainstorm team-level OKRs aligned with company objectives — qualitative objectives with measurable key results. Use when setting quarterly OKRs, aligning team goals with company strategy, drafting objectives, or learning how to write effective OKRs.

    Also in 4 projects that use this

  • miovragSkill

    strategy-red-team

    Red-team a PRD, roadmap, or strategy by attacking its load-bearing assumptions before reality does. Steelmans then attacks each claim, ranks failure modes by impact × likelihood × cheapness-to-test, and returns the cheapest test and kill criteria for each. Use when stress-testing a plan, pressure-testing a strategy, challenging assumptions, or preparing a doc for executive review.

    Also in 3 projects that use this

  • launchapp-devSkill

    interview-script

    Create a structured user interview script with warm-up, core exploration, and wrap-up sections. Use when preparing for user research interviews to ensure consistent, insightful conversations.

    Also in 4 projects that use this

  • About-IntelligenceSkill

    beachhead-segment

    Identify the first beachhead market segment for a product launch.

    Also in 4 projects that use this

  • nandanosqlSkill

    customer-journey-map

    Map the complete customer experience across all touchpoints using the NNGroup framework. Identifies pain points, emotions, and opportunities at every stage of the user journey.

    Also in 5 projects that use this

  • +5 more from skytiger6724

The file

Show its rules and text

We split this skill into the rules it gives an agent

26 rules. 0 are common, 22 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 22

    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
  1. Distinctive:

    Follow the steps below to create the PRD.

    line 19
  2. Very specific:

    Follow initialization steps in /.claude/reference/product-management/[PRODUCT_MANAGEMENT_TOOL].md.

    line 23
  3. Distinctive:

    Use the AskUserQuestion tool to ask the user what [feature] they want to build:

    line 27
  4. Distinctive:

    Use the text they entered as the [feature] description for research

    line 46
  5. Distinctive:

    Use MCP tools (like context7 for library docs), Perplexity for online research, or web research for best practices and technologies

    line 55
  6. Distinctive:

    Read relevant code files and rule files to understand patterns and conventions

    line 56
  7. Distinctive:

    After the first 3 questions, ask additional relevant questions to gather comprehensive requirements.

    line 92
  8. Distinctive:

    Ask as many questions as needed to understand:

    line 94
  9. Distinctive:

    Use sentence case for level-1 headers

    line 122
  10. Distinctive:

    Use correct domain terminology: multi-tenant, self-contained system, shared kernel, tenant, user, etc.

    line 124
  11. Distinctive:

    Keep [tasks] focused (one commit per [task])

    line 157
  12. Distinctive:

    Write a clear paragraph describing what each [task] delivers

    line 158
  13. Very specific:

    Important: When using MCP-based [PRODUCT_MANAGEMENT_TOOL], create [tasks] in the same order they appear in the PRD—this defines the …

    line 164
  14. Distinctive:

    If No: Ask what to change, update the PRD content, show again, repeat approval

    line 225
  15. Distinctive:

    If Yes: Continue to Step 6

    line 226
  16. Very specific:

    Follow your [PRODUCT_MANAGEMENT_TOOL]-specific guide at /.claude/reference/product-management/[PRODUCT_MANAGEMENT_TOOL].md to understand …

    line 230
  17. Distinctive:

    Follow the exact structure in the example PRD

    line 252
  18. Distinctive:

    Keep the PRD high level without code snippets

    line 256
  19. Distinctive:

    Ask comprehensive questions in Step 4 to gather all requirements

    line 257
  20. Distinctive:

    Use the AskUserQuestion tool for all wizard questions in Plan Mode

    line 259
  21. Distinctive:

    Write PRDs as user stories—use the example structure

    line 262
  22. Distinctive:

    Write titles in Title Case—use sentence case

    line 267
  23. Very specific:

    Create [feature] or [tasks] in [PRODUCT_MANAGEMENT_TOOL] before getting PRD approval in Step 5

    line 268
  24. Distinctive:

    Create [tasks] that split tests, implementation, and migrations across separate [tasks]—each [task] must be a complete vertical slice

    line 271
  25. Distinctive:

    Ask the user clarifying questions before Step 4

    line 272
  26. Distinctive:

    Do the research. Read code and rule files.

    line 274

“Common” is measured: kept by at least 6 in 10 of the 42 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create PRD Workflow

Your job is to work with the user through an interactive wizard to create a high-level PRD using language that is easy to understand for non-technical people. The PRD defines a [feature] with all [tasks] to be created in [PRODUCT_MANAGEMENT_TOOL].

Team leads: execute this workflow directly. Do not delegate it.

Mandatory Preparation

  1. Read [PRODUCT_MANAGEMENT_TOOL]-specific guide at /.claude/reference/product-management/[PRODUCT_MANAGEMENT_TOOL].md to understand terminology, status mapping, ID format, and MCP configuration.

Workflow

Follow the steps below to create the PRD.

Step 1: Initialize [PRODUCT_MANAGEMENT_TOOL]

Follow initialization steps in /.claude/reference/product-management/[PRODUCT_MANAGEMENT_TOOL].md.

Step 2: Ask what [feature] to build

Use the AskUserQuestion tool to ask the user what [feature] they want to build:

AskUserQuestion with:
- question: "What feature would you like to build?"
- header: "Feature"
- multiSelect: false
- options:
  - label: "New feature", description: "Create a new feature"
  - label: "Enhancement", description: "Enhance existing functionality"

Users will typically use the custom text option to describe their [feature].

If the user's answer comes back empty:

  • Tell the user to enable Plan Mode and try again
  • STOP the workflow

If you receive a valid answer:

  • Use the text they entered as the [feature] description for research

Step 3: Research and understand the [feature]

Conduct deep research for a feasible solution that takes the existing codebase and [features] into consideration:

  • Understand the user's requirements and business context
  • Investigate the current state and implementation in the codebase:
    • Specify which self-contained system (e.g., main, account) the [feature] belongs to. Back-office features live under account/Core/Features/BackOffice/ and are served on the back-office host.
    • Respect the multi-tenant nature: design [features] to work for one tenant by default, unless otherwise specified
  • Use MCP tools (like context7 for library docs), Perplexity for online research, or web research for best practices and technologies
  • Read relevant code files and rule files to understand patterns and conventions

Step 4: Interactive requirements wizard

Now that you've done research, ask the user ALL required questions in ONE single AskUserQuestion call:

AskUserQuestion with 3 questions:

Question 1 - Feature name:
- question: "What is the name of this feature? (Use sentence case, e.g., 'User management' not 'User Management')"
- header: "Feature name"
- multiSelect: false
- options:
  - label: "Custom name", description: "Enter your feature name"

Question 2 - Self-contained system (put the most likely SCS first based on research):
- question: "Which self-contained system (SCS) should this feature belong to?"
- header: "SCS"
- multiSelect: false
- options:
  - label: "account", description: "Tenant and user management system (also hosts the back-office surface for support and system admin tools)"
  - label: "main", description: "Primary shell application where you build your product"
  - label: "[Suggested SCS based on research]", description: "Based on my analysis"

Question 3 - E2E tests:
- question: "Should this PRD include Playwright end-to-end tests?"
- header: "E2E Tests"
- multiSelect: false
- options:
  - label: "Yes", description: "Include E2E tests as a separate [task]"
  - label: "No", description: "Skip E2E tests for now"

Ask additional questions:

After the first 3 questions, ask additional relevant questions to gather comprehensive requirements. Use multiple AskUserQuestion calls (max 4 questions per call, max 4 options per question).

Ask as many questions as needed to understand:

  • User roles and permissions
  • Complexity level (simple CRUD, workflow-based, complex logic)
  • Integration points with existing features
  • Validation rules and constraints
  • Edge cases to consider
  • Data relationships and dependencies

The more questions you ask, the better the PRD.

Implementation approach:

AskUserQuestion with:
- question: "Should we create frontend mockups first for UI/UX exploration?"
- header: "Approach"
- multiSelect: false
- options:
  - label: "Yes", description: "Frontend mockups first to validate UI/UX before backend"
  - label: "No", description: "Backend-first approach (default)"

Step 5: Draft the complete PRD and get approval

Based on all the research and user answers, draft the complete PRD.

Create the PRD content following the example PRD structure:

  1. High-level PRD description:
    • Use sentence case for level-1 headers
    • Stay at a high level—no implementation details or code examples
    • Use correct domain terminology: multi-tenant, self-contained system, shared kernel, tenant, user, etc.
    • Specify which self-contained system(s) are in scope
    • Avoid repetition
  2. [Tasks] section structured based on wizard answers:

    Examples based on common patterns:

    Example 1 - Backend-first approach (default):

    • Backend implementation
    • Frontend implementation
    • E2E tests (if E2E tests selected)

    Example 2 - Frontend-first approach:

    • Frontend mockups/prototypes with static data
    • Backend implementation based on frontend contract
    • Integration (connect frontend to backend)
    • E2E tests (if E2E tests selected)

    Example 3 - Backend-only [feature]:

    • Backend implementation (API endpoints, commands, queries, migrations, tests)

    Example 4 - Large complex [feature]:

    • Backend core functionality
    • Frontend core UI
    • Backend advanced functionality
    • Frontend advanced features
    • E2E tests (if E2E tests selected)

    Note: These are examples only. Adapt the [task] structure to match the actual [feature] requirements, scope, and user answers. All work is sequential -- one [task] fully completed before the next starts.

  3. [Task] guidelines:
    • Each [task] should be a logical grouping (e.g., "all backend", "all frontend", "all e2e tests")
    • Keep [tasks] focused (one commit per [task])
    • Write a clear paragraph describing what each [task] delivers
    • Each [task] represents a complete vertical slice that can be implemented, reviewed, and committed independently
    • Repeat all relevant business rules in each task description (permissions, validations, constraints)
    • Engineers/reviewers only read the task description, not the feature overview
    • List [tasks] in implementation order (the order they should be implemented)
    • E2E tests should typically be the final [task]
    • Important: When using MCP-based [PRODUCT_MANAGEMENT_TOOL], create [tasks] in the same order they appear in the PRD—this defines the implementation sequence

Example of WRONG task description (missing business rules):

### 1. Backend for team management

This task implements team CRUD operations with API endpoints and tests.

- Create Team aggregate
- Create CreateTeam command
- Create API endpoints
- Create tests

Example of CORRECT task description (includes business rules):

### 1. Backend for team management

This task implements team CRUD operations with API endpoints and tests. Teams are managed by Tenant Owners and Admins only. Team names must be unique within a tenant.

- Create Team aggregate with name uniqueness validation
- Create CreateTeam command with Owner/Admin permission guard
- Create UpdateTeam command with Owner/Admin permission guard
- Create DeleteTeam command with Owner/Admin permission guard
- Create API endpoints for all operations
- Create tests covering permissions (403 for non-owners/admins), name uniqueness, tenant isolation
  1. Frontend task descriptions - use ASCII art fat marker sketches:

For frontend tasks, include ASCII art fat marker sketches showing UI layout and components:

### 2. Frontend for user management

This task implements the Users page UI. Users can only be managed by Tenant Owners or Admins.

┌─────────────────────────────────────────┐
│ Users                   [+ Invite user] │
├─────────────────────────────────────────┤
│ ┌─────────────────────────────────────┐ │
│ │ Email           Name         Role   │ │
│ ├─────────────────────────────────────┤ │
│ │ admin@...       John Doe     Owner  │ │
│ │ member@...      Jane Smith   Member │ │
│ └─────────────────────────────────────┘ │
└─────────────────────────────────────────┘

- Add Users navigation menu item
- Create Users page with table
- Create CreateUserDialog (validates email uniqueness)
- Show/hide [+ Invite user] button based on role (Owner/Admin only)
- Create UserDetailsSidePane
- Integrate all API operations

ASCII sketches help engineers visualize the UI before coding.

Show the complete PRD to the user - display the full content including all [tasks] with their descriptions.

Ask for approval: "Does this PRD look good?" (Yes/No)

  • If No: Ask what to change, update the PRD content, show again, repeat approval
  • If Yes: Continue to Step 6

Step 6: Create [feature] and [tasks] in [PRODUCT_MANAGEMENT_TOOL]

Follow your [PRODUCT_MANAGEMENT_TOOL]-specific guide at /.claude/reference/product-management/[PRODUCT_MANAGEMENT_TOOL].md to understand how to create items based on the PRD.

Create:

  • [feature] with name=[feature name from Step 4 wizard], assign to "me"
  • [task] for each [task] in the PRD with:
    • Title: [task title] (sentence case)
    • Description: [task description paragraph] + [subtask bullets] (use bullets, NOT checkboxes)
    • Link to parent [feature]
    • Assign to "me"
  • Initialize all items in [Planned] status, in the current iteration/sprint

Each [task] description must include:

  1. A paragraph explaining what the task delivers
  2. Bullet points (NOT checkboxes) listing the subtasks for implementation guidance

After creating all [tasks], update each [feature]'s description in [PRODUCT_MANAGEMENT_TOOL] with the full PRD content for that [feature] -- the intro paragraph, overview section, and core changes section (everything above the "Tasks overview" heading). This ensures the PRD context is available to anyone viewing the [feature] in [PRODUCT_MANAGEMENT_TOOL].

Inform user: The [feature] and all [tasks] have been created in [PRODUCT_MANAGEMENT_TOOL]. Ask the user if they would like to start implementing the first task now.

Guidelines

✅ DO:

  • Follow the exact structure in the example PRD
  • Conduct deep research by reading code, consulting rule files, and using MCP tools
  • Specify the self-contained system for the [feature]
  • Respect multi-tenant design by default
  • Keep the PRD high level without code snippets
  • Ask comprehensive questions in Step 4 to gather all requirements
  • Show PRD for approval (Step 5) before creating anything
  • Use the AskUserQuestion tool for all wizard questions in Plan Mode

❌ DON'T:

  • Write PRDs as user stories—use the example structure
  • Include implementation details or code examples in the PRD
  • Skip research—always understand the problem first
  • Ignore rule files
  • Repeat information across sections
  • Write titles in Title Case—use sentence case
  • Create [feature] or [tasks] in [PRODUCT_MANAGEMENT_TOOL] before getting PRD approval in Step 5
  • Rename the file—must be prd.md
  • Save questions in the PRD file
  • Create [tasks] that split tests, implementation, and migrations across separate [tasks]—each [task] must be a complete vertical slice
  • Ask the user clarifying questions before Step 4

Do the research. Read code and rule files. Ask comprehensive questions. Create excellent PRDs.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.