agentleFS
chatquillchatquill/claude-code-websites/.claude/skills/write-prd/SKILL.md

write-prd

Skill1 starsChanged 23 days agoMITView on GitHub

Writes the product requirements document from the brief, personas and research: problem, users, goals and metrics, MVP scope, functional and non-functional requirements, risks and non-goals, then gets product-director sign-off (PD-PRD). Use after /brainstorm, when the concept is clear, or to revise requirements.

31 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use write-report, stakeholder-update 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.
  • MicrosoftSkill

    write-report

    Read a chest X-ray end-to-end: ground findings with MedImageInsight, then write a structured radiologist report (Indication, Technique, Findings, Impression). Invoke for any "write/draft a CXR report" request.

    Also in 3 projects that use this

  • AnthropicSkill

    stakeholder-update

    Generate a stakeholder update tailored to audience and cadence. Use when writing a weekly or monthly status for leadership, announcing a launch, escalating a risk or blocker, or translating the same progress into exec-brief, engineering-detail, or customer-facing versions.

    Also in 3 projects that use this

  • blueOctopusAISkill

    prioritize

    Also in 3 projects that use this

  • SentrySkill

    write-docs

    Create or update documentation pages for the Abacus docs site. Use when adding new documentation, updating existing pages, or ensuring docs stay in sync with code changes. Ensures pages follow Starlight patterns and build correctly.

    Also in 3 projects that use this

  • MicrosoftSkill

    cut-release

    Use this skill to cut an APM release from the current worktree: assess whether the cycle since the last tag warrants a patch or minor bump (semver discipline against the merged-since-last-tag diff), assemble the changelog.d/ fragments and any legacy [Unreleased] CHANGELOG bullets into a dated version block and sanitize it so each change has one line in one section (dedupe across sections, condense, add Highlights, drop internal-only churn), bump pyproject.toml + uv.lock, run the CI-mirror lint chain, and open the release PR. Activate on "ship a release", "cut v0.x", "release prep", "bump and PR", "open release PR", "what kind of release do we need", or any phrasing that ends in opening a release PR -- even when the user does not say "skill". Stops BEFORE tagging; tagging stays a human gate that triggers the release workflow. Refuses to bump to a major (>= 1.0.0) version without explicit operator confirmation.

    Also in 3 projects that use this

  • SentrySkill

    write-tests

    Write tests following project conventions. Use when adding new tests or modifying existing ones.

    Also in 3 projects that use this

  • +1 more from getsentry

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 0

    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. Very specific:

    Ask "May I write this to docs/product/prd.md?" For a revision, append a line to the PRD's ## Changelog and name the specs and stories that …

    line 64

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

Write the PRD

Produces docs/product/prd.md from .claude/docs/templates/prd.md. product-manager drafts it, the user decides every open question, and product-director reviews it (PD-PRD). It specifies what and why; the how belongs to feature specs and ADRs.

Inputs

  • docs/product/brief.md (if missing, ask for the concept in a few sentences or suggest /brainstorm)
  • docs/product/personas/*.md, docs/product/research/*.md if present
  • project.yaml: project.type, budgets, a11y.standard, i18n.locales, privacy.regions
  • Argument revise <section>: edit one section of an existing PRD (with a changelog line)

Phases

Phase 1: Fill the gaps

List what the template needs that the inputs do not say, as numbered questions, at most 6 per round: e.g. success metric and target, launch deadline, weekly capacity, must-have integrations, regions and languages, regulated data (health, finance, children). Ask with the question tool.

Phase 2: Draft

Spawn product-manager with the inputs and the answers. The PRD must contain:

  1. Problem and audience (primary persona, JTBD)
  2. Goals and success metrics: North Star + activation/retention metrics with targets and timeframe
  3. Scope: MVP features (each with a one-line user value), later, and non-goals
  4. User journeys: the critical journeys (signup, onboarding, core task, checkout…) that e2e tests will protect
  5. Functional requirements: FR-NN numbered, testable, linked to a feature
  6. Non-functional requirements: performance (from budgets), accessibility (a11y.standard), security, privacy (privacy.regions), i18n, SEO, availability, browsers/devices
  7. Integrations and constraints (auth, payments, CMS, AI, email, compliance)
  8. Risks and assumptions (riskiest first) and open questions
  9. Release plan: milestones (MVP, beta, launch) at headline level

Rules for the drafter: no requirement without a testable statement; no implementation choices unless they are true constraints; mark anything unknown [TO CONFIRM].

Phase 3: Review (PD-PRD)

Under standard and full, spawn product-director: "Sign PD-PRD on this draft: check coherence of problem → metric → scope, that the MVP is the smallest test of the riskiest assumption, and that non-goals are explicit. Reply APPROVE, CONCERNS or REJECT with at most 5 findings." Under full, also spawn technical-director for a feasibility read of the NFRs (in parallel).

Show the draft, the verdict(s) and findings. Resolve findings with the user (revise or accept with a note).

Phase 4: Write

Ask "May I write this to docs/product/prd.md?" For a revision, append a line to the PRD's ## Changelog and name the specs and stories that may be affected (suggest /propagate-design-change).

Output

docs/product/prd.md.

Rigor

  • minimal: sections 1, 2, 3, 4 and 5 are enough; no review.
  • full: every FR links a persona need; NFRs have numbers; both reviews run.

Next step

/scope-check, then /gate-check discovery.

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.