One-click install
npx skills add https://github.com/aziontech/webkit --skill spec-create-aziontech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-create
Source: https://github.com/aziontech/webkit/tree/main/.claude/skills/spec-create
Command: npx skills add https://github.com/aziontech/webkit --skill spec-create-aziontech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the guesswork and back-and-forth needed to create a new component spec file, ensuring the initial draft is consistent with the repo’s templates and cross-references (like DESIGN and Figma) without writing any component code.

Core Features & Use Cases

  • Interactive spec drafting: Guides the user through defining purpose, props, events, slots, sub-components, storybook stories, and accessibility details in a strict order.
  • Category and token assistance: Infers category from the repo taxonomy and can optionally use Figma to pre-populate token information and run token mapping against DESIGN.md.
  • Validation-ready output: Writes a .specs/<name>.md with status: draft, ensuring mandatory sections exist for later approval by spec-validator.

Quick Start

Run /spec-create my-new-component --figma <figma-url> to generate a draft spec at .specs/my-new-component.md for review.

Frequently Asked Questions about spec-create

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a component spec draft from a Figma design?

To create a component spec draft from a Figma design, use the spec-create command with a Figma URL argument to interactively pre-populate token information and map design tokens against DESIGN.md.

What is the process for drafting component documentation for Storybook?

Drafting component documentation for Storybook involves interactively collecting component requirements like props, events, and slots, then writing a structured markdown spec file with mandatory sections for later validation.

Can I overwrite an approved component spec file?

You cannot overwrite an approved, implemented, or locked component spec file. The spec drafting process enforces kebab-case naming and prevents overwriting existing finalized specs to maintain repository stability.

What is the best way to document undefined component properties during spec creation?

The best way to document undefined component properties during spec creation is to use TBD placeholders, ensuring all mandatory spec sections are present so the draft remains structurally valid for later approval.

Does spec-create write component code or only documentation?

Spec-create writes only component documentation, specifically a .specs/<name>.md file with a draft status. It does not write component code, but instead focuses on requirements, accessibility details, and token mapping.

Why does component onboarding fail without a spec file?

Component onboarding fails without a spec file because cross-references and templates are missing. Generating an initial draft spec resolves this by aligning component requirements with the repository's taxonomy before code creation.