agentleFS
troyjthomastroyjthomas/ios-agent-skills/skills/design-system/SKILL.md

design-system

Skill2 starsChanged 8 months agoMITView on GitHub

Document the visual identity of your app in a format Claude Code can reference. Covers brand colors, typography choices, custom assets, and design tokens. Use this skill when your app has specific brand requirements beyond iOS defaults, when you have Figma designs with a defined visual language, or when you want consistent aesthetics across all screens. Optional for apps that use pure iOS defaults.

108 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-engine, playtest-report and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    setup-engine

    Configure the project's game engine and version. Pins the engine in CLAUDE.md, detects knowledge gaps, and populates engine reference docs via WebSearch when the version is beyond the LLM's training data.

    Also in 7 projects that use this

  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 6 projects that use this

  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 5 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 5 projects that use this

  • +3 more from CoralGame
  • +5 more from cenconq25

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 98 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create DESIGN_SYSTEM.md in your project root alongside CLAUDE.md.

    line 26
  2. Distinctive:

    Key principle: Only define what diverges from iOS defaults.

    line 49

“Common” is measured: kept by at least 6 in 10 of the 98 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design System

Capture your app's visual identity in a Claude Code-readable format. This is optional. If your app uses default iOS styling with just a tint color, you don't need this. If you have brand colors, custom typography, or specific visual treatments, this keeps Claude Code consistent.

When to Use

  • Your app has a specific color palette beyond a single tint
  • You're using non-system fonts
  • You have custom illustrations, icons, or assets
  • Your Figma designs establish a visual language you want preserved
  • You want consistent spacing, radius, or shadow values across screens

When to Skip

  • You're using system fonts, a single tint color, and default iOS styling
  • Your CLAUDE.md already covers the minimal theming needs
  • You're building an MVP where aesthetics will be refined later

The Design System Document

Create DESIGN_SYSTEM.md in your project root alongside CLAUDE.md.

Colors

## Colors

### Primary Palette
- Tint: #3A7D5C (Clover) - used for buttons, links, active states
- Tint Dark: #2D5F47 (Moss) - used for dark mode tint adjustment
- Background: system default (do not override)
- Surface: system default (do not override)

### Semantic Usage
- Success: system green (do not customize)
- Warning: system orange (do not customize)
- Error: system red (do not customize)
- Use Color.primary and Color.secondary for all text unless specified

### Rule
If a color is not listed here, use the iOS system default. Do not invent colors.

Key principle: Only define what diverges from iOS defaults. Everything undefined inherits system behavior. This prevents Claude Code from generating arbitrary color values.

Typography

## Typography

### Font Stack
- Primary: SF Pro (system default) OR [Custom Font Name]
- Monospace: SF Mono (system default)

### If Using a Custom Font:
- Ensure .otf/.ttf files are in /Resources/Fonts
- Register in Info.plist under "Fonts provided by application"
- Define a FontManager or extension for consistent access:
  - .heading: [Font]-Bold, 28pt
  - .subheading: [Font]-Medium, 20pt
  - .body: [Font]-Regular, 17pt
  - .caption: [Font]-Regular, 13pt

### Rule
Use SwiftUI's native text styles (.title, .headline, .body, .caption)
as the foundation. Custom fonts should map to these roles, not replace
the hierarchy.

Spacing and Layout

## Spacing

Use iOS standard spacing unless a specific value is called out:
- Content padding: 16pt (system default)
- Section spacing: 24pt
- Card corner radius: 12pt (or system default for grouped lists)

### Rule
Do not define custom spacing tokens unless you have a specific reason.
SwiftUI's default padding and spacing handles 90% of cases correctly.

Custom Assets

## Assets

### App Icon
- Location: /Assets.xcassets/AppIcon
- [Description of the icon design]

### Custom Illustrations
- Empty state: /Assets.xcassets/EmptyState (used on Projects home)
- Onboarding: /Assets.xcassets/Onboarding1, Onboarding2, Onboarding3

### SF Symbols Used
- Projects tab: square.stack.3d.up
- Settings tab: gearshape
- Add button: plus
- [List all symbols used in the app]

### Rule
Use SF Symbols for everything unless a custom asset is explicitly
listed here. Never generate or use third-party icon sets.

Liquid Glass / Material Treatments

## Materials

### Liquid Glass (iOS 26+)
- Navigation bars: apply Liquid Glass material
- Tab bar: apply Liquid Glass material
- Sheets: default system presentation (do not customize material)

### Blur and Vibrancy
- Do not apply custom blur effects. Use system materials only.
- If a specific material treatment is needed, define it here explicitly.

Integration with CLAUDE.md

Your CLAUDE.md should reference this file:

## Visual Design
See DESIGN_SYSTEM.md for colors, typography, and asset specifications.
When in doubt, use iOS system defaults. Only apply custom values
when DESIGN_SYSTEM.md explicitly defines them.

Anti-Patterns

TemptationWhy It Fails
Defining every possible color tokenClaude Code invents uses for tokens you defined but didn't need
Custom spacing scale (4, 8, 12, 16, 24, 32...)SwiftUI's default spacing is already good. Over-specifying creates inconsistency
Multiple font weights beyond 3-4Complexity with no payoff. Stick to regular, medium, bold
"Use this exact hex for dark mode too"Dark mode colors need separate values. Use Color asset catalogs

Verification

Your design system is ready when:

  • Every custom value is justified (you can explain why it's not the iOS default)
  • System defaults are explicitly preserved (not overridden without reason)
  • SF Symbol names are listed for all icons
  • Custom assets have file paths and usage locations
  • A new Claude Code session reading this file would produce visually consistent screens

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.