ba-frontend-code-gen

Generate React/TypeScript/Tailwind frontend code from Brand Guideline and System Design.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Yukine5377/common --skill ba-frontend-code-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ba-frontend-code-gen
Source: https://github.com/Yukine5377/common/tree/main/.cursor/skills/ba-frontend-code-gen
Command: npx skills add https://github.com/Yukine5377/common --skill ba-frontend-code-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Skill tự động hóa quá trình sinh code Frontend (React/TypeScript/Tailwind) từ yêu cầu của user, tuân thủ chặt chẽ Brand Guideline và nguyên tắc System Design.

Core Features & Use Cases

  • Tự động sinh code Frontend từ Brand Guideline và Design System.
  • Tách riêng Design Tokens (colors, typography, spacing) và component library cho sự tái sử dụng.
  • Hỗ trợ tạo layout và UI components nhất quán cho nhiều màn hình và kích thước, tăng maintainability.

Quick Start

Hãy sinh code Frontend từ Brand Guideline và Design System dựa trên yêu cầu thiết kế được cung cấp.

Frequently Asked Questions about ba-frontend-code-gen

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

FAQPage Schema
How do I generate React frontend code from a Brand Guideline automatically?

To generate React frontend code from a Brand Guideline automatically, this Skill parses your centralized configuration to initialize a repository structure under frontend/[app-name]/src, rendering design tokens as CSS variables or TypeScript constants for UI consistency.

How do I set up a React project structure that enforces design tokens and system design?

Setting up a React project structure that enforces design tokens requires importing configuration from docs-BA/Prototype/Brand Guideline/brand-guideline_[YYYYMMDD].md, which this Skill uses to separate tokens and assemble generic UI components without embedding business logic.

How do I convert design tokens into TypeScript constants and CSS variables for Tailwind?

Converting design tokens into TypeScript constants and CSS variables for Tailwind is handled automatically by extracting colors, typography, and spacing from your Brand Guideline to ensure centralized styling and high maintainability across multiple screens.

Does this frontend code generation approach embed business logic into UI components?

This frontend code generation approach does not embed business logic into UI components. It strictly separates your component library and design tokens, assembling pages with generic UI components driven by centralized configuration to maximize reusability across different screens and sizes.

Can I use this to maintain UI consistency across multiple frontend pages and screen sizes?

You can use this to maintain UI consistency across multiple frontend pages and screen sizes. It automatically generates layouts and reusable UI components from your Brand Guideline and Design System, ensuring centralized styling and increased maintainability for your React and TypeScript application.

What is the best way to automate React and Tailwind code generation from design system documents?

The best way to automate React and Tailwind code generation from design system documents is using a Skill that reads your Brand Guideline markdown file to initialize your repository structure, render design tokens, and assemble generic UI components without manual coding.