Stringers/Guides
Mobile UI Design Systems & DESIGN.md

DESIGN.md for Claude Code and Cursor: how to stop shipping AI-slop UI

A coding agent asked for "a clean, modern app" will give you the average of every app it has seen: a purple gradient, rounded cards with soft shadows, an emoji in each heading. The fix is not a better adjective. It is a file. DESIGN.md gives the agent numbers and rules where a prompt gives it mood, and this guide shows exactly what goes in it.

Updated Data: 301 curated design styles (162 light · 139 dark)By Stringers

301curated mobile UI design styles, each with a complete DESIGN.md
162 / 139light and dark styles
4reference screens per style, for calibrating density and proportion
1 commandto install the skill for Claude Code, Cursor and Codex

Why AI-generated UI looks the same

"AI slop" UI is not random. It is the predictable result of an under-specified request. When the prompt contains no design decisions, the model fills each one with its most probable value:

Each default is defensible alone. Together they are the look of an app nobody designed. Adjectives do not fix it, because "minimal", "premium" and "playful" each map back to the same averages. A model cannot infer a 54-point row height or a ban on drop shadows from the word "clean".

What works is the same thing that works for human teams: a written design system the implementer must read before touching UI code.

What DESIGN.md is

DESIGN.md is a Markdown file at the project root that holds the app's visual system in a form an agent can follow literally: design tokens as data, and usage rules as prose. It sits beside CLAUDE.md or AGENTS.md and plays the same role for appearance that those files play for behavior.

Two properties make it effective. It is numerical: hex values, point sizes, weights, radii, spacing steps. And it is exclusive: it says what is not allowed. The second matters more than it sounds; an agent that is told only what to use will still add a gradient "for polish".

Anatomy of a high-signal DESIGN.md

Every style in the Stringers library ships a complete file. This is the top of the one for Oat Margin, quoted as published:

yaml
---
version: alpha
name: Oat Margin
description: "A reading-first iOS style: warm oat paper edge to edge, warm-grey ink that is never black, one system grotesk doing all the work through size and weight, no cards, no shadows, no filled buttons — and exactly one coral mark per screen. Round identity marks hang alone in a left margin; every line of text starts on one shared edge to their right."
colors:
  primary: "#D8523F"
  bar-rest: "#CDC8BF"
  light:
    paper: "#F4F1EB"
    well: "#E5E1DC"
    hairline: "#DEDAD2"
    ink: "#2E2B27"
    text: "#3F3B35"
    secondary: "#7A7671"
    tertiary: "#A39F99"
  dark:
    paper: "#1C1A17"
    well: "#2A2723"
    hairline: "#34302B"
    ink: "#EDE8DF"
    text: "#D6D0C6"
    secondary: "#9C968D"
    tertiary: "#6F6A63"
typography:
  hero-figure: { fontFamily: SF Pro, fontSize: 84px, fontWeight: 700, lineHeight: 1.0, letterSpacing: -2.5px }
  reading-title: { fontFamily: SF Pro, fontSize: 34px, fontWeight: 700, lineHeight: 1.12, letterSpacing: -0.7px }
  page-title: { fontFamily: SF Pro, fontSize: 33px, fontWeight: 700, lineHeight: 1.15, letterSpacing: -0.6px }
  section-head: { fontFamily: SF Pro, fontSize: 20px, fontWeight: 700, lineHeight: 1.2 }
  # … 8 more type roles, then rounded: and spacing: scales
---

The parts, and what makes each one useful to an agent:

  1. A one-paragraph description. The whole look in plain words, including what is absent. For Oat Margin: "A reading-first iOS style: warm oat paper edge to edge, warm-grey ink that is never black, one system grotesk doing all the work through size and weight, no cards, no shadows, no filled buttons — and exactly one coral mark per screen. Round identity marks hang alone in a left margin; every line of text starts on one shared edge to their right."
  2. Color tokens with roles, for light and dark. Named by job (paper, well, hairline, ink, secondary), not by hue. A role name tells the agent where a color goes; "grey-200" does not. Include both appearances so dark mode is not improvised.
  3. Elevation and surfaces. How layers are separated: hairlines, tonal steps, blur, or shadow, with exact values. This is where "no cards, no shadows" lives.
  4. A typography scale with roles. Family, size, weight, line height and tracking per role (reading-title, body, meta, caption). Oat Margin defines 12 roles. Sizes far enough apart to read as a hierarchy.
  5. Radius and spacing scales. A short list of allowed values. If 14 is not on the list, the agent should not use 14.
  6. Component rules. How a row, a button, a field, a tab bar and an empty state are built from the tokens, with dimensions.
  7. Do's and Don'ts. The explicit bans: no gradients, no emoji, never pure black, one accent per screen. This list is the highest-leverage section of the file, because it removes the defaults.

