Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

prd-to-issues

БесплатноБез исполняемых скриптовНе проверен

Converts a product requirements document into a reviewed set of GitHub issues: end-to-end increments sized for one pull request, each with checkable…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

PRD to Issues

Overview

A PRD describes what a feature must do; it is not something a developer or a coding agent can pick up and ship. This skill turns one into a backlog: a handful of GitHub issues that each put working behaviour in front of a user, fit in one pull request, and carry acceptance criteria precise enough to check. Every requirement is traced to an issue, the order of work is stored as real GitHub relationships (sub-issue of the PRD, blocked by its prerequisites), and nothing is created until the user has approved the breakdown.

Instructions

1. Collect the inputs

Ask only for what cannot be looked up: where the PRD is (issue number, file, or pasted text) and which repository receives the issues. Then read the rest from the project:

gh --version                                   # 2.94.0+ has --parent / --blocked-by / --type
gh repo view --json nameWithOwner,hasIssuesEnabled
gh issue view 142 --json number,title,body,comments,labels,milestone,subIssues
gh label list --limit 200 --json name,description
gh api "repos/{owner}/{repo}/milestones" --jq '.[].title'

gh fills {owner} and {repo} from the current directory. Read the comments as well as the body: decisions made after the PRD was written usually live there. On gh older than 2.94.0 drop subIssues from the field list. If subIssues.totalCount is above zero, the PRD was already broken down once: list what exists and ask whether to extend it instead of creating a second set.

2. Build a requirement ledger

Number every requirement the PRD states (R1, R2, …), keeping the PRD's own numbering if it has one. Separately list the stated non-goals and every question the PRD leaves open. A requirement that cannot be verified as written ("search should be fast") gets a proposed measurable form, shown to the user as a question, not silently decided.

3. Survey the code

Find the route a request for this feature takes through the system: storage, domain logic, API, interface, tests. Note what already exists and can be reused, the test command, and any conventions an issue should point at. This is what makes an issue startable without a second investigation.

4. Cut the work into increments

Each issue is a vertical slice: one user-visible behaviour carried through every layer it needs, tests included. "Add the tables", "build the API", "build the UI" are layers, not increments; nobody can try a layer.

  • Start with the thinnest working path. The first issue is the smallest version of the main scenario that runs from the interface to storage and back. Later issues widen it.
  • Size for one pull request. If an issue needs more than about two days or more than six acceptance criteria, split it.
  • Ways to split: by step of the workflow; by business rule or variation; main path before failure handling; one data type or integration at a time; correct first, fast later.
  • Check each one against INVEST: independent, negotiable, valuable, estimable, small, testable. An issue that fails "valuable" is usually a layer in disguise.
  • Two exceptions are legitimate: a decision issue (an open question that blocks work, with the person who decides) and an enabler (a migration or setup step with no visible behaviour). Keep an enabler only if a named increment cannot start without it.

Give every issue a readiness state. Ready means it can be built from the issue text and the PRD alone, including by an unattended agent. Needs decision means a named person must choose something first; say who and what.

5. Order the work

Record only true prerequisites, so the dependency graph stays shallow and work can run in parallel. No cycles. For each issue, write what it is blocked by; for the whole set, say which issues can start today.

6. Review before creating anything

Show the breakdown as a table (title, requirements covered, readiness, blocked by) followed by a coverage check: every R appears in at least one issue, every non-goal appears in none, every open question has a decision issue or an answer. Then ask what would change the plan: is any item too large to review in one pull request, is any dependency wrong, should anything be cut or deferred, which label and milestone should the set carry. Revise until the user approves. Creating issues notifies watchers and is tedious to undo, so do not create a draft set "to look at".

7. Create the issues

Write each body to a file in a temporary directory and create the issues in dependency order, so blockers have numbers before the issues that need them. gh issue create prints the new issue's URL on stdout; the number is its last path segment.

tmp=$(mktemp -d)
gh label create "prd:saved-searches" --description "Work items for PRD #142" --color 1D76DB --force

url=$(gh issue create --title "Save the current filter and reopen it from the sidebar" \
  --body-file "$tmp/01-save-and-reopen.md" --label "prd:saved-searches" --parent 1
Полный SKILL.md на GitHub

Установить prd-to-issues в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл prd-to-issues?

Converts a product requirements document into a reviewed set of GitHub issues: end-to-end increments sized for one pull request, each with checkable acceptance criteria, traced back to the PRD's requirements and linked as sub-issues with blocked-by relationships. Use when the user says "break this PRD into issues", "create tickets from the PRD", "turn the spec into a backlog", "split this feature into work items", or asks which parts of a PRD can be built in parallel.

Как установить скилл prd-to-issues?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл prd-to-issues запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить prd-to-issues с