Component Spec
Write a detailed component specification including props, states, variants, accessibility requirements, and usage guidelines.
Install
/plugin marketplace add sethdford/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add sethdford/claude-skills --skill component-specgit clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/designer/design-systems/skills/component-spec ~/.claude/skills/component-specPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 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
- Skill name
component-spec- Repository
- sethdford/claude-skills
- Path
designer/design-systems/skills/component-spec/SKILL.md- License
- MIT
- Repo updated
- 11 March 2026
FAQ
What does the Component Spec skill do?
Write a detailed component specification including props, states, variants, accessibility requirements, and usage guidelines.
How do I install the Component Spec skill?
Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Component Spec popular?
It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.
Related skills
A B Test Design
48sethdford/claude-skills
Design rigorous A/B tests with hypotheses, variants, metrics, and sample size calculations.
A B Test Design Pm
48sethdford/claude-skills
Analytics and experimentation skill for product managers.
Abuse Case Design
48sethdford/claude-skills
Design abuse cases (negative use cases) showing how attackers misuse system features. Use when identifying attacks that exploit intended functionality or business logic flaws.
Design System Adoption
48sethdford/claude-skills
Create adoption strategies and materials to drive design system usage across teams.
Competitive Analysis
48sethdford/claude-skills
Conduct a structured competitive analysis comparing UX patterns, features, strengths, and gaps across rival products.
Design Token
48sethdford/claude-skills
Define and organize design tokens (color, spacing, typography, elevation) with naming conventions and usage guidance.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.