prd-to-plan
Turns a product requirements document into a phased implementation plan saved as a Markdown file in the repository: a requirement ledger, the decisions every…
от TerminalSkills★ 221 звезда на GitHub
Установить prd-to-plan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
PRD to Plan
Overview
This skill reads a PRD and the codebase it will be built in, and writes one plan file that a developer or a coding agent can follow from the first commit to the last. The plan names the choices that would be expensive to reverse, splits the work into phases that each leave the product in a working, demonstrable state, and says how each phase is verified. It differs from a ticket breakdown: the output is a single living document for sequential work, kept next to the code and updated as the build teaches something new.
Instructions
1. Establish the inputs
Ask where the PRD is (file, issue, pasted text), who will execute the plan (one developer, a team, an agent working unattended), and any fixed constraint: a date, a release freeze, a platform that must be supported first. Find where plans live in this repository: an existing plans/, docs/plans/ or docs/rfcs/ directory wins; otherwise use plans/ at the root. Name the file after the feature in kebab case, for example plans/team-invitations.md.
2. Build the requirement ledger
Give every requirement an id (R1, R2, …), reusing the PRD's numbering when it exists. List non-goals and open questions separately. Sort the open questions: one that changes the order or the shape of the phases must be answered before planning continues; the rest go into the plan with an owner and the phase that needs the answer.
3. Read the code the feature will touch
Record facts, each one verified by opening the file:
- where a comparable feature enters the system and how it is layered (routing, domain logic, storage, interface)
- the data model the feature extends and the migration tool in use
- how the project is tested, linted and type-checked: the real commands from
package.json,Makefile,pyproject.tomlor CI configuration - how unfinished work is hidden in production (feature flags, settings), and how releases happen
For a new project with no code yet, this section states the stack the user has chosen and what must exist before phase 1 can be demonstrated.
4. Record the decisions every phase depends on
Before slicing, settle what later phases will build on and what would be costly to change: public contracts (routes, events, commands), the shape of new data and how existing data is migrated, the authorization rule, boundaries with external services, and how the feature is switched on. For each decision write the choice, the reason, and the alternative rejected. Leave out helper names, file layout and other details that are cheap to change; a plan that pins them is out of date after the first refactor.
5. Shape the phases
- Every phase ends in a demonstration. After it merges, a person can do something they could not do before, even if only behind a flag. A phase that is "the database part" or "the frontend part" cannot be demonstrated; fold it into a phase that crosses the layers.
- Phase 1 is the thinnest end-to-end path through the main scenario, with every layer present and deliberately minimal. Later phases widen it: more cases, failure handling, limits, polish.
- Order by risk, then by value. Put the part most likely to invalidate the plan early. If an unknown is large enough, phase 0 is a time-boxed spike whose output is a decision, not shipped code.
- Size. One to three days of work or one to three pull requests per phase; three to seven phases for a typical PRD. More than seven usually means the PRD covers two features.
- Keep the main branch releasable. Hide incomplete behaviour behind the project's flag mechanism. Change existing schemas and contracts by expand, migrate, contract: add the new form, move readers and writers, remove the old form in a later phase.
- Mark the cut line. Say which phase completes the minimum the PRD needs, so later phases can be dropped or deferred without replanning.
Each phase states: goal (one sentence a stakeholder would recognise), requirements covered, what is built, what is deliberately left for later, checks that prove it is done, the commands that verify it, and its main risk.
6. Review the outline before writing the file
Show a table of phases (goal, requirements, size, risk) and ask about what the user can judge quickly: is the order right, is the cut line where they want it, is any phase too big to review, is anything missing. Revise, then write the file.
7. Write the plan file
Use this section order: title with source PRD, status and date; Requirements (ledger table with the phase that covers each); Current state; Decisions; Phases; Not planned; Open questions; Change log. Write Covers: as a plain line in each phase so coverage can be checked mechanically:
plan=plans/team-invitations.md
for id in R1 R2 R3 R4 R5 R6; do
grep '^Covers:' "$plan" | grep -qw "$id" || echo "no phase covers $id"
done
grep -c '^### Phase' "$plan"
Before handing the plan over, confirm that every requirement is covered or
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _scores.json
FAQ
Что делает скилл prd-to-plan?
Turns a product requirements document into a phased implementation plan saved as a Markdown file in the repository: a requirement ledger, the decisions every phase depends on, and an ordered list of phases that each end in something demonstrable, with checks and verification commands. Use when the user says "make an implementation plan from this PRD", "plan the phases for this feature", "how should we build this spec", "write a plan file before we start coding", or wants a roadmap an agent can execute phase by phase.
Как установить скилл prd-to-plan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prd-to-plan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…