skills/cy-create-techspec/SKILL.md
Creates a Technical Specification by translating PRD business requirements into implementation designs through interactive technical clarification. Use when a PRD exists and needs a technical plan, or when technical architecture decisions need documentation. Do not use for PRD creation, task breakdown, or direct code implementation.
npx skillsauth add compozy/compozy cy-create-techspecInstall 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.
Translate business requirements into a detailed technical specification.
<HARD-GATE> Do NOT write the TechSpec file until ALL phases are complete and the user has approved the final draft. Do NOT skip the codebase exploration — every TechSpec MUST be informed by existing architecture. Do NOT skip user interactions — the user MUST participate in shaping the TechSpec 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 TechSpec 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 TechSpec goes through the full design review process. A single endpoint, a minor refactor, a configuration change — all of them. "Simple" technical changes are where unexamined assumptions about existing architecture cause the most integration failures. The design review can be brief for genuinely simple changes, but you MUST ask technical clarification questions and get approval on the technical approach before writing the artifact.
Once the user has answered the technical clarification questions and approved an approach, do not force them through a second approval loop for System Architecture, Data Models, API Design, or other final document sections. Synthesize the approved direction into the TechSpec directly. The user can review and request edits in the generated file afterward.
.compozy/tasks/<name>/ directory._prd.md as primary input._techspec.md for update mode.You MUST create a task for each phase and complete them in order:
references/techspec-template.md.compozy/tasks/<name>/_techspec.mdGather context.
_prd.md in .compozy/tasks/<name>/. If it exists, read it as the primary input..compozy/tasks/<name>/adrs/ to understand decisions already made during PRD creation..compozy/tasks/<name>/adrs/ directory if it does not exist._techspec.md already exists, read it and operate in update mode.Ask technical clarification questions.
Create ADRs for significant technical decisions.
references/adr-template.md..compozy/tasks/<name>/adrs/..compozy/tasks/<name>/adrs/adr-NNN.md (zero-padded 3-digit sequential number).Draft the TechSpec.
references/techspec-template.md and fill every applicable section.adrs/ directory. Even simple features require at least one ADR documenting the primary technical approach chosen and alternatives rejected. If no ADRs were created in step 3, go back and create at least one before generating the document.Review with the user.
Save the TechSpec file.
.compozy/tasks/<name>/_techspec.md.cy-create-tasks from this TechSpec.digraph create_techspec {
"Gather context (PRD + codebase)" [shape=box];
"Ask technical questions (one at a time)" [shape=box];
"Create ADRs for key decisions" [shape=box];
"Draft TechSpec (canonical template)" [shape=box];
"User approves draft?" [shape=diamond];
"Save _techspec.md" [shape=doublecircle];
"Gather context (PRD + codebase)" -> "Ask technical questions (one at a time)";
"Ask technical questions (one at a time)" -> "Create ADRs for key decisions";
"Create ADRs for key decisions" -> "Draft TechSpec (canonical template)";
"Draft TechSpec (canonical template)" -> "User approves draft?";
"User approves draft?" -> "Draft TechSpec (canonical template)" [label="no, revise"];
"User approves draft?" -> "Save _techspec.md" [label="approved"];
}
_prd.md exists, use it as primary context; every PRD goal should map to a technical componentcy-create-tasks; focus on HOW, not WHAT or WHYtools
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.