Cy create techspec

From compozy/skeeper · View interactive version

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

How to use this skill

Skill file

Create TechSpec

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>

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 Is Too Simple To Need Technical Design Review"

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.

Anti-Pattern: End-Of-Flow Bureaucracy

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.

Required Inputs

Checklist

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

  1. Gather context — read PRD, ADRs, and explore codebase architecture
  2. Ask technical questions — 3-6 targeted questions on architecture, data models, APIs, testing
  3. Create ADRs — record significant technical decisions (architecture pattern, technology choices, data model approach)
  4. Draft the TechSpec — write using the canonical template from references/techspec-template.md
  5. Review with user — present the draft, iterate until approved
  6. Save the file — write to .compozy/tasks/<name>/_techspec.md

Workflow

  1. Gather context.
  1. Ask technical clarification questions.
  1. Create ADRs for significant technical decisions.
  1. Draft the TechSpec.
  1. Review with the user.
  1. Save the TechSpec file.

Process Flow

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

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.