component-composition
Use before building UI with local components, Storybook, shadcn, Radix, a private registry, or another component library; verifies available components…
by SeemSeam★ 18 GitHub stars
Install component-composition in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Component Composition
Use this skill before introducing new UI primitives or composing a page from an existing component system.
Workflow
- Inspect project-local components, Storybook stories, docs, exports, and examples.
- Identify the smallest set of components needed for the surface and states.
- Verify props, variants, accessibility behavior, and styling conventions from source or docs.
- Use shadcn or registry components only when the project stack and ownership model support them.
- Use Radix-like primitives as behavior references when local components need accessible interaction patterns.
- Avoid broad new UI-library recommendations when the target project already has a component system.
Output
Return:
- component inventory used
- composition plan
- missing component or state gaps
- prop/API assumptions verified from source
- implementation notes
Do not invent props or import paths from component names.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the component-composition skill do?
Use before building UI with local components, Storybook, shadcn, Radix, a private registry, or another component library; verifies available components, props, states, and composition choices.
How do I install the component-composition skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the component-composition skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…