create-prd

Write a Product Requirements Document for a feature or refactor using a structured PRD template. Reads the feature brief and data-model.md if one exists, skims the relevant code, asks only the questions needed to settle goals, scope, users, and requirements, asks where to save, and writes prd.md. Reads shared project knowledge from .agents/knowledge/ and fills gaps there when AGENTS.md / CLAUDE.md don't cover them. Use when the user asks to write, draft, or create a PRD or product requirements for a feature, or runs /create-prd.

Qu'est-ce que create-prd ?

create-prd is a Claude Code agent skill that write a Product Requirements Document for a feature or refactor using a structured PRD template. Reads the feature brief and data-model.md if one exists, skims the relevant code, asks only the questions needed to settle goals, scope, users, and requirements, asks where to save, and writes prd.md. Reads shared project knowledge from .agents/knowledge/ and fills gaps there when AGENTS.md / CLAUDE.md don't cover them. Use when the user asks to write, draft, or create a PRD or product requirements for a feature, or runs /create-prd.

Compatible avec✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MdTehseenKhan/planning-skills/tree/HEAD/skills/create-prd

Installed? Explore more Productivité et collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Create PRD

Turn a feature idea into a PRD that product and engineering can agree on. In the planning flow the PRD sits in the middle:

design-data-model  →  create-prd  →  plan-phases  →  plan-tickets
data-model.md         prd.md         plan.md         tickets.md

