Hig
Apple Human Interface Guidelines (HIG) lookup and routing for iOS, iPadOS, and macOS design work. Use when any Apple-platform design spec, term, or behaviour is in question — minimum tap target or hit target size, type sizes, Dynamic Type, safe areas, bar heights, corner radii, sheet detents, menu structure, native component names — or when work touches Liquid Glass-era APIs (glassEffect, GlassEffectContainer, scrollEdgeEffect, tabViewBottomAccessory) even without HIG framing. Model priors on Apple's current design system are stale (the HIG was rewritten for Liquid Glass in 2025–26) — never answer Apple design-spec questions from memory. Routes design and prototyping work to hig-design and HIG audits to hig-review. Also use to check whether the local HIG snapshot is current. For web-platform values on non-Apple work, use ui-craft.From its SKILL.md
npx -y skills add olzn/skills --skill higAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `grep -n "^## <slug>" references/corpus/<file>.md` and 2 more.
SKILL.md
5.8 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
HIG
Coordinator and spec-lookup for the HIG suite. Snapshot: see references/versions.md — check its expiry before asserting volatile guidance.
Your training-data priors on Apple design are wrong. Apple rewrote its design system twice since 2024 (Liquid Glass, WWDC 2025; foundations rework, WWDC 2026). Opaque pinned tab bars, flat design, single-PNG icons, "Clarity/Deference/Depth", SiriKit, iOS 18/19 numbering — all dead. references/corrections.md lists what changed. Answer Apple design questions from the references or a live fetch, never from memory.
1. Route first
| Task | Lead | Load |
|---|---|---|
| Design, mock, or prototype a screen/app | hig-design | — |
| Port between iOS and macOS, "make a Mac version" | hig-design | references/adaptation.md |
| Implement or fix SwiftUI/Liquid Glass UI | hig-design | references/adapters/swiftui.md |
| Audit/review against the HIG, "does this feel native" | hig-review | — |
| Exact spec, term, or behaviour question | stay here | §2–§3 |
| "Is our HIG info current?" | stay here | §4 |
Composition rules:
- With the
prototypeskill on an Apple-native target: hig-design's constraint sheet loads before generation; one combined checklist pass across all options after. - With ui-craft on an HTML prototype of native UI: ui-craft owns web mechanics, this suite owns native idiom and metric values; on conflict, HIG wins for native-targeting prototypes.
2. Hot numbers (hop-zero crib)
Verified against the snapshot; each value's authoritative home is in references/tables/. If versions.md is past expiry, re-verify hot rows before asserting.
| Spec | iOS/iPadOS | macOS | src |
|---|---|---|---|
| Control hit target — default / minimum | 44×44pt / 28×28pt | 28×28pt / 20×20pt | tables/accessibility-sizes.md |
| Padding around interactive elements | 12pt bezeled / 24pt bezel-less | same | tables/accessibility-sizes.md |
| Body text — default / minimum | 17pt / 11pt | 13pt / 10pt | tables/dynamic-type.md |
| Text contrast (WCAG AA) | 4.5:1; 3:1 ≥18pt or bold | same | tables/accessibility-sizes.md |
| App icon source | 1024×1024px, layered, six appearances | same | corpus/foundations-identity.md#app-icons |
| Menu bar height | — | 24pt | corpus/components-menus-actions.md#the-menu-bar |
| Alert buttons | ≤3 (more → action sheet) | ≤3 | corpus/components-presentation-status.md#alerts |
| Toolbar title | <15 characters | <15 | corpus/components-menus-actions.md#toolbars |
| Ratings prompts | ≤3 per 365 days | same | checklists/review-compliance.md |
| Sign in with Apple button | ≥140×30pt, exact titles/styles | same | tables/brand-buttons.md |
| Tooltip copy | — | 60–75 chars, sentence case, no period | checklists/review-copy.md |
| Default iPhone canvas (Sept-rot risk) | 402×874pt | — | corpus/foundations-layout-typography.md#layout |
Tab/nav bar heights are no longer published by Apple — never invent them; see tables/metrics.md for provenance-marked estimates.
3. Lookup protocol
- Open
references/index.md(≤2K tokens) → classify the slug: corpus section (note file + anchor, → step 2), API symbol (glassEffect, UISheetPresentationController, … — note the target slug, → step 2), or live-fetch-only (niche topics, no corpus section, → step 4). grep -n "^## <slug>" references/corpus/<file>.md→Readthat file withoffsetat the match,limit≈ section length (sections are 5–80 lines). Do not read whole corpus files for one question. If the loaded section names another slug as load-bearing for this answer, load that one section too — one hop max.- Answer with the exact value/term, citing slug + change date from the section's
src:line. State iOS and macOS separately when they differ — never "generally". - If the slug is live-fetch-only, the section is a stub, the topic is in
versions.md's hot list, or the snapshot is expired: fetch live —scripts/hig-fetch.sh <slug>. If fetch is unavailable (sandbox/denied), answer from the snapshot and say so: "per snapshot 2026-06-10; live verification unavailable here."
4. Currency protocol
references/versions.mdcarries the snapshot date and expiry dates (Apple ships changes ~June/September/December). Past expiry → attach a staleness caveat to volatile answers, and offer to runscripts/hig-whats-new.sh.hig-whats-new.shdiffs Apple's changelog against the snapshot and lists changed pages and derived reference files needing review (viasrc:tags). A parse failure exits loudly — treat exit 2 as "unknown", never "no changes".- Full refresh procedure:
scripts/refresh-workflow.md.
5. Integrity rules
Cite exact values — never approximate. Never flatten platform differences. Every assertion traces to a corpus section (slug + date) or a live fetch. Numbers Apple doesn't publish are labelled with provenance and confidence. iOS/macOS 27 content is beta — keep it in delta blocks, version-gate it in answers. Mark uncertainty explicitly.
What ships with it: 53 files
406.7 KB alongside SKILL.md, 3 of them executable
references/
- adaptation.md7.3 KB
- adapters/figma.md3.0 KB
- adapters/html.md8.0 KB
- adapters/swiftui.md3.2 KB
- checklists/review-a11y.md6.0 KB
- checklists/review-ai.md7.7 KB
- checklists/review-compliance.md8.1 KB
- checklists/review-copy.md6.1 KB
- checklists/review-flow.md9.7 KB
- checklists/review-liquid-glass.md5.0 KB
- checklists/review-screen-ios.md7.9 KB
- checklists/review-screen-macos.md8.4 KB
- checklists/review-system-surfaces.md8.3 KB
- corpus/components-layout-content.md13.9 KB
- corpus/components-menus-actions.md14.0 KB
- corpus/components-nav-search.md11.5 KB
- corpus/components-presentation-status.md14.0 KB
- corpus/components-selection-input.md14.0 KB
- corpus/components-system-experiences.md13.9 KB
- corpus/foundations-appearance.md13.0 KB
- corpus/foundations-identity.md13.2 KB
- corpus/foundations-layout-typography.md10.4 KB
- corpus/foundations-people.md13.8 KB
- corpus/inputs.md14.0 KB
- corpus/patterns-interaction.md13.7 KB
- corpus/patterns-lifecycle.md13.7 KB
- corpus/platforms.md9.0 KB
- corpus/tech-ai.md3.3 KB
- corpus/tech-commerce.md12.5 KB
- corpus/tech-integration.md4.9 KB
- corrections.md10.3 KB
- doctrine.md8.0 KB
- index.md6.5 KB
- tables/accessibility-sizes.md4.3 KB
- tables/audio-haptics.md4.7 KB
- tables/brand-buttons.md5.5 KB
- tables/cursors-macos.md3.2 KB
- tables/dynamic-type.md5.7 KB
- tables/keyboard-shortcuts-macos.md11.9 KB
- learnings.md200 B
13 more files not listed here. See all 53 in the repository.