Skip to content
cccskills
FreePublished on GitHub

spec-writing

Templates and validation for writing product specifications.

The English summary is being prepared. Showing the original description.

See how to install

Files included (7)

  • SKILL.md2.2 KB
  • resources/epic-spec-template.md1.9 KB
  • resources/feature-spec-template.md4.4 KB
  • resources/frontmatter-validation.md3.3 KB
  • resources/other-templates.md2.0 KB
  • schemas/input.schema.json1.1 KB
  • schemas/output.schema.json1.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Spec Writing Skill

Templates

Use templates below as starting points.

Input

Schema: schemas/input.schema.json

Accepts spec type, change type, title, domain, and optional issue reference.

Output

Schema: schemas/output.schema.json

Returns complete SPEC.md markdown and validation results for required fields, sections, and format.

Spec Types: Product vs Tech

Product Specs (external input):

  • Focus on WHAT and WHY
  • Typically authored by product managers or stakeholders
  • Archived as-is when imported via external spec workflow
  • spec_type: product

Tech Specs (generated SPEC.md files):

  • Focus on HOW
  • Generated from product specs + solicitation
  • Full implementation details
  • spec_type: tech

Spec Lifecycle

Git is the state machine:

  • In PR = draft (implicit, no status field needed)
  • Merged to main = active
  • Explicit statuses only for: active, deprecated, superseded, archived

Spec Locations

TypeLocation
Change specschanges/YYYY/MM/DD/<change-name>/SPEC.md
Implementation planschanges/YYYY/MM/DD/<change-name>/PLAN.md
Domain definitionsspecs/domain/definitions/<definition-name>.md
API contractsspecs/architecture/api-contracts.md

Date-based organization:

  • Changes are organized by creation date (YYYY/MM/DD)
  • This provides chronological traceability
  • Plans live alongside their specs in the same directory

Acceptance Criteria Format

Always use Given/When/Then:

- [ ] **AC1:** Given [precondition], when [action], then [expected result]

Resource Files

For detailed guidance, read these on-demand:

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

Scaffolds Node.js/TypeScript backend components with CMDO architecture, driven by component settings.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

CMDO architecture standards for Node.js/TypeScript backends with strict layer separation.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

Intent-to-command mappings for fullstack-typescript tech pack features.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

Create change specification and implementation plan with dynamic phase generation. Supports feature, bugfix, refactor, and epic types.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

Orchestrates the full change lifecycle — routes actions to phase-specific sub-files.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

See all skills by LiorCohen

Report a problem with this skill