fe-ui-element-components

Define design-system component patterns with tokens, theming, and polymorphic APIs.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Conradmaker/copilot-cockpit --skill fe-ui-element-components
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fe-ui-element-components
Source: https://github.com/Conradmaker/copilot-cockpit/tree/main/.github/skills/fe-ui-element-components
Command: npx skills add https://github.com/Conradmaker/copilot-cockpit --skill fe-ui-element-components

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill defines and codifies design-system component patterns to enable reusable primitives, tokens, theming, and polymorphic APIs across multiple projects, reducing redundancy and ensuring consistency.

Core Features & Use Cases

  • Classification of design artifacts (primitive, component, block, template) to manage scope and API expectations.
  • Establishment of semantic tokens, theming contracts, data-state/data-slot conventions, and polymorphic API guidance to support scalable UI systems.
  • Guidance for distribution, documentation, and cross-project collaboration to accelerate adoption across teams and codebases.

Quick Start

Instantiate the design-system patterns by reviewing the 6 principles and applying token, API, and documentation guidelines to your repository.

Frequently Asked Questions about fe-ui-element-components

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

FAQPage Schema
How do I create reusable UI components with a design system and theming tokens?

To create reusable UI components, you codify design-system patterns by establishing shared primitives, semantic tokens, and theming contracts. This reduces redundancy and ensures consistency by enforcing API contracts and classification across multiple projects.

What are data-state and data-slot conventions for scalable UI systems?

Data-state and data-slot conventions are structural contracts used to manage component variations and internal element styling without relying on heavy CSS. They establish predictable data attributes to support scalable UI systems and maintainable theming across different codebases.

How do polymorphic APIs work in design-system component patterns?

Polymorphic APIs allow a component to render as different underlying elements or primitives while maintaining strict type safety. They enforce API contracts through prop patterns like `as` or `asChild` to ensure flexible yet predictable component composition.

Does this design-system skill support cross-project collaboration and distribution?

Yes, this design-system skill provides explicit guidance for distribution and documentation to accelerate cross-project collaboration. It helps teams deploy shared UI primitives, export prop types, and standardize adoption strategies across multiple codebases.

When do I need to classify design artifacts like primitives and blocks?

You need to classify design artifacts like primitives, components, blocks, and templates to manage scope and API expectations effectively. This classification guides the establishment of token contracts and polymorphic API rules for scalable UI systems.

What is the best way to enforce API contracts for shared UI components?

The best way to enforce API contracts for shared UI components is to codify design-system patterns that mandate prop type exports and polymorphic conventions. This ensures predictable component composition and standardizes documentation across teams.