build-component

Generate React TypeScript components with cva variants, tests, and Storybook stories.

3|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/GDSDN/kord-aios --skill build-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-component
Source: https://github.com/GDSDN/kord-aios/tree/main/src/features/builtin-skills/kord-aios/dev-workflow/build-component
Command: npx skills add https://github.com/GDSDN/kord-aios --skill build-component

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of complex, production-ready UI components, eliminating boilerplate code and ensuring consistency with design tokens and accessibility standards.

Core Features & Use Cases

  • Component Generation: Creates React TypeScript components with variants, states, and theming.
  • Automated Testing & Docs: Generates unit tests, Storybook stories, and Markdown documentation.
  • Use Case: A developer needs a new Card component for their React application. They can use this Skill to generate the Card.tsx file, along with its tests, stories, and documentation, all adhering to the project's design system and accessibility guidelines.

Quick Start

Use the build-component skill to generate a new button component.

Frequently Asked Questions about build-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate React TypeScript components with Storybook stories and tests?

Generate React TypeScript components with Storybook stories and tests by using automated component generation that outputs Shadcn-style files, cva variants, unit tests, and Markdown documentation adhering to strict accessibility standards.

How do I create Shadcn-style UI components with cva variants?

Create Shadcn-style UI components with cva variants by utilizing component generation tools that enforce token-based styling, optional Radix composition, and loading states to ensure production-ready React TypeScript output.

Does automated React component generation support accessibility and design tokens?

Automated React component generation supports accessibility and design tokens by enforcing token-based styling and loading/accessibility states, ensuring the generated TypeScript components meet strict accessibility guidelines.

Can I use Radix composition when generating production-ready UI components?

You can use Radix composition when generating production-ready UI components, as the generation process supports optional Radix composition alongside cva variants and token-based styling for React TypeScript projects.

What is the best way to automate Storybook story creation for React components?

The best way to automate Storybook story creation for React components is using component generation tools that output stories, unit tests, and documentation simultaneously while adhering to TypeScript and linting standards.

Why does my React UI component generation need strict TypeScript and linting standards?

React UI component generation needs strict TypeScript and linting standards to ensure production-ready components with consistent design tokens, proper accessibility states, and maintainable Shadcn-style patterns across your design system.