The body of the Oat Margin file is organized as: Visual Theme & Atmosphere; Color Palette & Roles; Typography Rules; Component Stylings; Layout Principles; Depth & Elevation; Do's and Don'ts; Responsive Behavior; Agent Prompt Guide.

A weak DESIGN.md is one that could describe any app: "use consistent spacing", "maintain visual hierarchy", "modern and friendly". If a sentence would be true of every design system, delete it.

The workflow, copy and paste

1. Install the skill

bash
npx skills add komako-workshop/stringers

This adds the Stringers skill to Claude Code, Cursor and Codex. It needs no login for design work.

2. Ask for a look

In a new project, or one whose UI you want to replace, say what the app is and ask for a style:

text
Use Stringers to pick a UI style for this app, then rebuild the home screen in it.

The agent reads a compact index of the library, picks three candidates that differ as much as possible while still fitting the app (one natural fit, one in the opposite color mode, one bold option), and sends a comparison link of the form https://stringers.io/en/styles/?pick=oat-margin,amber-roundel,citron-kite. You reply with a number, or with any style name from the full gallery.

3. Lock the file

Once a style is chosen, the spec is downloaded into your repository. You can also do this step by hand:

bash
curl -s https://stringers.io/styles/cards/oat-margin.md -o DESIGN.md

From here the file is yours. If you want changes ("swap the coral accent for espresso brown", "we need a tab bar"), record them in a ## Project overrides block directly under the front matter, so the next session sees your decisions before the original ones.

4. Make the agent read it every time

A design file only works if it is in context when UI code is written. In Claude Code, add this to CLAUDE.md:

markdown
## UI
- Before writing or editing any UI code, read DESIGN.md in full.
- Use only the colors, type roles, radii and spacing steps it defines. Do not introduce new values.
- All tokens live in one file (Theme.swift / src/theme/tokens.ts). Screens reference tokens, never literals.
- Follow the "Never" / Don'ts list in DESIGN.md even when a default component looks different.
- After a UI change, re-check the result against DESIGN.md and fix any drift before reporting done.

In Cursor, put the same rules in .cursor/rules/design.mdc and scope them to your UI files:

markdown
---
description: Visual system. Applies to all UI code.
globs: ["**/*.swift", "**/*.tsx", "**/*.dart"]
alwaysApply: false
---
Read DESIGN.md at the repository root before editing UI. Use only its tokens. Obey its Don'ts list.

5. Generate one tokens file first

Ask for the theme file before any screen: Theme.swift for SwiftUI, src/theme/tokens.ts for React Native, a ThemeExtension for Flutter. When every screen imports tokens from one place, a later change to the system is a one-file edit, and a stray literal color is easy to spot in review. The SwiftUI version of this step is worked through in SwiftUI UI design styles.

6. Check the result against the file

If a simulator or preview is available, have the agent take a screenshot and compare it with the spec and the style's four reference screens: density, row heights, where the accent appears. Where no preview exists, a static pass over the tokens and the Don'ts list still catches most drift.

Eight styles to start from

Each is a curated design system with reference screens and a full DESIGN.md. The swatches are the style's real palette.

Native mobile UI design style, reference screenNative

Clear glass over a quiet canvas

#F6F6F4 #ECECE9 #0B0B0D #2A2A2E #DCE5EB
Light · Minimal & Modern. Fits: ambient daily readings, light and sky, time and place, companions for the house or the roadOpen style and DESIGN.md →
Graphite Query mobile UI design style, reference screenGraphite Query

Graphite grid, light sans, one italic serif word, teal action

