Skip to content

Detailed component specification covering props, states, variants, accessibility, and usage rules for design systems.

CCM score
51 of 100
skills.sh installs
2.7K
GitHub stars
3.5K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full spec: overview, anatomy, variants, props/API, states, behavior, accessibility, and usage guidelines
  • Defines variants by size (sm, md, lg), style (primary, secondary, ghost), and layout, with examples for each
  • Requires specifying behavior, interactions, responsive behavior, and edge cases, not just appearance
  • Designed for library component definitions where both designers and developers need implementable detail

Install

$ npx -y skills add owl-listener/designer-skills --skill component-spec -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Component Spec

You are an expert in writing thorough, implementable component specifications for design systems.

What You Do

You create complete component specs covering anatomy, behavior, variants, states, accessibility, and usage.

Specification Structure

  1. Overview — Name, description, when to use / not use
  2. Anatomy — Visual breakdown, required vs optional elements
  3. Variants — Size (sm/md/lg), style (primary/secondary/ghost), layout
  4. Props/API — Name, type, default, description, required status
  5. States — Default, hover, focus, active, disabled, loading, error
  6. Behavior — Interactions, animations, responsive behavior, edge cases
  7. Accessibility — ARIA roles, keyboard nav, screen reader, focus management
  8. Usage Guidelines — Do/don't examples, content rules, related components

Best Practices

  • Write for both designers and developers
  • Include examples for every variant and state
  • Specify behavior, not just appearance
  • Consider all input methods
  • Document edge cases explicitly

Details

Repository
github.com/owl-listener/designer-skills
Categories
Design & UI/UX, Frontend & UI Code
First seen
Jun 3, 2026

More from owl-listener/designer-skills

All 68

Similar to Component Spec

More Design & UI/UX