ui-style-format
/ui-style-format
Specifies the UI design style file format and schema for .claude/design-style.md and .claude/design-references/. Use when creating, validating, or parsing project design styles.
- Author
- madappgang ↗
- Repository
- magus ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Specifies the UI design style file format and schema for .claude/design-style.md and .claude/design-references/. Use when creating, validating, or parsing project design styles.
Original author description
Specifies the UI design style file format and schema for .claude/design-style.md and .claude/design-references/. Use when creating, validating, or parsing project design styles.
How it works
- Overview
- File Structure
- design-style.md Schema
- Reference Images Integration
- Parsing the Style File
- Integration with designer:ui
- Best Practices
SKILL.md preview
---
name: ui-style-format
description: Specifies the UI design style file format and schema for .claude/design-style.md and .claude/design-references/. Use when creating, validating, or parsing project design styles.
user-invocable: false
---
# UI Style Format Specification
## Overview
The UI Style system provides a standardized way to define project design preferences
that `designer:ui` designs against. It supports both text-based style definitions and
visual reference images.
## File Structure
```
{project}/
.claude/
design-style.md # Main style configuration
design-references/ # Visual reference images
{image}.png # PNG or JPG screenshots
MANIFEST.md # Optional metadata
```
## design-style.md Schema
### Required Sections
| Section | Purpose |
|---------|---------|
| Header | Version, dates, base reference |
| Reference Images | Links to visual references |
| Brand Colors | Color palette with light/dark modes |
| Typography | Fonts and type scale |
| Spacing | Base unit and scale |
| Component Patterns | Button, input, card styles |
| Design Rules | DO and DON'T guidelines |
### Optional Sections
| Section | Purpose |
|---------|---------|
| Reference URLs | External style guides |
| Style History | Change log |
| MANIFEST.md | Detailed image descriptions |
## Reference Images Integration
### Storage Location
All reference images MUST be stored in `.claude/design-references/`.
### Supported Formats
| Format | Extension | Recommended Use |
|--------|-----------|-----------------|
| PNG | .png | Screenshots, UI components |
| JPEG | .jpg, .jpeg | Photos, complex imagery |
| WebP | .webp | Modern alternative to PNG/JPEG |
### Image Table Format
In the style file, reference images are listed in a table:
```markdown
## Reference Images
| Image | Description | Captured | Mode |
|-------|-------------|----------|------|
| hero-section.png | Homepage hero | 2026-01-08 | light |
```
### Usage Guidelines Section
Each image should have usage notes:
```markdown
### Usage Guidelines
- **hero-section.png**: Reference for hero layout, gradient, CTA placement
```
## Parsing the Style File
### Section Extraction
1. Read `.claude/design-style.md` with Read tool
2. Split by `## ` headers
3. Parse tables using Markdown table regex
4. Extract key-value pairs from tables
### Reference Image Resolution
```
Image Name -> .claude/design-references/{image_name}
```
Example:
```
hero-section.png -> .claude/design-references/hero-section.png
```
### Validation Checklist
Before using a style file, validate:
1. File exists at `.claude/design-style.md`
2. Required sections present
3. Referenced images exist in `.claude/design-references/`
4. Colors are valid hex codes
5. Spacing values are numbers
## Integration with designer:ui
When `designer:ui` designs a screen, it reads `.claude/design-style.md`, takes its
tokens from Brand Colors, Typography and Spacing, and reads the reference images whose
name or description matches the brief. `designer:review` judges image files only and
does not read this file.
### Comparison Prompt with References
```
Compare this implementation screenshot against the project design reference.
**Reference Image**: .claude/design-references/hero-section.png
**Implementation**: screenshots/current-hero.png
**Style Tokens** (from .claude/design-style.md):
- Primary Color: #2563EB
- Font: Inter 16px
- Spacing: 4px base
**Validate**:
1. Layout matches reference
2. Colors match defined palette
3. Typography follows scale
4. Spacing uses defined tokens
```
A style file with no `## Reference Images` section is valid; the design then works
from the text sections alone.
## Best Practices
### Capturing Reference Images
1. **Consistent viewport**: Use same browser width (e.g., 1440px)
2. **Clean state**: No modals, tooltips unless intentional
3. **Both modes**: Capture light and dark variants
4. **Component isolation**: Crop to relevant area
### Writing Usage Guidelines
Be specific about what each image demonstrates:
**Good**: "Reference for button padding (12px), border-radius (8px), and hover state"
**Bad**: "Button reference"
### Updating Styles
When UI changes:
1. Capture new screenshot
2. Replace old image (same name) or add new
3. Update Reference Images table
4. Add entry to Style History
Versions
The database has no other skills named ui-style-format.
Database snapshot: 13.11.2026 · package version f44722a86690 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 95design-md
Apply, audit or extract the design system described in a project's DESIGN.md file (the plain-text design-system format from Google Stitch and getdesign.md / awesome-design-md). Use when the user types /design-md, asks to style, restyle, redesign or theme a page or component… - 100new-style
Creates a new visual style for the engine from the user's description or reference images - a styles/<id>/ folder with pack.json, FORMAT.md, DESIGN.md, VOICE.md, MAKE.md, components and fonts - then proves it with a look test and one short example episode. Use when the user… - 90design-md
Pick a design language from a categorized offline catalog of 153 entries (84 brands, 68 styles, 1 business scene), write it as DESIGN.md in the project root, then implement or restyle production UI from that file and verify it in a running page. Use when the user asks to list or… - 100claude-design
Make and revise designs in the Design (canvas) artifact format (project/canvas.json plus one .dc.html Design Component file per artboard) as local files, then open them in a local canvas editor where the user can view the artboards side by side, retype copy and adjust tweaks.… - 100reference-to-style
Turn design references (screenshot, live website, Pinterest pin, Figma frame, game UI, drawing, moodboard) into a measured UI style (palette, typography, spacing and design tokens), written to a style guide and shown on a visual board. Use when the user shares references and… - 90nokryong-art-style
Use this skill when creating, editing, comparing, or choosing images in the user-authored 녹용화풍 art styles: 아마추어웹툰, 인디망가, 일상웹툰, 팬아트애니, 카툰애니, 무테애니, 러프칼라망가, 치비애니, 디시콘. Before generating, read the entire original Markdown source for the requested style. The art-style source takes…