ui-brief

Generate DESIGN.md and Tailwind v4 theme tokens for new projects.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/charleshall888/cortex-command --skill ui-brief-charleshall888
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-brief
Source: https://github.com/charleshall888/cortex-command/tree/main/plugins/cortex-ui-extras/skills/ui-brief
Command: npx skills add https://github.com/charleshall888/cortex-command --skill ui-brief-charleshall888

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Creates a formal design-system foundation by generating DESIGN.md and a Tailwind v4 @theme token starter for a new project, streamlining branding consistency from the start.

Core Features & Use Cases

  • Generates a DESIGN.md constraint document at the project root (or frontend/DESIGN.md) and a @theme token starter appended to the detected CSS file
  • Derives color tokens from provided inputs (project-name can be used later in DESIGN.md, brand-hue and brand-lightness) to establish a consistent design system
  • Handles Tailwind v4 and provides guidance for a v3 fallback if necessary; detects CSS location and writes tokens accordingly

Quick Start

Run the /ui-brief command at your project root with optional inputs to generate DESIGN.md and the Tailwind token block.

Frequently Asked Questions about ui-brief

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

FAQPage Schema
How do I set up design tokens for a new Tailwind project?

A design token is a variable that stores design decisions like color and spacing. This Skill derives color tokens from brand hue and lightness, writing them as a Tailwind v4 @theme block so your project maintains consistent branding across components.

Can I use this design token generator with Tailwind v3?

Tailwind v3 is handled through a provided fallback approach, as the generator primarily targets Tailwind v4 @theme syntax. It detects your CSS location and Tailwind version to write tokens accordingly, ensuring compatibility with your existing setup.

What is the best way to create a design system foundation from scratch?

Creating a design system foundation is streamlined by generating a formal constraint document and token starter simultaneously. This derives color tokens from brand inputs and writes a DESIGN.md file, ensuring branding consistency from the project start.

How do I generate a DESIGN.md file for my project?

To generate a DESIGN.md file, run the setup command at your project root with your project name, brand hue, and brand lightness. It writes the constraint document to the root or frontend directory, skipping generation if one already exists.

Will generating design tokens overwrite my existing CSS file?

Generating design tokens will not overwrite your CSS file. The process ensures idempotent writes by appending the @theme token starter to your existing CSS when appropriate, and skips generation if a DESIGN.md file already exists.