Skill
Component Development
Build UI components in isolation following CDD best practices. Creates components with stories, variants, interaction tests, and documentation.
// ui-design;Behaviour
What it does
- Audits existing components before creating new ones
- Follows design system tokens and component standards
- Decides whether to extend existing or create new component
- Builds components with TypeScript and proper prop types
- Creates Storybook stories showing all variants and states
- Tests backward compatibility when extending components
- Documents decision rationale in component files
When to use
Good fits
When UI elements are needed during executing-plans
When manually building reusable components
Before integrating UI elements into pages
When extending existing components with new variants
Development harness
Element loop
Part of the design-to-ship pipeline: brainstorming → technical-documentation → conformance-check → reconciling-changes → planning → project-setup → executing-plans → shipping. Install the full set for structured feature work.
Used inside executing-plans as the inner red-green-refactor loop for each task.
Install
Get this skill
Uses Agent Kit via npx; no global install required.
Quick install
npx @levi-putna/agent-kit@latest add levi-putna/skills --skill component-developmentGlobal (Cursor)
npx @levi-putna/agent-kit@latest add levi-putna/skills --skill component-development --global --agent cursorGlobal (Claude)
npx @levi-putna/agent-kit@latest add levi-putna/skills --skill component-development --global --agent claudeProject install
npx @levi-putna/agent-kit@latest add levi-putna/skills --skill component-development --projectInteractive install
npx @levi-putna/agent-kit@latest add levi-putna/skillsUninstall
npx @levi-putna/agent-kit@latest remove component-developmentExample
Example prompt
Create a UserCard component with avatar, name, role, and expand/collapse.
Flow
How the skill works
- Audit existing components for similar functionality
- Check design system for component standards
- Decide: extend existing or create new
- Design component API with props and variants
- Build component following design tokens
- Create stories for all states
- Document decision and hand off to component-testing