Cy create prd

From compozy/skeeper · View interactive version

Cy create prd is an AI agent skill from the GitHub repository compozy/skeeper. 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.

How to use this skill

Skill file

Create PRD

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>

Asking Questions

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.

Anti-Pattern: "This Feature Is Too Simple For Full Brainstorming"

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.

Anti-Pattern: End-Of-Flow Bureaucracy

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.

Anti-Pattern: Technical Drift On Technical-Sounding Features

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.

Required Inputs

Checklist

You MUST create a task for each phase and complete them in order:

  1. Determine project & directory — derive slug, create .compozy/tasks/<slug>/ and adrs/
  2. Discover context — parallel codebase exploration and web research
  3. Understand the need — ask 3-6 targeted questions to refine scope and intent
  4. Present product approaches — offer 2-3 approaches with trade-offs, create ADR for the chosen one
  5. Draft the PRD — write using the canonical template from references/prd-template.md
  6. Review with user — present the draft, iterate until approved
  7. Save the file — write to .compozy/tasks/<slug>/_prd.md

Workflow

  1. Determine the project name and working directory.
  1. 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.

  1. Ask clarifying questions following references/question-protocol.md.

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.

  1. Present product approaches.
  1. Draft the PRD.
  1. Review with the user.
  1. Save the PRD file.

Process Flow

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"];
}

Error Handling

Key Principles

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.