
Component design
Guides an agent to create or restructure UI components with sound API and accessibility
Component design is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 13
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Component design
This skill directs the agent through building a new UI component or reshaping an existing one, such as splitting a large component or making one reusable. It has the agent first read the project's design-system references, look for existing primitives and similar components, and then classify the component as a primitive, compound component, feature component or page sub-component so it lands in the right directory with the right export style.
The guidance covers prop interface design (required props first, string unions over boolean overloads, consistent event handler naming), a compound component pattern with shared context, and an accessibility checklist covering keyboard access, labels for icon-only buttons, form label association and visible focus. It ends by registering primitives in the barrel export and running the project's linter, type checker and build.
The skill is written for React/TypeScript examples but states the principles apply to other component frameworks such as Vue, Svelte and Angular. It expects a project with a component directory and, ideally, the referenced design-system documents or overlay rules.
When your agent uses it
Create or restructure a UI component — architecture, component patterns, accessibility, design-system rules. Use when adding a new component, splitting a large one, or making one reusable. App-level work belongs to frontend-ui-engineering.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (7 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the claude-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kitOr copy only this skill to ~/.claude/skills/component-design:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/component-design &&
cp -R "$tmp/providers/codex/claude-kit/skills/component-design" ~/.claude/skills/component-design &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/component-design inside it instead.
Copy the skill folder to ~/.agents/skills/component-design to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/component-design &&
cp -R "$tmp/providers/codex/claude-kit/skills/component-design" ~/.agents/skills/component-design &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/component-design inside it instead.
Copy the skill folder to ~/.cursor/skills/component-design to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/component-design &&
cp -R "$tmp/providers/codex/claude-kit/skills/component-design" ~/.cursor/skills/component-design &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/component-design inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ajyadav013/claude-kit.git --path providers/codex/claude-kit/skills/component-designOr copy the folder to ~/.gemini/skills/component-design yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/component-design:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/component-design &&
cp -R "$tmp/providers/codex/claude-kit/skills/component-design" ~/.copilot/skills/component-design &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/component-design inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ajyadav013/claude-kit.gitThen copy claude-kit/providers/codex/claude-kit/skills/component-design into your agent's skills folder as component-design. Agents that support SKILL.md read one folder per skill.
What it does
- Component type classification
- Maps each new component to a primitive, compound, feature or page sub-component placement and export style.
- Props interface guidance
- Covers prop ordering, style extension, event naming and variant typing for component APIs.
- Compound component pattern
- Describes sharing context between a parent wrapper and its sub-components.
- Accessibility requirements
- Lists keyboard access, accessible labels, form label association and focus indicator checks.
- Design system alignment
- Has the agent read existing design-system references and reuse project UI primitives.
- Lint and build verification
- Ends with running the project's linter, type checker and build to confirm the change.
Good for
- Create a new reusable card component for a dashboard
- Split a large form component into smaller pieces
- Build an accessible confirm dialog using the project's UI library
- Turn a one-off widget into a shared design-system primitive
Component design FAQ
When should Component design trigger?
When adding a new component, splitting a large one, or making one reusable. App-level work is handled by the frontend-ui-engineering skill instead.
Does Component design include scripts?
No, the skill contains only instructions and examples, with no scripts.
Which frameworks does Component design cover?
The examples use React and TypeScript, and the guidance says the principles apply to Vue, Svelte, Angular and other component frameworks.
What does Component design expect from the project?
A component directory with existing primitives, and ideally the ui-design-system references or a docs/references/ui folder, plus a linter, type checker and build.
How do I install Component design in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/component-design to use it in all your projects, or to .claude/skills/component-design in one project. Or install the claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.
Does Component design run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Component design?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Component design?
The closest alternatives to Component design are UI component builder, Build component, Frontend UI engineering, Frontend UI engineering and Design.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ajyadav013/claude-kit

Guides an agent through pytest, async fixtures and security-regression tests for FastAPI
- Open source
- 13 GitHub stars
- Developer tools

Lets your agent inspect and debug live browser pages via Chrome DevTools MCP
- Open source
- 13 GitHub stars
- Browser automation

Runs concurrent load and stress tests against API endpoints to find latency and throughput
- Open source
- 13 GitHub stars
- Developer tools

Lets an agent click through a feature in a real browser and check how it behaves
- Open source
- 13 GitHub stars
- Developer tools

Runs quick health checks on backend, frontend and login to catch obvious breakage
- Open source
- 13 GitHub stars
- Developer tools

Guides an agent through red-green-refactor, bug reproduction tests and test pyramid
- Open source
- 13 GitHub stars
- Developer tools




