Agent skill · Frontend

component-design-systems

Building and maintaining scalable component libraries, design tokens, accessibility, and cross-team collaboration patterns

Cosmic Stack3,294★ · 2 repos on radarProfile →
claude-codeMIT
Install
npx skills add cosmicstack-labs/mercury-agent-skills --skill component-design-systems --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 1.0.0
Declared author: cosmicstack-labs
Path: categories/frontend/component-design-systems/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 364
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Component Design Systems Patterns for building scalable, accessible, and maintainable component libraries. ## Architecture ``` design-system/ ├── tokens/ # Design tokens │ ├── colors.json │ ├── typography.json │ └── spacing.json ├── primitives/ # Base components │ ├── Button/ │ ├── Input/ │ └── Text/ ├── patterns/ # Composed patterns │ ├── FormField/ │ ├── DataTable/ │ └── Modal/ └── docs/ # Documentation └── Storybook/ ``` ## Component API Design ```tsx // Compound component pattern <Select> <Select.Label>Country</Select.Label> <Select.Trigger> <Select.Value placeholder="Select a country" /> </Select.Trigger> <Select.Content> <Select.Item value="us">United States</Select.Item> <Select.Item value="uk">United Kingdom</Select.Item> </Select.Content> </Select> ``` --- ## Common Mistakes 1. **No design tokens**: Hardcoded values everywhere. Use tokens for colors, spacing, typography. 2. **Missing accessibility**: Always include ARIA labels, keyboard nav, focus management. 3. **Too opinionated**: Components should work out-of-box but be customizable via props/composition. 4. **No versioning strategy**: Use semver. Document breaking changes clearly. 5. **No visual regression tests**: U

What's inside
Steps it walks through
  1. Architecture
  2. Component API Design
  3. Common Mistakes
More from mercury-agent-skills
All skills →
About this skill
What does the component-design-systems skill do?

Building and maintaining scalable component libraries, design tokens, accessibility, and cross-team collaboration patterns

How do I install it?

Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill component-design-systems --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going