Frontend_Design_System

Generate React component libraries from design tokens and UI requirements using Tailwind styling.

2|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/CyangZhou/-2--Project-Yunshu- --skill frontend-design-system-cyangzhou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Frontend_Design_System
Source: https://github.com/CyangZhou/-2--Project-Yunshu-/tree/main/.trae/skills/frontend_design_system
Command: npx skills add https://github.com/CyangZhou/-2--Project-Yunshu- --skill frontend-design-system-cyangzhou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

将 UI 样式需求转化为生产级的前端代码,解决设计交付与实现之间的鸿沟,提升开发效率与设计一致性。

Core Features & Use Cases

  • 设计令牌驱动的样式:颜色、排版、间距等样式属性由中心令牌系统驱动,确保一致性。
  • 可访问性合规性:优先考虑可访问性,包含对比度、键盘导航和 ARIA 语义的注意点。
  • 组件化代码生成:基于设计令牌自动生成 React 组件库,支持 Tailwind/shadcn/ui 风格。
  • Use Case: 设计师提供令牌与 UI 规格,系统生成可扩展的组件库以供前端团队快速迭代。

Quick Start

Provide design tokens and UI specs to generate production-ready frontend components.

Frequently Asked Questions about Frontend_Design_System

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

FAQPage Schema
How do I generate React components from design tokens?

To generate React components from design tokens, provide your UI specifications and token definitions to translate them directly into production-ready, token-driven styling code using Tailwind.

What is a design token-driven styling approach for frontend?

A design token-driven styling approach centralizes style attributes like color, typography, and spacing into a token system, ensuring UI consistency and translating specifications into scalable frontend code.

Can I use this to build a scalable component library with Tailwind?

Yes, you can build a scalable component library with Tailwind by translating design tokens and UI requirements into automated, production-ready React components styled with shadcn/ui conventions.

Does generated frontend code include accessibility compliance?

Yes, generated frontend code includes accessibility compliance by prioritizing contrast checks, keyboard navigation, and ARIA semantics directly within the token-driven component generation process.

How do I turn UI specs into production-ready frontend code?

You turn UI specs into production-ready frontend code by inputting design tokens and UI requirements, which the system then processes to output automated, accessible React components.

What are the limitations of automated component generation for React?

Automated component generation for React requires clear design token inputs and UI specs to function correctly, meaning ambiguous specifications may limit the accuracy of the produced accessible frontend code.