Finance
brand-compile - Claude MCP Skill
Compile brand.yaml into CSS custom properties, Tailwind 4 theme, and TypeScript tokens. Run after modifying brand.yaml or when setting up a new project.
SEO Guide: Enhance your AI agent with the brand-compile tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to compile brand.yaml into css custom properties, tailwind 4 theme, and typescript tokens. run after mo... Download and configure this skill to unlock new capabilities for your AI workflow.
Documentation
SKILL.md# /brand-compile
Compile brand tokens from `brand.yaml` into consumable formats.
## What This Does
Reads `brand.yaml` from project root and produces:
- `tokens.css` — CSS custom properties (`:root` + `.dark`)
- `theme.css` — Tailwind 4 `@theme inline` with OKLCH values
- `tokens.ts` — TypeScript const export for Satori templates and Remotion
## Process
1. Locate `brand.yaml` in the current project root
2. If no `brand.yaml` exists, check for `brand-profile.yaml` + `design-tokens.json` and offer to migrate:
```bash
node ~/Development/brand-kit/dist/src/cli.js migrate --profile brand-profile.yaml --tokens design-tokens.json --out brand.yaml
```
3. Validate the schema:
```bash
node ~/Development/brand-kit/dist/src/cli.js validate brand.yaml
```
4. Compile tokens:
```bash
node ~/Development/brand-kit/dist/src/cli.js compile --out ./src/styles
```
5. Verify Tailwind `@theme` import exists in the project's CSS entry point (e.g., `globals.css`)
6. Run typecheck if TypeScript project: `pnpm typecheck` or `npx tsc --noEmit`
## Output
Default output directory: `./brand-output/`
Override with `--out ./src/styles` to place tokens where your project expects them.
```
brand-output/
tokens.css # CSS custom properties
theme.css # Tailwind 4 @theme inline
tokens.ts # TypeScript const export
```
## Format Selection
- `--format css` — Only CSS custom properties
- `--format tailwind` — Only Tailwind 4 theme
- `--format ts` — Only TypeScript tokens
- `--format all` — All three (default)
## Integration
After compiling, import in your project:
**Tailwind 4 (recommended):**
```css
/* globals.css */
@import "tailwindcss";
@import "./theme.css";
```
**Plain CSS:**
```css
@import "./tokens.css";
```
**TypeScript (Satori/Remotion):**
```typescript
import { brand } from "./tokens.js";
```
## Related Skills
- `/brand-init` — Create brand.yaml from scratch
- `/brand-assets` — Generate OG cards and social images
- `/og-card` — Legacy OG card generation (superseded by brand-assets)Signals
Information
- Repository
- phrazzld/claude-config
- Author
- phrazzld
- Last Sync
- 3/2/2026
- Repo Updated
- 3/1/2026
- Created
- 2/17/2026
Reviews (0)
No reviews yet. Be the first to review this skill!
Related Skills
CLAUDE
CLAUDE.md
Confidence Check
Pre-implementation confidence assessment (≥90% required). Use before starting any implementation to verify readiness with duplicate check, architecture compliance, official docs verification, OSS references, and root cause identification.
coding-standards
Coding Standards & Best Practices
commands
Build, Test & Development Commands
Related Guides
Mastering Python and TypeScript Development with the Claude Skill Guide
Learn how to use the python typescript guide Claude skill. Complete guide with installation instructions and examples.
Mastering VSCode Extension Development with Claude: A Complete Guide to the TypeScript Extension Dev Skill
Learn how to use the vscode extension dev typescript Claude skill. Complete guide with installation instructions and examples.
Next.js SEO Dev: The Essential Claude Skill for Documented React Development
Learn how to use the nextjs seo dev Claude skill. Complete guide with installation instructions and examples.