# design

Defines visual identity tokens and styling rationale following Google Stitch. Keeps coding agents aligned with design tokens when building user interfaces.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 406 repo stars
- Author: syahiidkamil
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/HEAD/.claude/rules/DESIGN.md
- Updated: 2026-06-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/design

## What it does

The rule structures UI guidelines into a single `DESIGN.md` file using the Google Stitch specification. Its front matter holds machine-readable YAML tokens covering color palettes, typography levels, border radii, and an 8px spacing scale. Agents inspect these normative values directly when assembling components such as buttons, cards, and input fields.

The Markdown body explains the design rationale, detailing tone, semantic status colors, and layout rules. It builds on the canonical eight sections from Stitch and supports ATLAS additions for responsiveness and accessibility. To maintain visual consistency, all placeholder tokens in the file must be populated with project-specific hex codes and measurements.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/DESIGN.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/DESIGN.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/DESIGN.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/DESIGN.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/DESIGN.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/HEAD/.claude/rules/DESIGN.md

## When to use it
- Keep design tokens and palette definitions in a single file
- Enforce typography scales and 8px spacing across generated UI
- Prevent arbitrary styling choices during component generation
- Standardize layout structure using the Google Stitch format

## Example prompts
- Build a user profile card following the tokens defined in `DESIGN.md`.
- Generate button and input field components using the theme colors.
- Adjust the layout rhythm to match the spacing scale from the rule.

## Similar
- [taste-design](https://affpapa.org/en/nevibecode/skills/taste-design.md) — skill · 22000 installs
- [design-screen](https://affpapa.org/en/nevibecode/skills/design-screen.md) — skill · ★ 3216 repo stars
- [expo-design-system](https://affpapa.org/en/nevibecode/skills/expo-design-system.md) — skill · 22700 installs
- [neumorphism](https://affpapa.org/en/nevibecode/skills/neumorphism.md) — skill · 2900 installs
- [figma-designer](https://affpapa.org/en/nevibecode/skills/elayadesign-figma-designer.md) — skill · 2900 installs
- [sleek](https://affpapa.org/en/nevibecode/skills/sleek.md) — skill · 2900 installs

From the same set: [syahiidkamil/software-engineer-ai-agent-atlas](https://affpapa.org/en/nevibecode/by/syahiidkamil/software-engineer-ai-agent-atlas.md) — 26 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
