agentleFS
rafagomesrafagomes/ai-workflow/skills/prd/SKILL.md

prd

Skill9 starsChanged 8 months agoMITView on GitHub

Interview the user and produce a Product Requirements Document — personas, user stories, scope, success metrics. Use when the user asks to write a PRD, draft product requirements, capture user stories, define success metrics, or says 'what should we build', 'let's scope this product', 'write up the requirements'.

72 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use modern-go, to-design and 8 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.
  • jidechaoSkill

    modern-go

    Modernize Go code by applying version-appropriate idioms and APIs (gofix-style transformations). Scans go.mod for the Go version, then transforms Go source files to use modern patterns—from Go 1.0 through 1.26+. Use when the user says "现代化","现代Go语言", "地道的", "idiomatic", "modernize", "modern-go", "update Go code", "gofix", or wants to upgrade Go idioms.

    Also in 3 projects that use this

  • jidechaoSkill

    to-design

    Generate a design document (design proposal) from a PRD, in the style of Go's official design proposals — Abstract / Background / Design / Rationale / Compatibility / Implementation, heavy on the 'why' and tradeoffs. Triggers on: to-design, prd-to-design, prd转设计文档, 生成设计文档, 写设计文档, design doc, design proposal, 设计提案, 技术设计文档.

    Also in 3 projects that use this

  • deedeeharrisSkill

    prd-to-spec

    Convert an approved PRD into a phase-gated implementation SPEC. User-facing entry point that dispatches to the prd-to-spec babysitter process via /babysitter:call (interactive) or /babysitter:yolo (auto). Stack-agnostic.

    Also in 3 projects that use this

  • Dr4gon42Skill

    ralph

    Autonomous agent loop for completing features. Use when asked to 'use ralph', 'ralph this', or to autonomously implement a feature end-to-end. Creates prd.json with user stories, then executes them one by one until complete.

    Also in 11 projects that use this

  • JokerRunSkill

    compound-engineering

    Compound Engineering workflow for AI-assisted development. Use when planning features, executing work, reviewing code, or codifying learnings. Follows the Plan → Work → Review → Compound loop where each unit of engineering makes subsequent work easier. Triggers on: plan this feature, implement this, review this code, compound learnings, create implementation plan, systematic development.

    Also in 3 projects that use this

  • VektoAISkill

    prioritize

    Prioritization Analyst mode. Run RICE, ICE, MoSCoW, Kano, or Weighted Scoring on a feature set. Forces honest scoring, catches optimism bias, produces stack-ranked outputs with confidence intervals and sensitivity analysis.

    Also in 4 projects that use this

  • +2 more from jidechao

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 61 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a Product Requirements Document for: $ARGUMENTS

    line 5
  2. Distinctive:

    Before starting, check what already exists:

    line 9
  3. Very specific:

    Read docs/ directory structure if it exists

    line 10
  4. Distinctive:

    Read any existing PRD, README, or whitepaper — do not duplicate what's already written

    line 11
  5. Distinctive:

    If a PRD already exists, ask the user if they want to revise it or start fresh

    line 12
  6. Distinctive:

    Use AskUserQuestion to interview the user.

    line 18
  7. Distinctive:

    Don't ask obvious questions — if the user said "Rust CLI tool", don't ask "what language?"

    line 31
  8. Distinctive:

    Ask about the hard parts the user might not have thought through

    line 33
  9. Distinctive:

    Keep going until you have enough to write a comprehensive document.

    line 35
  10. Very specific:

    Write to docs/PRD.md (or docs/prd/<name>.md if this is a sub-feature PRD).

    line 39

“Common” is measured: kept by at least 6 in 10 of the 61 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 for: $ARGUMENTS

Context Awareness

Before starting, check what already exists:

  • Read docs/ directory structure if it exists
  • Read any existing PRD, README, or whitepaper — do not duplicate what's already written
  • If a PRD already exists, ask the user if they want to revise it or start fresh

Process

1. Deep Interview

Use AskUserQuestion to interview the user. This is the most important step — the PRD quality depends entirely on how well you extract the user's thinking.

Start broad, then go deep:

  1. The problem — What problem are you solving? Who has this problem? How are they solving it today? What's broken about the current approach?
  2. The solution — What's your high-level approach? What makes it different from existing solutions? What's the core insight?
  3. Scope and boundaries — What does v1 include? What is explicitly out of scope? What are the non-negotiable requirements vs nice-to-haves?
  4. Users and stakeholders — Who are the primary users? Are there different user types with different needs? Who else cares about this (ops, security, compliance)?
  5. Success criteria — How do you know this works? What does success look like in 1 month? 6 months?
  6. Constraints — Technical constraints (language, platform, infra)? Business constraints (timeline, team size, budget)? Regulatory constraints?
  7. Risks — What could go wrong? What are the biggest unknowns? What keeps you up at night about this?

Interview rules:

  • Don't ask obvious questions — if the user said "Rust CLI tool", don't ask "what language?"
  • Dig into contradictions and tensions — "you said X but also Y, how do those reconcile?"
  • Ask about the hard parts the user might not have thought through
  • It's OK to push back or challenge assumptions — the goal is a solid PRD, not agreement
  • Keep going until you have enough to write a comprehensive document. Don't rush.

2. Write the PRD

Write to docs/PRD.md (or docs/prd/<name>.md if this is a sub-feature PRD).

# [Project/Feature Name]

## Problem

[What problem does this solve? Who is affected? What's the current state and why is it broken?]

## Solution

[High-level approach. What is this thing? What's the core insight? How does it work at a conceptual level?]

## Design Principles

[Non-negotiable properties of the solution. The "even if everything else changes, these must hold" rules.]

## Scope

### In Scope (v1)
- [Concrete deliverable 1]
- [Concrete deliverable 2]

### Out of Scope
- [Explicit exclusion 1 — and why]
- [Explicit exclusion 2 — and why]

## User Types

### [User Type 1]
- Who they are
- What they need
- How they interact with the system

## Key Flows

[The 2-4 most important user/system flows. Use prose, diagrams (Mermaid), or step-by-step — whatever is clearest.]

## Success Criteria

- [ ] [Measurable criterion 1]
- [ ] [Measurable criterion 2]

## Constraints

- **Technical:** [language, platform, infra, dependencies]
- **Business:** [timeline, team, budget]
- **Regulatory:** [compliance, security, legal]

## Risks and Open Questions

| Risk/Question | Impact | Mitigation/Answer |
|---------------|--------|-------------------|
| [Risk 1] | [What happens if it materializes] | [How to handle it] |

## Future Work

[What comes after v1? What was deferred and why?]

Adapt the structure to fit the project. Not every section is needed for every PRD. A small feature PRD might skip User Types and Constraints. A protocol PRD might need a Terminology section. Use judgment.

3. Present for Review

Show the user the PRD and ask for feedback. Iterate until they're satisfied.

4. Suggest Next Steps

Based on the PRD complexity, suggest which specs to create next:

  • "This needs an architecture doc — run /architecture"
  • "Define testing and dev workflow — run /tdd"
  • "There are security-sensitive parts — run /security"
  • "Ready to break into features — run /spec <feature-name> for each"

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.