Spec

From owainlewis/blueprint · View interactive version

Spec is an AI agent skill from the GitHub repository owainlewis/blueprint. Writes a feature spec: the feature's requirements (problem, goals, user journeys) plus the technical design and proof an agent builds from. Interviews the user on open choices before writing. The spec is the ticket.

How to use this skill

Skill file

Spec

Fill in the spec template for one feature. The top half defines the feature's requirements (what to build and for whom). The bottom half defines how to build and prove it. The spec is the ticket.

Process

  1. Read the request and the existing code it touches. Read ARCHITECTURE.md and REQUIREMENTS.md if the repository has them, but do not require them.
  2. Answer what you can from the codebase first. Never ask the user a question the code already answers.
  3. Interview the user on unresolved decisions that change behavior, data, interfaces, or security. Ask one or two related questions at a time, each with your recommended answer, and resolve one branch before moving to the next. Skip re-asking decisions already settled in the conversation.
  4. Copy the template into the ticket, or into docs/<feature-slug>/spec.md if there is none. Fill every section, replace every bracketed placeholder, and delete the guidance comments. Write "None" where a section has nothing.
  5. If ARCHITECTURE.md or REQUIREMENTS.md exists, check the spec against them and ask the user to settle any disagreement.
  6. Stop when another agent could build the feature without guessing a decision.

Template

Use references/spec.md.

Rules

Return

Report the spec location, the main decision and its tradeoff, and any blocking question.

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.