Agent skill

Write Prd

by andreaskelm in andreaskelm/pm-brain

Write, draft, tighten, or restructure a PRD, product spec, requirements doc, or feature spec, including JTBD-style PRDs and user stories with Given/When/Then acceptance criteria.

Custom licenceAuto-check passedProduct & Project Management

Install Write Prd

skills CLI
$ npx skills add andreaskelm/pm-brain --skill write-prd -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install andreaskelm/pm-brain write-prd --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/andreaskelm/pm-brain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/write-prd .claude/skills/write-prd && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
write-prd
GitHub stars
234
Token cost
~1.7k tokens
SKILL.md length
929 words
Files
5 (incl. references)
Skills in repo
18
Repo updated
First seen
Licence
Custom licence

At a glance

Write, draft, tighten, or restructure a PRD, product spec, requirements doc, or feature spec, including JTBD-style PRDs and user stories with Given/When/Then acceptance criteria.

  • Works in 5 steps: Preflight (always, even when they say… → Pick the size and the variant → Draft, outcome first → …
  • The user says write the PRD
  • SKILL.md covers Is a PRD even the right thing?, Step 1 — Preflight (always,…, Step 2 — Pick the size and the… and Step 3 — Draft, outcome first, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Write Prd is an agent skill from andreaskelm/pm-brain. Write, draft, tighten, or restructure a PRD, product spec, requirements doc, or feature spec, including JTBD-style PRDs and user stories with Given/When/Then acceptance criteria. Use when the user says "write the PRD", "spec this out", "draft requirements", "turn this into a PRD", or "help me write up what we're building". Runs preflight questions before any drafting.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/criteria.md`, `references/template-jtbd.md` and `references/template.md`).

It sits in Product & Project Management, covering PRD writing and User stories. The repository describes itself as: AI-powered product management thinking & operating system. Playbooks, guides, templates, and frameworks that bridge PM theory to daily execution.

When your agent uses it

  • The user says write the PRD
  • Draft requirements
  • Turn this into a PRD
  • Help me write up what were building

Example prompts

  • “write the PRD”
  • “spec this out”
  • “draft requirements”
  • “/write-prd”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Preflight (always, even when they say "just write it")
  2. Pick the size and the variant
  3. Draft, outcome first
  4. Watch for red flags as it takes shape
  5. Before calling it done

What it can do on your machine

Read from SKILL.md and the folder at commit 38696ac. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Write Prd loads about 1.7k tokens when it runs, and up to ~8.5k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 929 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 929 words (~1,686 tokens).

“A PRD bridges discovery and execution: it turns a validated opportunity into something a team can build, with success defined before the solution. The failure mode I see most often isn't a badly formatted PRD. It's a well-formatted one written…”

— opening of SKILL.md by andreaskelm, Custom licence
name
write-prd

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references) in .claude/skills/write-prd of andreaskelm/pm-brain.

  • SKILL.md
  • references/criteria.md
  • references/template-jtbd.md
  • references/template.md
  • references/user-stories.md

Open the folder on GitHubat commit 38696ac

Compare with similar skills

Write Prd next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Write Prd compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Write Prd this skillandreaskelm/pm-brain234—~1.7kAutomated safety check: PassCustom licence
Ralph Tui Create Beadssubsy/ralph-tui2.5k1 repos~2.6kAutomated safety check: PassMIT
Ralph Tui Create Beads Rustsubsy/ralph-tui2.5k1 repos~2.8kAutomated safety check: PassMIT
Ralph Tui Create JSONsubsy/ralph-tui2.5k1 repos~2.6kAutomated safety check: PassMIT
To Prdywwynm/EverythingDone14411 repos~777Automated safety check: PassGPL-3.0
Use Case Writerphucnt-bazone-vietnam/use-case-writer143—~4.1kAutomated safety check: PassMIT

Similar skills

  • Ralph Tui Create Beads

    subsy/ralph-tui

    Convert PRDs to beads for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed
  • Convert PRDs to beads for ralph-tui execution using beads-rust (br CLI).

    2.5k GitHub starsUsed in 1 repo~2.8k tokens
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create JSON

    subsy/ralph-tui

    Convert PRDs to prd.json format for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed
  • To Prd

    ywwynm/EverythingDone

    Turn the current conversation context into a PRD and publish it to the project issue tracker.

    144 GitHub starsUsed in 11 repos~777 tokens
    Product & Project ManagementAuto-check passed
  • Use Case Writer

    phucnt-bazone-vietnam/use-case-writer

    Generate Use Case specifications in English Markdown following the IT BA standard 13-field template (Karl Wiegers / IIBA).

    143 GitHub stars~4.1k tokensUpdated 4 mo ago
    Product & Project ManagementAuto-check passed
  • Project Planner

    adrianpuiu/claude-skills-marketplace

    Comprehensive project planning and documentation generator for software projects.

    100 GitHub starsUsed in 1 repo~6k tokens
    Product & Project ManagementAuto-check passed

More from andreaskelm/pm-brain

All 18 skills in this repo
  • AI Product Management

    andreaskelm/pm-brain

    Ship and spec AI features, LLM products, agents, copilots, and generative UX — including when to use a model vs.

    234 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • Discovery Synthesis

    andreaskelm/pm-brain

    Plan customer discovery, turn interview snapshots into synthesis and evidence-based opportunities, build or update an Opportunity Solution Tree, map jobs and segments, and design RAT tests for the…

    234 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Eng Design Collab

    andreaskelm/pm-brain

    Partner effectively with engineering and design — feasibility and scope negotiation, tech debt tradeoffs, design reviews, discovery with builders, and PRD handoffs that don't get thrown away.

    234 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • Experimentation

    andreaskelm/pm-brain

    Design and run product experiments at a practical PM level — A/B tests, hypothesis tests, rollouts, feature flags, and reading results without pretending to be a statistician.

    234 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Launch Gtm

    andreaskelm/pm-brain

    Plan, tighten, or review a product launch and go-to-market motion: rollout phases, beta and GA readiness, sales enablement, marketing launch, and release comms (internal and external).

    234 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • North Star

    andreaskelm/pm-brain

    Define, sharpen, or audit a North Star metric and its input metrics tree, and decide which product metrics actually matter (leading vs.

    234 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed

Questions about Write Prd

What does Write Prd do?

Write, draft, tighten, or restructure a PRD, product spec, requirements doc, or feature spec, including JTBD-style PRDs and user stories with Given/When/Then acceptance criteria. Write Prd is an agent skill from andreaskelm/pm-brain. Write, draft, tighten, or restructure a PRD, product spec, requirements doc, or feature spec, including JTBD-style PRDs and user stories with Given/When/Then acceptance criteria.

When should I use Write Prd?

Write Prd fits situations like: the user says write the PRD; draft requirements; turn this into a PRD; help me write up what were building.

How do I install Write Prd in Claude Code?

Run `npx skills add andreaskelm/pm-brain --skill write-prd -a claude-code`. Or copy the skill folder (.claude/skills/write-prd in andreaskelm/pm-brain) into .claude/skills/write-prd in your project. Claude Code loads it when a task matches its description.

How do I install Write Prd in Codex?

Run `npx skills add andreaskelm/pm-brain --skill write-prd -a codex`. Or copy the skill folder (.claude/skills/write-prd in andreaskelm/pm-brain) into .agents/skills/write-prd in your project. Codex loads it when a task matches its description.

Can I use Write Prd in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add andreaskelm/pm-brain --skill write-prd -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/write-prd, .gemini/skills/write-prd, .github/skills/write-prd and .opencode/skills/write-prd in your project.

What does Write Prd need to run?

SKILL.md names no scripts, command-line tools or credentials: Write Prd is instructions for the agent only.

Does Write Prd access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Write Prd safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Write Prd use?

Write Prd has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Write Prd use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.8k tokens, read only when the agent opens those files.

What are the alternatives to Write Prd?

Skills that share tags, products or a category with Write Prd: Ralph Tui Create Beads (subsy/ralph-tui, 2.5k stars), Ralph Tui Create Beads Rust (subsy/ralph-tui, 2.5k stars), Ralph Tui Create JSON (subsy/ralph-tui, 2.5k stars) and To Prd (ywwynm/EverythingDone, 144 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Write Prd?

andreaskelm (a GitHub user) maintains it in andreaskelm/pm-brain, which has 234 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 9, 2026.

Source: andreaskelm/pm-brain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.