skills/cy-create-prd/SKILL.md
Creates a Product Requirements Document plus its companion user-story catalog (_user_stories.md) through interactive brainstorming with parallel codebase and web research. Use when starting a new feature or product, building a PRD, brainstorming requirements, or cataloging user stories and edge cases. Do not use for technical specifications, task breakdowns, or code implementation.
npx skillsauth add compozy/compozy cy-create-prdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a business-focused Product Requirements Document and its companion user-story catalog through structured brainstorming.
Both documents are written for the LLM agents that consume them downstream (cy-create-techspec, cy-create-tasks, review rounds). Their job is to supply business rules, domain behavior, and product intent. KPIs, success metrics, timelines, and rollout phases have no consumer in this pipeline — leave them out.
Capture the complete scope the user wants in this single PRD, however large it grows. Agents run long and cy-create-tasks decomposes the work later, so document size is never a reason to trim, defer, or stage anything.
Ask every question through the runtime's dedicated interactive question tool — the mechanism that presents a question and pauses execution until the user responds. If the runtime has no such tool, present the question as the complete message and stop generating; never answer a question on the user's behalf.
The PRD owns WHAT users need, WHY it provides value, and WHO the users are; HOW belongs to the TechSpec. When the feature name sounds technical ("webhook notifications", "CSV export", "API rate limiting"), translate it into the user-experience question behind it:
_idea.md file as primary input for context._prd.md file for update mode.Track each step as a task in the runtime's task tracker when one is available, and complete the steps in order.
Determine the project and working directory.
.compozy/tasks/<slug>/.adrs/ subdirectory if missing._idea.md exists there, read it as primary context._prd.md exists, read it and operate in update mode.Discover context through two parallel research tracks. Both MUST finish before any question is asked; run them in parallel (e.g., two Agent tool calls).
Grill the requirements.
references/question-protocol.md and apply its Grilling Method through its phases, resolving the load-bearing product decisions branch by branch.Decide the product approach and record ADRs.
references/adr-template.md, determine the next number from the files in .compozy/tasks/<slug>/adrs/, fill the template (chosen direction as Decision, weighed alternatives with trade-offs as Alternatives Considered, outcomes as Consequences; Status "Accepted", Date today), and write adrs/adr-NNN.md (zero-padded 3-digit number).Write the user-story catalog.
references/user-stories-template.md and write .compozy/tasks/<slug>/_user_stories.md.Write the PRD.
references/prd-template.md and fill every section with the decided direction and confirmed answers; the template carries the per-section rules..compozy/tasks/<slug>/_prd.md.Hand off.
cy-create-techspec as the next step._user_stories.md so the catalog and the PRD stay in sync.development
Expands a raw idea into a structured, research-backed spec in .compozy/tasks/<slug>/_idea.md through interactive brainstorming, web research, business analysis, and multi-advisor debate. Use when the user has a feature idea and wants to explore and structure it before creating a PRD. Do not use for PRD creation, technical specifications, task breakdown, or code implementation.
testing
Reconciles a finished workflow's planned decisions (its Accepted ADRs) against the settled reality (git diff, review issues, and task status), then promotes the proven, cross-feature-durable ones into a durable project decision log at .compozy/DECISIONS.md plus .compozy/decisions/AD-NNN.md. Use when a workflow has finished its full pipeline (review round, reviews fix, and final verify) and you want to capture its durable decisions as the final step, or when re-running capture to refresh the log after further changes. Do not use for capturing decisions mid-implementation before review remediation, for PRD or TechSpec authoring, for PR review remediation, or for generic note-taking.
development
Performs a comprehensive code review of a PRD implementation and generates a review round directory with issue files compatible with cy-fix-reviews. Use when reviewing implemented PRD tasks, creating a manual review round without an external provider, or performing a quality audit of code changes. Do not use for fetching reviews from external providers, fixing existing review issues, executing PRD tasks, or editing source code.
development
Enforces fresh verification evidence before any completion, fix, or passing claim, and before commits or PR creation. Use when an agent is about to report success, hand off work, or commit code. Do not use for early planning, brainstorming, or tasks that have not yet reached a concrete verification step.