Skip to content
SwiftSkills

Apple Human Interface Guidelines with AI agents: design tokens, skills and reviews

Give the agent structured HIG data—not guessed hex—via a design-token MCP, install a HIG skill pack for component and layout rules, then run HIG Doctor on source and a review skill on screenshots so Liquid Glass, color, type and hit targets stay on-spec instead of training-data guesses.

Last updated:

This page is about getting a coding agent to follow Apple's Human Interface Guidelines with current values: system colors and type, layout and controls, materials, and review loops. For glassEffect adoption only, see SwiftUI Liquid Glass with AI agents. For VoiceOver and Accessibility Inspector audits, see iOS accessibility audit with AI agents. Offering help in the HIG is design guidance; TipKit implementation stays in TipKit with AI agents.

What the agent has to get right

Apple's Human Interface Guidelines are the design contract for Apple platforms. Getting started frames platform conventions; agents still guess wrong when they rely on training-data hex and pre-Liquid-Glass patterns.

Four layers show up in almost every PR:

  1. Foundations — Color and Typography use semantic system values, not hard-coded hex from 2023.

  2. Layout and controls — Layout and Buttons (and related control chapters) drive spacing, hit targets and control choice.

  3. Materials — Materials explain depth and hierarchy; Liquid Glass belongs on controls and navigation, not every content surface (detail stays on the Liquid Glass guide).

  4. Review — source rules catch deprecated APIs and hard-coded colors; screenshots catch what static analysis misses.

Rules worth adding to AGENTS.md or CLAUDE.md:

HIG: use semantic system colors and Dynamic Type styles. Do not hard-code outdated hex. Prefer system controls over custom chrome. Put Liquid Glass on floating controls/navigation only. Run a HIG audit on source and a screenshot review before calling UI done. Confirm critical values on developer.apple.com.

Step 1: install HIG tooling

Ask the agent to:

  1. Install HIG Doctor (npx hig-doctor ., MCP: npx -y hig-mcp) for source audits with severity and fixes.

  2. install Apple HIG Skills (npx skills@latest add CarlosZiegler/apple-hig-skills) for platform design skill packs.

  3. Pair hig-review for screenshot/SwiftUI reviews and hig-mcp design tokens (pipx install hig-mcp) for offline design tokens.

Honest limit: do not install every HIG pack at once. Doctor plus one skill pack (or token MCP) covers most PRs.

Step 2: foundations before custom chrome

Point the agent at Color and Typography. Require:

  1. Semantic colors (Color.accentColor, label/fill/system backgrounds) instead of copied hex.

  2. Text styles that scale with Dynamic Type.

  3. System controls before custom buttons and lists, matching Buttons and related HIG chapters.

  4. When a token MCP is available, ask for the current color/type tables before inventing values.

Step 3: audit source with HIG Doctor

Run npx hig-doctor . (or the MCP tools) on the changed files. Treat high-severity hits—deprecated navigation containers, hard-coded colors, undersized hit targets—as merge blockers. Doctor reports rule IDs and fixes; it does not replace a visual pass.

Step 4: review screenshots after merge

Show the agent a simulator screenshot or SwiftUI preview and ask for a HIG review. Combine verified rules, heuristics and judgment calls; re-check Reduce Transparency and large Dynamic Type on a device when materials or type are in play.

Tools compared (4)

ToolBest forAgents (README)Install (README)LicenseStarsLast push
HIG Doctor (raintree-technology)CLI + MCP that audits Apple-platform source against HIG rules (severity, location, fix); 431 rules across 14 frameworksClaude Code, Cursor, Codex, any MCPnpx hig-doctor . / MCP: npx -y hig-mcpMIT14829 Oct 2026
Apple HIG Skills (CarlosZiegler)21 design skills grounded in the HIG for iOS, iPadOS, macOS, watchOS, tvOS and visionOSCodex (skills CLI; interactive installer selects agent)npx skills@latest add CarlosZiegler/apple-hig-skillsMIT1227 Oct 2026
hig-review (nlaratta)Screenshot / SwiftUI HIG reviews: 107 checks across 21 HIG pages, Claude Code plugin + MCPClaude Code, any MCP/plugin marketplace add nlaratta/hig-review then /plugin install hig-review@hig-reviewMIT011 Oct 2026
hig-mcp design tokens (aka-kika)Offline HIG design tokens (color, type, materials, layout, SwiftUI mappings) plus live HIG page fetchClaude Code, Cursor, any MCPpipx install hig-mcp then claude mcp add hig -- hig-mcpMIT3831 Oct 2026

⚠ = no push for more than 4 weeks. HIG Doctor (29 Oct), apple-hig-skills (27 Oct) and aka-kika hig-mcp (31 Oct) are fresh. hig-review (11 Oct) is older—verify rule coverage against the current HIG before treating every check as final.

Which one to pick:

  • Default source audit: HIG Doctor.

  • Platform design checklists after merge: Apple HIG Skills.

  • Screenshot / visual review: hig-review.

  • Current color/type tokens without guessing: aka-kika hig-mcp.

A prompt that keeps the agent honest

Setting up the agent itself: Claude Code for iOS development, Codex for iOS development or Cursor rules for SwiftUI.

Redesign this settings screen to match the HIG. Use semantic system colors and text styles—no hard-coded hex. Prefer system List and Toggle. Put any Liquid Glass only on the navigation bar chrome. Run HIG Doctor on the diff and list severity, rule ID and fix for each hit. Confirm Color and Typography against developer.apple.com if a token looks stale.

FAQ

What is the Apple HIG for AI coding agents?
Apple's Human Interface Guidelines describe how apps should look and behave across Apple platforms. Agent tools turn that prose into design tokens, skill checklists and source or screenshot audits so Claude Code, Cursor or Codex apply current system colors, type, materials and controls instead of inventing outdated values.
How is this different from the Liquid Glass guide?
SwiftUI Liquid Glass with AI agents (queued) owns glassEffect, GlassEffectContainer and Icon Composer. This page owns the broader HIG workflow: design tokens, component choice, layout and typography skills, HIG Doctor source audits and screenshot reviews. Materials appear here only as one HIG chapter.
Should the agent hard-code system colors from memory?
No. Apple refreshed system colors with the Liquid Glass generation; training data still returns older hex values. Prefer a design-token MCP such as hig-mcp (aka-kika) for current color and type tables, or system semantic colors in SwiftUI, and confirm against the live Color and Typography HIG pages when a value matters.
Which tool should I install first for HIG work?
Start with HIG Doctor for source audits (severity, rule ID and fix). Add apple-hig-skills when the agent needs platform-specific design checklists. hig-review for screenshot or SwiftUI reviews and aka-kika hig-mcp for offline design tokens pair well with Doctor.
Does a passing HIG Doctor run mean the UI is finished?
No. HIG Doctor checks source against rule packs; it does not replace looking at the running UI. Use a screenshot review skill for visual judgment, test Dynamic Type and Reduce Transparency, and re-check Apple's live HIG pages for chapters the rules do not cover.