skills/cy-create-prd/SKILL.md
Creates a Product Requirements Document through interactive brainstorming with parallel codebase and web research. Use when starting a new feature or product, building a PRD, or brainstorming requirements. 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 through structured brainstorming.
<HARD-GATE> Do NOT write the PRD file until ALL phases are complete and the user has approved the final draft. Do NOT skip the research phase — every PRD MUST be enriched with codebase and market context. Do NOT skip user interactions — the user MUST participate in shaping the PRD at every decision point. Do NOT require section-by-section approval — generate the complete draft, then let the user review it. This applies to EVERY PRD regardless of perceived simplicity. </HARD-GATE>When this skill instructs you to ask the user a question, you MUST use your runtime's dedicated interactive question tool — the tool or function that presents a question to the user and pauses execution until the user responds. Do not output questions as plain assistant text and continue generating; always use the mechanism that blocks until the user has answered.
If your runtime does not provide such a tool, present the question as your complete message and stop generating. Do not answer your own question or proceed without user input.
Every PRD goes through the full brainstorming process. A single button, a minor workflow tweak, a configuration option — all of them. "Simple" features are where unexamined business assumptions cause the most rework. The brainstorming can be brief for genuinely simple features, but you MUST ask clarifying questions and get approval on the product approach before writing the artifact.
Once the user has answered the clarifying questions and approved an approach, do not force them through a second approval loop for Overview, Goals, User Stories, or any other final document section. Synthesize the approved direction into the PRD directly. The user can review and request edits in the generated file afterward.
When the feature name sounds technical (e.g., "webhook notifications", "CSV export", "dark mode", "API rate limiting"), you will be tempted to discuss HOW to implement it. Resist this. Your job is the WHAT and WHY:
Translate every technical-sounding feature into the user experience question behind it.
_idea.md file as primary input for context._prd.md file for update mode.You MUST create a task for each phase and complete them in order:
.compozy/tasks/<slug>/ and adrs/references/prd-template.md.compozy/tasks/<slug>/_prd.mdDetermine the project name and working directory.
.compozy/tasks/<slug>/ as the target directory._idea.md exists in the target directory, read it as primary context input._prd.md already exists in the target directory, read it and operate in update mode..compozy/tasks/<slug>/adrs/ directory if it does not exist.Discover context through parallel research. You MUST perform BOTH tracks before asking any questions.
Track A — Codebase exploration (REQUIRED):
Track B — Market and user research (REQUIRED):
Run both tracks in parallel (e.g., two Agent tool calls, two search batches, etc.). Present a brief merged summary of findings from BOTH tracks to the user before moving to questions. If web search tools are unavailable, note the limitation explicitly and proceed with codebase findings only.
Ask clarifying questions following references/question-protocol.md.
Focus exclusively on WHAT features users need, WHY it provides business value, and WHO the target users are.
Ask about success criteria and constraints.
Never ask technical implementation questions about databases, APIs, frameworks, or architecture.
ONE question per message — strictly enforced. Your message must contain exactly one question mark. After asking the question, STOP. Do not add follow-up questions, "also" questions, or "additionally" prompts. If a topic needs more exploration, ask a follow-up in the NEXT message after the user responds.
Anti-pattern (FORBIDDEN): "What is the primary user persona? Also, what are the key success metrics?" This is TWO questions. Split them into two separate messages.
Every question MUST be multiple-choice when reasonable options can be predetermined. Format as labeled options (A, B, C, etc.) so the user can respond with a single letter. Only use open-ended questions when the answer space is genuinely unbounded (e.g., "What problem are you trying to solve?").
Include a fallback option (e.g., "D) Other — describe") for flexibility.
For complex features with many dimensions, decompose into sub-topics and ask about one dimension at a time. Each sub-topic usually has predeterminable options. Example: instead of the open-ended "What should the collaboration feature include?", ask "Which aspect of team collaboration is most important to start with? A) Shared workspaces B) Real-time presence C) Permission controls D) Activity feeds".
Complete at least one full clarification round before presenting approaches.
Present product approaches.
references/adr-template.md..compozy/tasks/<slug>/adrs/..compozy/tasks/<slug>/adrs/adr-NNN.md (zero-padded 3-digit number, e.g., adr-001.md).Draft the PRD.
references/prd-template.md and fill every section with gathered context.adrs/ directory.Review with the user.
Save the PRD file.
.compozy/tasks/<slug>/_prd.md.cy-create-techspec from this PRD.digraph create_prd {
"Determine project & directory" [shape=box];
"Discover context (codebase + web)" [shape=box];
"Ask clarifying questions (one at a time)" [shape=box];
"Present 2-3 product approaches" [shape=box];
"User selects approach?" [shape=diamond];
"Create ADR for approach decision" [shape=box];
"Draft PRD (canonical template)" [shape=box];
"User approves draft?" [shape=diamond];
"Save _prd.md" [shape=doublecircle];
"Determine project & directory" -> "Discover context (codebase + web)";
"Discover context (codebase + web)" -> "Ask clarifying questions (one at a time)";
"Ask clarifying questions (one at a time)" -> "Present 2-3 product approaches";
"Present 2-3 product approaches" -> "User selects approach?";
"User selects approach?" -> "Present 2-3 product approaches" [label="no, revise"];
"User selects approach?" -> "Create ADR for approach decision" [label="yes"];
"Create ADR for approach decision" -> "Draft PRD (canonical template)";
"Draft PRD (canonical template)" -> "User approves draft?";
"User approves draft?" -> "Draft PRD (canonical template)" [label="no, revise"];
"User approves draft?" -> "Save _prd.md" [label="approved"];
}
_idea.md exists, use it as primary context to accelerate brainstormingcy-create-techspec; focus on WHAT and WHY, not HOWtools
Explains Compozy capabilities, CLI commands, core workflow skills, optional extension skills, configuration, artifact structure, reusable agents, and extensions. Use when the user asks how to use Compozy, what commands are available, how the workflow pipeline works, or how to configure a workspace. Do not use for executing workflow steps — use the specific cy- skills instead.
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.
testing
Executes provider-agnostic PR review remediation using existing review round files under .compozy/tasks/<name>/reviews-NNN/. Use when resolving batched review issues, updating issue markdown files, implementing fixes, and verifying the result. Do not use for PRD task execution, review export/fetch, or generic coding tasks without review issue files.
data-ai
Maintains workflow-scoped task memory for Compozy runs using .compozy/tasks/<name>/memory/ files. Use when a task prompt provides workflow memory paths and requires the agent to read, update, compact, and promote durable context across PRD task executions. Do not use for PR review remediation, global user preferences, or programmatic event-log summarization.