Create New Component — Design skill for Claude Code
Build new UI components for @policyengine/ui-kit — with design token validation, tests, visual preview, and PR creation.
How to install Create New Component
Installs to ~/.claude/skills/policyengine-policyengine-claude-create-new-component/SKILL.md
mkdir -p ~/.claude/skills/policyengine-policyengine-claude-create-new-component && curl -fsSL https://raw.githubusercontent.com/PolicyEngine/policyengine-claude/HEAD/commands/create-new-component.md -o ~/.claude/skills/policyengine-policyengine-claude-create-new-component/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Create New Component does
Build new UI components for @policyengine/ui-kit — with design token validation, tests, visual preview, and PR creation.
Alternatives in Design
- Brainstorm Experiments New — Design lean pretotypes for new product validation 7.8k ★
- Studio — Launch the local design Studio — a live token editor over the latest extraction 3.6k ★
- Visual Content Pack — Visual content creation skills 1.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Qb
Behavior validation - verify tests pass and outputs match design.
Token
Design token creation and updates. Use when adding, modifying, or checking Dialtone design tokens (--dt- CSS v
Utility
CSS utility class creation and updates. Use when adding, modifying, or checking Dialtone CSS utilities (d- cla
Add CMS UI
Create content management UI for editing static JSON content files. Build content editor forms with validation
Lwc In Chat
Turn a Figma design into a Lightning Web Component that renders inside an Agentforce chat bubble. Guided walkt
Design Handoff
Generate a developer handoff document from a Figma file — spacing specs, token maps, component APIs, and produ
Related Agents
Token Auditor
Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d
Design System Curator
Curates design tokens (color/type/space/radius/motion), component specs (props/states/a11y/content slots), and
Canvas To Code Mapper
The keystone agent. Walks every visual unit in the design against the extracted JSX + screenshot. Produces the