The PRD says what we're building and why, for whom, and what counts as done. It does not order the work (that's plan.md) or redesign the schema (that's data-model.md).

When to Apply

  • User asks to write, draft, or create a PRD or product requirements
  • User asks to turn a feature idea, brief, or ticket into requirements
  • User runs /create-prd

References

  • references/project-knowledge.md — how to load, and when to create, the shared project knowledge in .agents/knowledge/. Read first.
  • references/prd-template.md — the output template. Read before writing.

Related Skills (optional)

This skill is one step of a planning flow: design-data-model → create-prd → plan-phases → plan-tickets. The other skills help but are never required.

When you suggest another step, check whether that skill is available (in your skills list, or in the project's or user's skills folder, e.g. .agents/skills/ or .claude/skills/). If it is, offer to run it. If not, say it's optional and give the install command: npx skills add MdTehseenKhan/planning-skills --skill <name>. Never install a skill without the user's OK, and never stop because one is missing.

Workflow

Copy and track:

- [ ] Load project knowledge
- [ ] Gather the inputs
- [ ] Skim the relevant code
- [ ] Draft the PRD
- [ ] Ask the questions that change requirements
- [ ] Save project knowledge, if missing
- [ ] Ask where to save
- [ ] Write prd.md and self-check
- [ ] Report

1. Load project knowledge

Follow references/project-knowledge.md. This skill needs the topics Save location, Product and roles, Tenancy and scope, Compliance, and Codebase map. Note which ones the knowledge files, AGENTS.md, and CLAUDE.md already answer; you'll fill only the rest.

2. Gather the inputs

Accept a description, brief, ticket, customer request, mockup, notes, or a link (an issue tracker, a wiki, a shared doc — read it with the matching connector tool). If the user gave nothing to work from, ask for a short description of the problem and who has it.

If a data-model.md exists for the feature (same folder, or the user points to one), read it. Section 6 of the PRD summarizes and links to it instead of restating it.

3. Skim the relevant code

Briefly look at the areas the feature touches (start from the Codebase map in project knowledge, then CLAUDE.md, AGENTS.md, or the README): the current screens, routes, services, and tables. This tells you what already exists, which existing patterns the UX should follow, and which integrations are involved — so you don't ask what the code answers.

Keep it brief — minutes, not a full audit.

4. Draft the PRD

Draft every section yourself before asking anything:

  • Write the problem from the user's side; the solution at a high level.
  • Pick the roles from the real roles in the product (from project knowledge, the code, permissions, or inputs), not generic ones like "User" or "Admin" when the product has more specific ones.
  • Turn the solution into numbered user stories and prioritized requirements (Must-Have / Should-Have / Nice-to-Have). Each requirement is one testable behavior.
  • Fill Non-Goals with what someone might reasonably expect but isn't included.
  • Fill technical considerations at the level of packages and integrations, not files or code.
  • List every gap: unclear scope, missing roles, unknown metrics, conflicting inputs.

5. Ask the questions that change requirements

First, if step 1 left project knowledge topics the code couldn't answer, ask that one short round as references/project-knowledge.md describes. Then ask only what changes the PRD's scope or requirements. Typical ones:

  • Users: who uses this, and who must not see it (roles, permissions)?
  • Scope: what's in the first release vs. later? What's explicitly out?
  • Behavior: the main flow and the edge cases where the answer isn't obvious
  • Success: how will we know it worked? Any target numbers?
  • Constraints: deadlines, customer or regulatory requirements, compliance needs

Rules:

  • Never ask what the inputs, code, or project knowledge already answer.
  • Batch questions; at most 4 per round and 2 rounds. Use AskUserQuestion when available, with your recommended option first.
  • With the first round, share a one-paragraph summary and the list of Must-Have requirements so the user can correct the shape early.
  • Anything still open after two rounds goes into section 9 as an assumption or a risk. Don't keep asking.
  • Don't invent metrics, dates, or owners. Leave them TBD unless the user gives them.

6. Save project knowledge, if missing

Skip this step when every topic from step 1 was already answered. Otherwise write only the unanswered topics to .agents/knowledge/project.md, as references/project-knowledge.md describes. Record project-wide context only, never anything specific to this feature.

7. Ask where to save

Always ask where to save the output. Suggest the save location from project knowledge when there is one. Otherwise suggest prd.md in the feature's existing folder (e.g. next to data-model.md) or the project's usual place for specs; otherwise offer docs/<feature-slug>/prd.md. Don't overwrite an existing file without confirming.

8. Write prd.md

Fill references/prd-template.md. Writing rules:

  • Replace the template title with # [Feature Name] — PRD. Remove template instructions and example rows (the NOTE callout, "Example:" bullets).
  • Keep every numbered section heading. If a section doesn't apply, write N/A — <reason>; if it's unknown, write TBD.
  • Plain, specific language. Name real screens, roles, and behaviors.
  • Requirements and user stories are numbered so plan.md and tickets can refer to them.
  • Data Model Changes: summarize in a few bullets and link to data-model.md when it exists.
  • No implementation code, file paths, or phase ordering.

Self-check before finishing:

  • Problem, solution, and objectives tell one consistent story
  • Every Must-Have requirement traces to a user story or objective
  • Non-Goals cover what a reader might wrongly assume is included
  • Roles and permissions are named, including who can't see or do it
  • No invented metrics, dates, or owners
  • Consistent with data-model.md, if one exists
  • Every section is filled, N/A, or TBD

9. Report

Give the saved path, the Must-Have requirements, and the open assumptions and TBDs. If you created or extended a knowledge file, name it and suggest committing it. Following Related Skills, suggest design-data-model if no data model exists yet and the feature stores new data, and plan-phases as the next step.

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

design-data-model

Design the data model for a new feature or refactor before the PRD is written. Reads the feature brief, studies the existing database schema (any ORM or SQL), proposes a scalable model consistent with the codebase (new tables, changes to existing tables, enums, JSON types, access control, migration), asks only the questions that change the schema, asks where to save, and writes a concise data-model.md with a hierarchy tree and ER diagram. Records the project's schema conventions in .agents/knowledge/data-model.md on first run when AGENTS.md / CLAUDE.md don't cover them. Use when the user asks to design a data model, database schema, or ER diagram for a feature, or runs /design-data-model.

plan-phases

Break a finished PRD into an implementation plan: phases of plain-English, actionable items that each become one ticket. Reads the PRD, skims the relevant code, asks only the questions needed to settle phase order and scope, asks where to save, and writes plan.md. Reads shared project knowledge from .agents/knowledge/ and fills gaps there when AGENTS.md / CLAUDE.md don't cover them. Use when the user asks to create an implementation plan, break a PRD into phases or tickets, plan a feature or refactor from a PRD, or runs /plan-phases.

plan-tickets

Turn a phase plan and its PRD into tracker-ready tickets: one parent ticket per phase and vertical-slice child tickets with label, size, risk, sizing rationale, a problem description, action items, acceptance criteria, agent guidance, dependencies, and a parallel build order. Reads plan.md, prd.md, and data-model.md, skims the relevant code, asks only the questions that change the tickets, asks where to save, and writes tickets.md. Reads shared project knowledge from .agents/knowledge/ and fills gaps there when AGENTS.md / CLAUDE.md don't cover them. Use when the user asks to create, plan, or break a plan into tickets or issues (Linear, Jira, GitHub Issues, etc.), or runs /plan-tickets.

Skills associés