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.5 $0.00020 $0.00228
Sonnet 5.5 $0.00010 $0.00114
Haiku 4.5 $0.00005 $0.00057

Measured 3mo ago against content hash 518374646e96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (236 stars, last pushed 10mo ago), licensed MIT. It adds 49 tokens to every session and 570 once invoked, about $0.0002 per session on Opus 5.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

ios-hig compared with skills from other repositories

ios-hig next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ios-higjohnrogers/claude-swift-engineeringSkill23610mo agoMITA49Claude Code
hig-foundationssickn33/agentic-awesome-skillsSkill51ktodayMITA12Claude Code
hig-inputssickn33/agentic-awesome-skillsSkill51ktodayMITA32Claude Code
display-glasses-with-jetpack-compose-glimmerandroid/skillsSkill11k10d agoApache-2.0A112Claude Code
glance-canonical-layoutsandroid/skillsSkill11k10d agoApache-2.0A56Claude Code
expo-design-systemexpo/skillsSkill4.3ktodayMITA90Claude Code, Codex
flutter-build-responsive-layoutflutter/agent-pluginsSkill3.2kyesterdayBSD-3-ClauseA51Claude Code