#22B8CF #0B2A30 #F2F2F0 #E4E4E1 #FFFFFF
Dark · Dark & Instrument, Minimal & Modern. Fits: AI search and deep-research assistants, Q&A threads, technical copilots, knowledge workspacesOpen style and DESIGN.md →
Ivory Tide mobile UI design style, reference screenIvory Tide

Serif prompts on ivory, a sky tide rising below

#1F1E1B #BFD3EA #9DB9DC #E9A48E #DE8C73
Light · Minimal & Modern, Editorial & Print. Fits: voice-first AI companions, calm spoken journaling and brainstorming, reflective audio threadsOpen style and DESIGN.md →
Porcelain Deck mobile UI design style, reference screenPorcelain Deck

A stacked deck of hairline decision cards on warm porcelain

#111111 #D9714E #F7F5F0 #FFFFFF #ECEAE5
Light · Editorial & Print, Minimal & Modern. Fits: AI assistants, decision cards, daily inbox triage, calm executive briefs, writing and research companionsOpen style and DESIGN.md →
Mint Clover mobile UI design style, reference screenMint Clover

Luminous mint ring and serif prompts on obsidian black

#4CE09D #8EEDB4 #2EB878 #0F2A1E #FFFFFF
Dark · Dark & Instrument, Minimal & Modern. Fits: daily breathwork and mood check-ins, nervous-system recovery logsOpen style and DESIGN.md →
Linen Cobalt mobile UI design style, reference screenLinen Cobalt

Warm linen paper and soft sand cards accented in cobalt blue

#2E5AD8 #FBF4EC #F1E7DE #E9DFD5 #E2D7CB
Light · Minimal & Modern, Editorial & Print. Fits: personal project notebooks, calm checklists and shelves, weekly logbooks, errands and home planning appsOpen style and DESIGN.md →
Lemon Primer mobile UI design style, reference screenLemon Primer

Bauhaus primaries: lemon blob, heavy black type, primary dots

#FFE500 #1F4FD8 #E2231A #FFFFFF #F1F1F1
Light · Bold & Graphic, Playful & Illustrated. Fits: shared household errands, punchy to-do lists, habit streaks, personal finance and quick daily checklistsOpen style and DESIGN.md →
Lunar Ledger mobile UI design style, reference screenLunar Ledger

One lit moon over a dotted monospace ledger on black

#FFFFFF #F2F2F0 #E6E6E3 #D9D9D6 #BDBDBA
Dark · Dark & Instrument, Minimal & Modern. Fits: sleep and recovery logs, circadian and astronomy trackers, nighttime journals, monochrome health ledgersOpen style and DESIGN.md →

Keeping DESIGN.md useful over time

For palettes by mood, see minimalist light styles and dark mode styles.

Browse all 301 design styles

301 curated mobile UI design systems, each with a complete DESIGN.md (color tokens, type scale, spacing, component rules) and four reference screens. Install the skill and tell your agent which style to build in.

Open Mobile UI Design Styles
npx skills add komako-workshop/stringers
★ Star on GitHub

Open Source (MIT) · Star komako-workshop/stringers on GitHub

Frequently asked questions

What is DESIGN.md?

A Markdown file at the project root that defines an app's visual system for AI coding agents: color tokens, a type scale, radii, spacing, component rules and a list of things never to do. The agent reads it before writing UI code.

Where does DESIGN.md go and how does Claude Code find it?

In the repository root. Add a line to CLAUDE.md telling Claude Code to read DESIGN.md before any UI work; in Cursor, add a rule in .cursor/rules/ scoped to your UI files.

Does DESIGN.md work with SwiftUI, React Native and Flutter?

Yes. The file is framework-neutral: points, hex values and roles. The agent converts it into one tokens file for your stack, such as Theme.swift or tokens.ts.

Can I write my own DESIGN.md?

Yes. Start from the anatomy above: a description, color roles for light and dark, elevation rules, a type scale, radius and spacing scales, component rules, and explicit Don'ts. Or download one of the 301 ready-made files and edit it.

Is the Stringers style library free?

Yes. Browsing the styles, downloading a DESIGN.md and installing the skill need no login.

Related guides