ios-hig

ios-hig is a skill for Claude Code from johnrogers/claude-swift-engineering. It costs 49 tokens per session (570 once invoked), scanned A, original, MIT.

Guidance based on Apple's Human Interface Guidelines for designing iOS screens and interactions. It covers native layout patterns, accessibility, dark mode, animation, haptics, and permission requests.

In plain words
What is it for?
Use it when designing or reviewing iOS screens, navigation, buttons, accessibility labels, dark mode, gestures, feedback, loading states, or permission prompts.
Why use it?
It helps avoid interfaces that feel unfamiliar, are difficult to use, or cannot be accessed well with tools such as VoiceOver or Dynamic Type. It also gives concrete rules for touch sizes, contrast, and system behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the swift-engineering plugin — 17 skills, 3 commands, 11 agents shipped together

Good fit Use it when designing or reviewing iOS screens, navigation, buttons, accessibility labels, dark mode, gestures, feedback, loading states, or permission prompts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnrogers/claude-swift-engineering/ios-hig
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add johnrogers/claude-swift-engineering --skill ios-hig
Clone the repo
git clone --depth 1 https://github.com/johnrogers/claude-swift-engineering

Made for: Claude Code.

Or install swift-engineering, the plugin that ships this one along with the rest of its 17 skills, 3 commands, 11 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ios-hig

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnrogers/claude-swift-engineering/ios-hig/github.svg)](https://agentmods.dev/skills/johnrogers/claude-swift-engineering/ios-hig)
Your own site
<a href="https://agentmods.dev/skills/johnrogers/claude-swift-engineering/ios-hig"><img src="https://agentmods.dev/badge/skills/johnrogers/claude-swift-engineering/ios-hig/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ios-hig

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnrogers/claude-swift-engineering/ios-hig"><img src="https://agentmods.dev/badge/skills/johnrogers/claude-swift-engineering/ios-hig.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 570 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00570
Opus 5 $0.00024 $0.00285
Sonnet 5 $0.00010 $0.00114
Haiku 4.5 $0.00005 $0.00057

Measured 10d ago against content hash 518374646e96, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ios-hig scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/swift-engineering/skills/ios-hig/SKILL.md · 37 lines

How it starts

The opening of the file, as written. The whole thing — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.

iOS Human Interface Guidelines

Apple's Human Interface Guidelines define the visual language, interaction patterns, and accessibility standards that make iOS apps feel native and intuitive. The core principle: clarity and consistency through thoughtful design.

Reference Loading Guide

ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.

Reference Load When
Interaction Touch targets, navigation, layout, hierarchy, or gesture patterns
Content Empty states, writing copy, typography, or placeholder text
Visual Design Colors, materials, contrast, dark mode, or SF Symbols
Accessibility VoiceOver, Dynamic Type, Reduce Motion, or accessibility labels
Feedback Animations, haptics, loading states, or error messages
Performance Responsiveness, system components, or app launch
Privacy Permission requests, data handling, or privacy-sensitive APIs

Common Mistakes

  1. Touch targets smaller than 44x44 points — Buttons and interactive elements must be at least 44x44 points (iOS) to accommodate thumbs. Smaller targets cause frustrated users and accessibility failures.

  2. Ignoring Dynamic Type constraints — Text with fixed sizes doesn't respect user accessibility settings. Use Dynamic Type sizes, test with Large or Extra Large settings, and avoid hardcoded font sizes.

  3. Insufficient color contrast in dark mode — Colors that work in light mode may fail accessibility in dark mode. Test with Reduce Contrast accessibility setting enabled for both modes.

  4. Over-animating transitions — Animations that feel smooth at 60fps can trigger motion sickness in users with vestibular issues. Respect Reduce Motion settings and keep animations under 300ms.

Read the full file on GitHub · 37 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 37 lines · 49 tokens per session scan A 518374646e96

Subscribe to this mod's changes

ios-hig is a skill published in the GitHub repository johnrogers/claude-swift-engineering (228 stars, last pushed 7mo ago), licensed MIT. It adds 49 tokens to every session and 570 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

display-glasses-with-jetpack-compose-glimmer

Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…

android/skills · 91 tokens

expo-design-system

Framework (OSS). Build and maintain a design system inside an Expo app - a reusable theme of design tokens (color, spacing, typography, radius, shadow, motion), reusable component structure with variant/size/state prop conventions, and rules for when to extract a repeated view into a shared component. Use when…

expo/skills · 201 tokens

flutter-build-responsive-layout

Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form factors.

flutter/agent-plugins · 51 tokens

omh-apple-design

This is a Hermes-native apple-design workflow skill.

rlaope/oh-my-hermes · 73 tokens

axiom-audit-liquid-glass

Use when the user mentions Liquid Glass review, iOS 26 UI updates, toolbar improvements, or visual effect migration.

CharlesWiltgen/Axiom · 32 tokens

axiom-audit-ux-flow

Use when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens