agentleFS
Diego-RomeroDiego-Romero/claude-skills/create-prd/SKILL.md

create-prd

Skill0 starsChanged 9 months agoMITView on GitHub

Create a Product Requirements Document by gathering information from the user and generating a structured PRD. Check for a project instruction file (stop at first match): Store as $INSTRUCTION_FILE. Read it to understand the repo's stack, conventions, and architecture. Check for an existing PRD template: If a template exists, use it as the structure. If not, use the built-in template in Step 4. Check where PRDs should be saved: If $INSTRUCTION_FILE exists, read it to understand the repo's stack, conventions,…

  • Commits and pushes

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

17 rules. 0 are common, 16 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 16

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

    Create a Product Requirements Document by gathering information from the user and generating a structured PRD.

    line 8
  2. Distinctive:

    Check for a project instruction file (stop at first match):

    line 15
  3. Distinctive:

    Check for an existing PRD template:

    line 27
  4. Distinctive:

    If a template exists, use it as the structure.

    line 33
  5. Distinctive:

    Check where PRDs should be saved:

    line 38
  6. Very specific:

    If $INSTRUCTION_FILE exists, read it to understand the repo's stack, conventions, and architecture.

    line 48
  7. Distinctive:

    If a PRD template was found, read it to understand the expected structure.

    line 52
  8. Distinctive:

    Start by asking the user a single open-ended question:

    line 56
  9. Distinctive:

    Don't ask all questions at once.

    line 77
  10. Distinctive:

    If a project PRD template was found (Step 0.2), use it as the structure.

    line 82
  11. Distinctive:

    Use the instruction file to inform the Technical Approach (don't duplicate stack info — reference it)

    line 186
  12. Distinctive:

    Use today's date

    line 189
  13. Distinctive:

    Leave Open Questions for anything genuinely unresolved

    line 192
  14. Distinctive:

    Use kebab-case for the filename.

    line 202
  15. Distinctive:

    Update the Status field as it progresses

    line 251
  16. Distinctive:

    Pre-fill what you can: If you can infer technical approach, edge cases, or non-functional requirements from the conversation + instruction …

    line 260
  17. Distinctive:

    Flag cross-repo work early: If the feature needs changes in other repos, make that prominent.

    line 263

“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 a Product Requirements Document by gathering information from the user and generating a structured PRD.

Pre-flight: Auto-detect Environment

Step 0.1: Find Instruction File

Check for a project instruction file (stop at first match):

  1. CLAUDE.md
  2. AGENTS.md
  3. CONVENTIONS.md
  4. CONTRIBUTING.md

Store as $INSTRUCTION_FILE. Read it to understand the repo's stack, conventions, and architecture.

Step 0.2: Find PRD Template

Check for an existing PRD template:

  1. docs/prds/prd-template.md
  2. docs/prd-template.md
  3. .github/prd-template.md

If a template exists, use it as the structure. If not, use the built-in template in Step 4.

Step 0.3: Find PRD Directory

Check where PRDs should be saved:

  1. docs/prds/ (if it exists)
  2. docs/ (if it exists)
  3. Create docs/prds/

Steps

1. Read Context

If $INSTRUCTION_FILE exists, read it to understand the repo's stack, conventions, and architecture. Use this to inform questions and pre-fill technical context.

If a PRD template was found, read it to understand the expected structure.

2. Ask for the Feature Overview

Start by asking the user a single open-ended question:

What feature do you want to build? Describe the problem and what you have in mind.

Let the user explain in their own words. Don't ask for structured input yet — this is the brainstorming phase.

3. Ask Targeted Follow-Up Questions

Based on their answer, ask follow-up questions to fill gaps. Ask directly to keep it interactive. Cover these areas (skip any the user already answered):

  1. Problem & motivation — Who has this problem? Why now?
  2. Success criteria — How will we know it works? Any metrics?
  3. Scope boundaries — What's explicitly out of scope?
  4. User flow — Walk through the main interaction step by step
  5. Cross-repo impact — Does this need changes in other repos or services?
  6. Edge cases — Offline, errors, empty states, permissions?
  7. Phasing — Can this be shipped incrementally?

Don't ask all questions at once. Ask 2-3 at a time based on what's still unclear. Two rounds of questions is usually enough.

4. Generate the PRD

If a project PRD template was found (Step 0.2), use it as the structure. Otherwise, use this template:

# PRD: [Feature Name]

> **Status:** Open for Discussion
> **Author:** [Name]
> **Created:** [today's date]
> **Last Updated:** [today's date]
> **GitHub Issue:** #TBD
> **Effort:** [estimate]

---

## 1. Problem Statement

_What problem are we solving? Who has this problem? Why does it matter now?_

## 2. Goals & Success Metrics

| Goal | Metric | Target |
| ---- | ------ | ------ |
| ...  | ...    | ...    |

### Non-Goals

- ...

## 3. User Stories

- **As a** [user type], **I want to** [action] **so that** [outcome].

## 4. Scope

### In Scope

- ...

### Out of Scope

- ...

## 5. Functional Requirements

- [ ] FR-1: [Requirement]
- [ ] FR-2: [Requirement]

## 6. Non-Functional Requirements

- **Performance:** [constraints]
- **Error handling:** [approach]

## 7. UX & Design

### User Flow

1. [Step]
2. [Step]

### Edge Cases

| Scenario | Expected Behavior |
| -------- | ----------------- |
| ...      | ...               |

## 8. Technical Approach

_High-level guidance. For stack details refer to the project's instruction file._

### Cross-Repo Impact

| Repo | Changes Needed |
| ---- | -------------- |
| ...  | ...            |

### Key Technical Decisions

- ...

## 9. Acceptance Criteria

- [ ] AC-1: [Testable condition]
- [ ] AC-2: [Testable condition]

## 10. Risks & Dependencies

| Risk / Dependency | Impact | Mitigation |
| ----------------- | ------ | ---------- |
| ...               | ...    | ...        |

## 11. Implementation Phases

### Phase 1: [Name]

- [ ] [Deliverable]

## 12. Open Questions

- [ ] [Question]

Fill in every section based on the conversation:

  • Use the instruction file to inform the Technical Approach (don't duplicate stack info — reference it)
  • Set Status to Open for Discussion
  • Use today's date
  • Include an Effort estimate: 1-2 days, 3-5 days, 1-2 weeks, 2-4 weeks, 4+ weeks
  • Leave Open Questions for anything genuinely unresolved

5. Save the PRD

Save the generated PRD to the PRD directory with a descriptive filename:

docs/prds/[feature-name].md

Use kebab-case for the filename.

6. Present for Review

Show the user the generated PRD and ask if they want to adjust anything. Make edits as requested until they're satisfied.

7. Commit, Push, and Create Issue

Once the user is happy with the PRD:

  1. Ask who to assign the GitHub issue to. Fetch org members dynamically:

    ORG=$(gh repo view --json owner --jq '.owner.login')
    gh api "orgs/$ORG/members" --jq '.[].login' 2>/dev/null || echo ""

    Present members as options (include "No assignee"). Only ask this once.

  2. Commit and push the PRD:

    git add docs/prds/[filename].md
    git commit -m "docs: add [feature name] PRD"
    git push
  3. Create a GitHub issue:
    • Title: short feature name
    • Body: summary of the PRD with a link to the file, key features, and implementation phases
    • Assign to the user specified in step 1
    • Use gh issue create
  4. Update the PRD to replace #TBD in the GitHub Issue field with the actual issue number returned by gh issue create.
  5. Commit the PRD issue reference update:

    git add docs/prds/[filename].md
    git commit -m "docs: link PRD to issue #[number]"
    git push

Remind them:

  • The PRD is now Open for Discussion — share with the team for review
  • Update the Status field as it progresses
  • Once approved, reference the PRD when starting implementation work

Guidelines

  • Keep it conversational. The user shouldn't feel like they're filling out a form. Extract structure from natural conversation.
  • Right-size the detail. Be thorough on scope, requirements, and acceptance criteria. Be light on process overhead.
  • Pre-fill what you can. If you can infer technical approach, edge cases, or non-functional requirements from the conversation + instruction file, fill them in rather than asking.
  • Flag cross-repo work early. If the feature needs changes in other repos, make that prominent.
  • Don't over-specify implementation. The PRD describes WHAT, not HOW. Implementation details belong in the plan/code, not the PRD.

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.