Components Build logo

Components Build

Organization
Asymmetric-al
components-build

Build modern, composable, and accessible React UI components following the components.build specification. Use when creating, reviewing, or refactoring component libraries, design systems, or any reusable UI components. Triggers on tasks involving component APIs, composition patterns, accessibility, styling systems, or TypeScript props.

Overview

PublisherAsymmetric-al
Repositorycore
Skill namecomponents-build
Stars
383
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Asymmetric-al on GitHub. Read the source before you install it.

Installation

Install the Components Build AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Asymmetric-al/core.git /tmp/core
mkdir -p .claude/skills
cp -r /tmp/core/docs/ai/skills/components-build .claude/skills/components-build
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Components Build in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Components Build on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Components Build is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Components.build Specification

Comprehensive guidelines for building modern, composable, and accessible UI components. Contains 16 rule categories covering everything from core principles to distribution, co-authored by Hayden Bleasel and shadcn.

This repository (Asymmetric-al/core)

These repo-owned sections are intentionally kept on top of the vendored components.build skill. If upstream refreshes replace this file, reconcile this overlay before running bun run skills:sync.

Base UI only: shared primitives come from @base-ui/react via the shadcn base-maia style in packages/ui. Where the vendored spec references Radix or asChild, use Base UI's render prop instead and never add radix-ui/@radix-ui/*. See docs/ai/rules/frontend.md.

Triggers

  • Creating, reviewing, or refactoring reusable React components, component APIs, slots, or composition patterns.
  • Design-system work in packages/ui/, shadcn-compatible primitives, or shared app UI surfaces.
  • Accessibility, controlled/uncontrolled state, polymorphism, or TypeScript prop contract decisions for components.

Workflow

  1. Read docs/ai/rules/frontend.md and any nested AGENTS.md for the target package/app.
  2. Search existing shared components before adding a new primitive or abstraction.
  3. Prefer repo patterns and shadcn-compatible composition over bespoke APIs.
  4. Keep behavior and accessibility test coverage proportional to the component's reuse surface.
  5. Run focused type/lint/unit checks for touched component packages.

Checklist

  • Existing components and exports were checked before adding new API surface.
  • Composition, keyboard, ARIA, focus, and disabled/loading states were considered.
  • Props/types follow the local package's public export pattern.
  • Styling uses repo tokens/utilities and avoids layout-shifting dynamic content.
  • Verification covered the touched component behavior or contract.

When to Apply

Reference these guidelines when:

  • Creating new React components or component libraries
  • Designing component APIs and prop interfaces
  • Implementing accessibility features (keyboard, ARIA, focus management)
  • Building composable component architectures
  • Styling components with Tailwind CSS and CVA
  • Publishing components to registries or npm

Rule Categories by Priority

PriorityCategoryFocusPrefix
1OverviewSpecification scope and goalsoverview
2PrinciplesCore design philosophyprinciples
3DefinitionsCommon terminologydefinitions
4CompositionBreaking down complex componentscomposition
5AccessibilityKeyboard, screen readers, ARIAaccessibility
6StateControlled/uncontrolled patternsstate
7TypesTypeScript props and interfacestypes
8PolymorphismElement switching with as proppolymorphism
9As-ChildSlot composition (this repo: Base UI render)as-child
10Data Attributesdata-state and data-slotdata-attributes
11StylingTailwind CSS, cn utility, CVAstyling
12Design TokensCSS variables and themingdesign-tokens
13DocumentationComponent documentationdocumentation
14RegistryComponent registriesregistry
15NPMPublishing to npmnpm
16MarketplacesComponent marketplacesmarketplaces

Quick Reference

1. Overview

  • overview - Specification scope, goals, and philosophy

2. Principles

  • principles - Composability, accessibility, customization, transparency

3. Definitions

  • definitions - Common terminology (primitive, compound, headless, etc.)

4. Composition

  • composition-root - Root component with Context for shared state
  • composition-item - Item wrapper components
  • composition-trigger - Interactive trigger components
  • composition-content - Content display components
  • composition-export - Namespace export pattern

5. Accessibility

  • accessibility-semantic-html - Use appropriate HTML elements
  • accessibility-keyboard - Full keyboard navigation support
  • accessibility-aria - Proper ARIA roles, states, and properties
  • accessibility-focus - Focus management and restoration
  • accessibility-live-regions - Screen reader announcements
  • accessibility-contrast - Color contrast requirements

6. State

  • state-uncontrolled - Internal state management
  • state-controlled - External state delegation
  • state-controllable - Support both patterns with useControllableState

7. Types

  • types-extend-html - Extend native HTML attributes
  • types-export - Export prop types for consumers
  • types-single-element - One component wraps one element

8. Polymorphism

  • polymorphism-as-prop - Change rendered element type
  • polymorphism-typescript - Type-safe polymorphic components
  • polymorphism-defaults - Semantic element defaults

9. As-Child

  • as-child-slot - Slot-style prop merging (in this repo use Base UI's render prop)
  • as-child-composition - Compose with child components

10. Data Attributes

  • data-attributes-state - Use data-state for styling states
  • data-attributes-slot - Use data-slot for targeting sub-components

11. Styling

  • styling-cn-utility - Use the shared cn() utility backed by cnfast
  • styling-order - Base -> Variants -> Conditionals -> User overrides
  • styling-cva - Class Variance Authority for variants
  • styling-css-variables - Dynamic values with CSS variables

12. Design Tokens

  • design-tokens-css-variables - Define tokens as CSS variables
  • design-tokens-theming - Support light/dark modes and themes

13. Documentation

  • documentation-props - Document all props with JSDoc
  • documentation-examples - Provide usage examples

14. Registry

  • registry-structure - Registry file structure
  • registry-schema - Component metadata schema

15. NPM

  • npm-package-json - Package configuration
  • npm-exports - Module exports

16. Marketplaces

  • marketplaces-distribution - Component distribution strategies

How to Use

Read individual rule files for detailed explanations and code examples:

rules/composition/SKILL.md
rules/accessibility/SKILL.md
rules/styling/SKILL.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Best practices and common pitfalls

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Key Principles

  1. Composition over Configuration - Break components into composable sub-components
  2. Accessibility by Default - Not an afterthought, but a requirement
  3. Single Element Wrapping - Each component wraps one HTML element
  4. Extend HTML Attributes - Always extend native element props
  5. Export Types - Make prop types available to consumers
  6. Support Both State Patterns - Controlled and uncontrolled
  7. Intelligent Class Merging - Use cn() utility backed by cnfast

Authors

Co-authored by:

Adapted as an AI skill by:

Based on the components.build specification.

Frequently asked questions

What does the Components Build AI skill do?

Build modern, composable, and accessible React UI components following the components.build specification. Use when creating, reviewing, or refactoring component libraries, design systems, or any reusable UI components. Triggers on tasks involving component APIs, composition patterns, accessibility, styling systems, or TypeScript props.

Why use Components Build on TypingMind?

Because you install it once and use it with any model. Components Build is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Components Build in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Asymmetric-al/core/tree/develop/docs/ai/skills/components-build. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Components Build?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Components Build?

As many as you like. As long as a model supports skills, you can use Components Build with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Components Build AI skill free?

Yes. It is published on GitHub by Asymmetric-al under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