New to Claude Skills? Learn how to install them →

Aalirezarezvani on GitHub

Apple HIG Expert

Free

Audit and design Apple interfaces for HIG compliance.

Get this skill

Free · Opens the source repo

What Apple HIG Expert does

Apple HIG Expert is a specialized tool designed for developers and designers working on applications for iOS, macOS, watchOS, and visionOS. This skill enables users to audit their app interfaces against the Apple Human Interface Guidelines (HIG), ensuring that designs comply with Apple's standards for usability and aesthetics. With the introduction of the Liquid Glass design language, this skill is particularly relevant for those looking to create visually appealing and functional interfaces that align with the latest design trends from Apple.

The skill operates in two primary modes: designing from scratch and conducting HIG audits. In the design mode, users can select the appropriate navigation paradigms and layout primitives for their target platform, followed by applying typography and color schemes that adhere to Apple's guidelines. The audit mode allows users to fill out a provided template, run a comprehensive analysis using the included Python script, and receive a detailed report that highlights compliance scores and areas needing improvement.

The core functionality of the skill revolves around the hig_checker.py script, which provides automated checks for key design elements such as contrast ratios and tap-target sizes. Users can input their design specifications in a structured JSON format, and the script evaluates these elements against HIG standards, generating a scorecard that indicates compliance levels. This structured approach not only streamlines the auditing process but also helps identify specific violations that may hinder user experience.

Apple HIG Expert is ideal for teams focused on developing applications for Apple platforms, particularly those who prioritize user accessibility and adherence to design guidelines. By leveraging this tool, designers can ensure their applications are not only visually appealing but also functional and compliant with Apple's evolving standards.

When to use it

Use this skill when designing new Apple-platform applications or auditing existing ones for compliance with HIG.

When not to use it

This skill may not be suitable for non-Apple platforms or for designs that do not require adherence to Apple's specific guidelines.

What you can build with it

Auditing an Existing iOS App

Run a compliance check on your existing iOS app to identify areas that need improvement before release.

Designing a New macOS Application

Utilize the design mode to create a new macOS app interface that adheres to Apple's latest guidelines.

Ensuring Accessibility Compliance

Check that your app meets accessibility standards by verifying contrast ratios and tap-target sizes.

How to install Apple HIG Expert

View source

1. Install with the skills CLI

npx skills add alirezarezvani/claude-skills/apple-hig-expert --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by alirezarezvani

Apple HIG Expert

Design and audit apps against the Apple Human Interface Guidelines (HIG, developer.apple.com/design/human-interface-guidelines), including the Liquid Glass design language. HIG content evolves with each OS release — when a claim matters, verify against the live HIG pages cited in references/.

Before Starting

If product-context.md or ios-design-context.md exists, read it before asking questions. Then gather:

  1. Platform target: iOS, macOS, watchOS, or visionOS?
  2. Current state: new design or auditing an existing mockup/code?
  3. App category: utility, productivity, game, social, etc.

Modes

  • Mode 1 — Design from scratch: pick the platform navigation paradigm and layout primitives first (see references/platform-specifics.md), then apply typography and semantic color (references/visual-design.md).
  • Mode 2 — HIG audit: fill in templates/hig-audit-template.md, run scripts/hig_checker.py on every measurable element, and deliver a scored report (see Worked example below).

The Compliance Tool

scripts/hig_checker.py (stdlib-only) has three subcommands:

# 1. Contrast ratio (WCAG formula; pass >= 4.5:1 for normal text)
python3 scripts/hig_checker.py contrast "#8E8E93" "#FFFFFF"
# -> Contrast Ratio: 3.26 [FAILED]

# 2. Tap-target size (pass >= 44x44 pt per HIG)
python3 scripts/hig_checker.py target 32 32
# -> Tap Target: 32x32 [FAILED]

# 3. Batch audit from JSON -> scorecard (starts at 100, -10 per violation)
python3 scripts/hig_checker.py batch audit.json

Batch input shape:

{
  "checks": [
    {"type": "contrast", "name": "caption-on-card", "fg": "#8E8E93", "bg": "#FFFFFF"},
    {"type": "target", "name": "close-button", "w": 32, "h": 32}
  ]
}

Scorecard rubric: the batch score starts at 100 and subtracts 10 per failed check; violations are listed by element name. 90-100 = ship, 70-80 = fix before release, below 70 = systematic rework. Checks the tool cannot measure (VoiceOver labels, Dynamic Type behavior, Reduce Transparency) are assessed manually via the audit template and tagged with confidence.

Worked example: iOS settings-screen audit

Input: mockup with body text #1C1C1E and captions #8E8E93 on white cards, a 32x32 pt close button, and a 343x50 pt primary CTA.

Run:

python3 scripts/hig_checker.py batch audit.json

Output (real):

{
  "score": 80,
  "violations": [
    "Contrast 3.26 fails for caption-on-card",
    "Target 32x32 small for close-button"
  ]
}

Findings → fixes (bottom line first):

HIG score 80/100 — two fixes before release.

  1. Captions fail contrast (3.26 < 4.5). Use .secondaryLabel (semantic color) instead of hardcoded #8E8E93, or darken to ≥ #6E6E73 on white. 🟢 verified by tool.
  2. Close button is 32x32 pt (< 44x44 minimum). Keep the glyph small but expand the hit region to 44x44 with padding/contentShape. 🟢 verified by tool.
  3. Manual check: the card uses an ultra-thin material over a photo background — re-test caption contrast against the busiest underlying region and with Reduce Transparency on. 🟡 needs device test.

Core Design Principles

  1. Liquid Glass — translucent material hierarchy (announced at WWDC25, June 2025; shipped Sept 2025 across iOS 26, iPadOS 26, macOS Tahoe, watchOS 26, tvOS 26, visionOS 26). In SwiftUI, apply it via the glassEffect view modifier; keep hierarchy between content and controls. See references/visual-design.md.
  2. Accessibility first — VoiceOver labels on every element, 44x44 pt minimum targets, 4.5:1 contrast for normal text (3:1 large text), Dynamic Type support. See references/accessibility.md.
  3. Platform ergonomics — tab bars/thumb reach on iOS, sidebars + menu bar + shortcuts on macOS, ornaments + gaze states on visionOS, glanceable vertical layouts on watchOS. See references/platform-specifics.md.

Proactive Triggers

Surface these WITHOUT being asked: low contrast over translucent layers; interactive elements under 44 pt; icon buttons with no accessibility label; density overload (no breathing room between glass layers).

Communication

  • Bottom line first — compliance status before details.
  • What + Why + How — "Expand the hit region (What) because 32 pt targets fail the HIG minimum (Why); pad to 44x44 via contentShape (How)."
  • Confidence tagging — 🟢 tool-verified / 🟡 needs device test / 🔴 assumed.

Related Skills

  • ui-design-system: token-based component systems (not platform HIG rules).
  • ux-researcher-designer: persona/research validation (not visual styling).
  • landing-page-generator: web marketing pages, not native apps.

Frequently asked questions about Apple HIG Expert

Similar skills