write-prd — команда для Claude Code: что делает и как установить
Команда write-prd создаёт лаконичный документ с требованиями к продукту по черновику, идее фичи или описанию проблемы пользователя.
MIT ★ 28 211 обновлён 2026-10-16
/plugin marketplace add phuryn/pm-skills
/plugin install pm-execution@pm-skillsЧто делает write-prd
Команда берёт на вход формулировку проблемы, запрос на фичу или готовый бриф и превращает их в черновик PRD на одну-две страницы. Если не хватает деталей, Claude Code задаёт максимум три вопроса в одном сообщении: про боль пользователя, целевой сегмент и метрики успеха. Если вы ответите «пиши как есть», пробелы просто будут оформлены как допущения.
Результат строится по шаблону из восьми разделов: краткое резюме, контакты, предыстория, цель, сегменты рынка, ценностные предложения, решение и план релиза. Для каждого ценностного предложения используется структура из шести пунктов, а ограничения первой версии сразу уходят в блок релиза. Итоговый документ команда сохраняет прямо в рабочую папку в формате Markdown.
Команда опирается на скилл create-prd, поэтому для полной работы требуется подключить плагин с этим шаблоном.
Какие задачи решает
- сформулировать PRD из короткой идеи или жалобы клиента
- зафиксировать границы первой версии продукта и отсечь лишний скоуп
- прописать точные метрики успеха вместо размытых целей
- сохранить черновик требований в Markdown прямо в репозиторий
Примеры запросов агенту
- /write-prd Поддержка SSO для корпоративных клиентов
- /write-prd Пользователи отваливаются на третьем шаге онбординга
- /write-prd бриф по экспорту данных в CSV
Как установить write-prd
1Через маркетплейс плагинов
/plugin marketplace add phuryn/pm-skills/plugin install pm-execution@pm-skills2Вручную: положить файлы
.claude/commands/write-prd.mdВызов — /write-prd. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/write-prd.mdВызов — /prompts:write-prd. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/write-prd.prompt.mdВручную: положить файлы
.gemini/commands/write-prd.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы о write-prd
Как установить write-prd в Claude Code?
Выполните в терминале Claude Code сначала /plugin marketplace add phuryn/pm-skills, а затем /plugin install pm-execution@pm-skills. Также команду можно добавить вручную файлом .claude/commands/write-prd.md.
Что делает команда write-prd?
Она собирает lean-документ с продуктовыми требованиями из краткой идеи или загруженного документа. Внутри формируются восемь стандартных секций с метриками, ценностным предложением и границами релиза.
Что происходит, если в описании фичи не хватает данных?
Ассистент задаёт не больше трёх вопросов в одном сообщении по аудитории, боли и метрикам. Если вы просите писать сразу, он отмечает недостающие детали как предположения в разделе решения.
Исходный текст
write-prd.md · MIT
---
description: Create a lean Product Requirements Document from a feature idea or problem statement, with a fuller spec on request
argument-hint: "<feature or problem statement>"
---
# /write-prd -- Product Requirements Document
Create a lean PRD that aligns stakeholders and guides development. Accepts anything from a vague idea to a detailed brief.
## Invocation
```
/write-prd SSO support for enterprise customers
/write-prd Users are dropping off during onboarding — we need to fix step 3
/write-prd [upload a brief, research doc, or strategy deck]
```
## Workflow
### Step 1: Understand the Feature
Accept the input in any form:
- A feature name ("SSO support")
- A problem statement ("Enterprise customers keep asking for centralized auth")
- A user request ("Users want to export their data as CSV")
- A vague idea ("We should do something about onboarding drop-off")
- An uploaded document (brief, research, Slack thread, email)
### Step 2: Fill Only the Gaps That Matter
Extract what the input already gives you, and research what the web can answer (prior art, competitors, market context) instead of asking. If any of these three is missing, ask about it before writing, in one message, three questions at most:
1. **User problem**: What problem does this solve? Who experiences it, and how painful is it?
2. **Target users**: Which user segment(s)? What's their current workaround?
3. **Success metrics**: How will we know this worked? What moves if we nail it?
Constraints, prior art, and scope preference are worth asking about only if the user wants the detailed version. If the user says "just write it", go ahead and mark the gaps as assumptions.
### Step 3: Generate the PRD
Apply the **create-prd** skill: its 8-section template, lean by default (about one to two pages). Write the detailed version only if the user asks for it. Start the document with:
```
## Product Requirements Document: [Feature Name]
**Author**: [user]
**Date**: [today]
**Status**: Draft
```
Then the eight sections: Summary, Contacts (if known), Background, Objective, Market Segment(s), Value Proposition(s), Solution, Release. Market Segments and Value Propositions are always included; each value proposition uses the 6-part template (Who, Why, What before, How, What after, Alternatives). Put what the first version will not do in Release, and what's still unknown in Solution → Assumptions and open questions.
### Step 4: Review and Iterate
After generating, say in one line what you left out on purpose, then offer:
- "Want the **detailed version**, or should I expand a specific section?"
- "Want me to **tighten the scope** further? I can challenge what really needs to be in the first version."
- "Should I **run a pre-mortem** on this PRD?"
- "Want me to **break this into user stories** for engineering?"
- "Should I **create a stakeholder update** to socialize this?"
Save the PRD as a markdown file to the user's workspace.
## Notes
- Be opinionated about scope — a tight PRD is better than an expansive vague one
- If the idea is too big, proactively suggest phasing and spec only Phase 1
- Non-goals are as important as goals — they prevent scope creep
- Success metrics must be specific: "improve NPS" is bad, "increase NPS from 32 to 45 within 90 days of launch" is good
- Open questions should be genuinely unresolved — don't list things you can answer from context
- If the user provides research, weave insights into the Background section with attribution
© Paweł Huryn · MIT · phuryn/pm-skills