Apple HIG skill: Apple design rules and an iPhone Duo redesign
justinwetch/HIGAgentSkills
Your AI assistant gets a shortened copy of Apple's design guidelines for iPhone, iPad, Mac, Apple TV, Vision Pro and Apple Watch. When you ask a design question or want a screen reviewed, it reads the matching pages and quotes the rule before applying it. A /duo command walks an existing iPhone app through a redesign for the folding iPhone Duo, and an optional strict mode has two separate reviewers score and fix your interface.
Pack description by its author: “Your AI assistant gets a shortened copy of Apple's design guidelines for iPhone, iPad, Mac, Apple TV, Vision Pro and Apple Watch. When you ask a design question or want a screen reviewed, it reads the matching pages and quotes the rule before applying it. A /duo command walks an existing iPhone app through a redesign for the folding iPhone Duo, and an optional strict mode has two separate reviewers score and fix your interface.”
Software engineeringKnowledge and rules for your assistantCommands you run when neededGives your assistant new abilities with scripts
1. Changes your files
Skills that write or edit files: duo, enforce mode.
github.com/justinwetch/HIGAgentSkills/blob/2206ff9/2. Runs code on your machine
Ordinary questions: If Python is available, the assistant saves your request to a text file in a temporary folder outside your project and runs scripts/hig_route.py to pick the pages. Standard library only, reads local files, no network. Without Python it does the same steps by hand. Enforce mode: The assistant runs scripts/hig_enforce.py on review files it writes under work/hig-enforce/ in your project; the script checks file hashes and arithmetic and writes a result.json there.
github.com/justinwetch/HIGAgentSkills/blob/2206ff9/3. Sends data
Skills are instructions your assistant follows: read SKILL.md before installing. Duo and enforce mode edit your app's code, and the install step may copy a command file into your user-level command folder.
github.com/justinwetch/HIGAgentSkills/blob/2206ff9/4. Commercial use
MIT covers the code and original material; the repo says the license does not extend to Apple's guideline material the reference files are distilled from
github.com/justinwetch/HIGAgentSkills/blob/2206ff9/Checked against the pack's files at commit 2206ff9, on Nov 19, 2026. Tap a verdict to see its source.How we checkedReport an error
Good for you if
- You design or build an app for an Apple device and want answers that quote Apple's own rules and exact sizes
- You want a review of an app's navigation, accessibility or layout against Apple's guidelines
- You ship an iPhone app and want to adapt it to the folding iPhone Duo in its own Swift code
- You design any interface and want established design principles to check against
Probably not for you if
- You want web mockups or HTML previews of a redesign: Duo mode never makes them
- Your app is web or cross-platform and you want the full Duo redesign: the Duo workflow targets native iOS apps
What its answer looks like
An enforce-mode finding
hig/state-continuity — material Observed: Opening the inner display resets the selected message. Source: designing-for-iphone-duo, Displays, poses, and continuity. Fix: Preserve selection outside the display-specific view branches. Verify: Select a message, open and close the device, confirm selection persists.
The skill's own example, from references/enforce.md. More examples
What you'll notice
- Answers start with a short quote of the Apple rule, then say how it applies to your case
- It names exact sizes and keeps Apple's wording strength (must, prefer, consider) apart
- With /duo: a short screen-by-screen summary, a table of choices with a recommendation, then a stop for your decision
- A duo-notes.md file in your project so a later /duo continue picks up where it left off
What you need
- Any agent with a skills folder, Agents that can read the skill files when given access
- Free, MIT license
- Put the apple-hig folder in your agent's skills folder and make sure the /duo command is available
- Python 3.10+ is optional for ordinary answers and required for the strict review mode; Duo build and simulator checks use Xcode 27.1 where available
Words on this page
- Skill
- A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
- Slash command
- A command you type in the assistant's chat, starting with /.
- Subagent
- A helper the assistant starts for one part of a task.
- Repository
- A project folder on GitHub with its files and history.
| Repository | justinwetch/HIGAgentSkills |
|---|---|
| GitHub stars | 841 |
| Skills | 1 |
| Category | Software engineering |
| License | MIT |
| Last updated | Oct 17, 2026 · card checked Nov 19, 2026 at commit 2206ff9 |
| Install counts | justinwetch/HIGAgentSkills on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
justinwetch/HIGAgentSkills popularity over time
What Apple HIG skill does
- Ordinary guidance (default): reads 16 foundation pages every time, then the page for your platform, the pages for the components you name and one hop of related pages
- Quotes the short Apple rule word for word, then gives only the application you asked for
- Keeps exact values, platform differences and the strength of each recommendation; says when it is unsure
- Duo mode (/duo): resume, assess, match, decide, build, verify, in that fixed order, in the app's own code
- Enforce mode (only when asked by name): two independent reviewers score the interface, the agent fixes what they find, up to three cycles, pass at 90/100
Never cut, per the skill: exact values and qualifiers, platform differences, recommendation strength, the user's choices in Duo mode.
| Level | Behaviour |
|---|---|
| ordinary | Answers and reviews from the guidelines (default) |
| duo | Guided iPhone Duo redesign of one app journey at a time |
| enforce | Scored review and repair loop with two independent reviewers |
From the pack's SKILL.md files, summarised by AgentGid.
The 3 skills, explained
apple-hig
Answers design questions and reviews screens using Apple's guidelines
You give
- Your question or the screens to review
- The platform and device, if not obvious
- Any platform or topic to leave out
You get
- A short quote of the Apple rule
- How it applies to your case, with exact values
- Each platform's rule stated separately where they differ
duo
Redesigns one flow of your existing iPhone app for the folding iPhone Duo
You give
- The journey or screens to adapt (otherwise it picks the app's main one)
- Your choices on its recommendations
- "continue" to resume a later session
You get
- A short screen-by-screen summary of the current design
- A table of decisions with options, a recommendation and the source
- Native code changes in SwiftUI or UIKit
- A list of checks it ran and checks it could not run
- duo-notes.md in your project
enforce mode
Two separate reviewers score your interface, the assistant fixes what they find and checks again
You give
- The interface to review and fix
- An agent that can start subagents and run Python 3.10+
- A way to see the real result (rendered screens or running the app)
You get
- A status: pass, needs changes or blocked
- Fixes made and findings left
- Overall and per-area scores
- Reviewer names and the number of correction cycles
See it in action
The skill defines what its answer looks like. Its own example:
hig/state-continuity — material Observed: Opening the inner display resets the selected message. Source: designing-for-iphone-duo, Displays, poses, and continuity. Fix: Preserve selection outside the display-specific view branches. Verify: Select a message, open and close the device, confirm selection persists.
From references/enforce.md.
When to reach for it
| You want | Use |
|---|---|
| A design question about an Apple platform or component | Ask normally, or "Use apple-hig to ..." |
| Adapt an existing iPhone app to the folding iPhone Duo | /duo <journey> |
| Pick up a Duo redesign in a new session | /duo continue |
| A scored review that also fixes the interface | "Use apple-hig in enforce mode to review and fix this interface" |
| The /duo command is missing after install | "Use apple-hig in Duo mode for <journey>" while you fix the install |
Skills in justinwetch/HIGAgentSkills
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
| apple-hig | Answers design questions and reviews screens using Apple's guidelines | No | Apple Human Interface Guidelines reference, updated for iPhone Duo and OS 27. Provides authoritative platform-specific design rules, component specifications, exact measurements, and interaction patterns for iOS, iPadOS, macOS, tvOS, visionOS, and watchOS. Use when designing, reviewing, auditing,…npx skills add justinwetch/HIGAgentSkills --skill apple-hig |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- It can switch on for any interface work, not only Apple apps: its description asks to be used for any digital interface.
- The guideline pages are a shortened rewrite of Apple's text, and the license does not cover Apple's material.
- Installing includes the /duo command; the skill tells the assistant to copy it into your user-level command folder if your agent does not pick it up.
- Duo mode edits your app's code and stops for your choices; it does not commit unless you ask.
- Upgrading from the June release: replace the whole folder, the pages moved.
- Not affiliated with Apple.
Before you start
Works in
- Any agent with a skills folder: skills folder
- Agents without skill discovery: files given to the agent
You will need
- Python 3.10+: Optional routing helper; required for enforce mode scoring
- Subagents: Enforce mode uses two independent reviewers
- Xcode 27.1 with the iPhone Duo simulator: Duo mode verification, where available
Steps only you can do
- Choose among the options in the Duo decision table (or say up front to use the assistant's recommendations) (The conversation, at Duo Stage 3)
Then: The assistant builds the chosen changes natively in Apple's order - Install Xcode 27.1 / the iOS 27.1 SDK if you want builds and the iPhone Duo simulator; the assistant does not upgrade Xcode for you (references/duo.md (Stage 4))
Then: The assistant can build, render previews and run the simulator checks - Check camera preview and mirroring on a physical iPhone Duo (references/duo.md (Stage 5))
Then: The camera check moves from "not run" to a result
Mistakes to avoid
Copy the new release over the June install
Delete the old skill folder and put the new one in its place; check for a second copy with the same name
The reference pages moved folders between releasesInstall the skill folder only and expect /duo to work
Check that /duo appears; if not, copy commands/duo.md into the agent's custom command or prompt folder
Some agents do not pick the command up from the skill folderExpect an ordinary review to score and fix the interface
Ask for enforce mode by name, with subagents, Python 3.10+ and a way to observe the result available
Only an explicit request starts enforce mode; without its capabilities it returns blockedAsk /duo for an HTML or image mockup of the new design
Ask for SwiftUI previews, or a description and the code diff
Duo mode forbids web and image mockups even as a fallbackTreat Duo simulator results as proof for a real device
Check camera preview and mirroring on a physical iPhone Duo
The workflow says a simulator does not prove on-device behaviour
Which one to pick
| If you need | Pick |
|---|---|
| You want Apple's guidelines quoted rule by rule for any Apple platform, plus an iPhone Duo redesign workflow | This pack |
| You build in Flutter, Tauri, Electron or React Native and want an Apple-style design review | dickwu/apple-design-skill |
| You need SwiftUI code best practices rather than design rules | twostraws/SwiftUI-Agent-Skill |
Works well with
- twostraws/SwiftUI-Agent-Skill: Duo mode builds changes in SwiftUI; a SwiftUI code skill covers the code side
- conorluddy/ios-simulator-skill: Duo Stage 5 runs checks in the iOS simulator
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | With conditions | MIT covers the code and original material; the repo says the license does not extend to Apple's guideline material the reference files are distilled from |
| Passing the files on | With conditions | MIT for the repo's own files (keep the notice); references/hig/, distilled/ and the Duo files are distilled from Apple material the license does not claim to cover |
| Work for clients | With conditions | MIT for the code and original material; Apple's material is outside the license |
| AI training | With conditions | The repo grants MIT only for its own material; the reference files are rewritten from Apple's guidelines, which it does not license |
What leaves your machine
- Requests for Apple's guideline pages, with a User-Agent naming the project → developer.apple.com, Only if someone runs the maintainer update scripts (scripts/crawl_apple_hig.py, scripts/capture_native_hig.py) by hand; not during normal use. Opt out: Do not run the maintainer scripts; the runtime package excludes them
Install Apple HIG skill
Official commands from the repository
Paste the README's install prompt to your agent; it installs the skill and the /duo command.
Extract the complete apple-hig/ folder from the release ZIP into your agent's skills folder (one project or all projects). If /duo does not appear after a restart, copy commands/duo.md into your agent's custom command or prompt folder.
Remove: Delete the apple-hig folder and the copied duo.md
Give the agent access to the extracted SKILL.md and the files next to it.
Or with the open-source skills CLI: npx skills add justinwetch/HIGAgentSkills. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit 2206ff9, Nov 19, 2026
| When | What happens |
|---|---|
| Ordinary questions | If Python is available, the assistant saves your request to a text file in a temporary folder outside your project and runs scripts/hig_route.py to pick the pages. Standard library only, reads local files, no network. Without Python it does the same steps by hand. |
| Enforce mode | The assistant runs scripts/hig_enforce.py on review files it writes under work/hig-enforce/ in your project; the script checks file hashes and arithmetic and writes a result.json there. |
| Duo mode | The assistant edits your app's code and keeps duo-notes.md in the project root; it may build and run the simulator if Xcode is available. |
| Install | The assistant may copy commands/duo.md into your user-level custom command folder. |
| Never at runtime | The repository also holds maintainer scripts that download pages from developer.apple.com and build the release ZIP. They are not part of the runtime package and the skill never tells the assistant to run them; network use happens only if someone runs them by hand. |
The author's numbers, as reported
AgentGid did not run these tests
Quick answers
- Is it free?
- Yes. The code and original material are MIT; Apple's guideline material is not covered by that license.
- Does it need Python?
- Not for ordinary answers. Python 3.10+ adds a routing helper and is required for enforce mode.
- Will /duo make web mockups of the new design?
- No. It works only in the app's own code and uses SwiftUI previews or the simulator.
- Does a normal review start the strict scoring mode?
- No. Enforce mode starts only when you ask for it by name.
- Does it send anything online?
- No. The runtime helpers read local files; only maintainer scripts outside the runtime package reach Apple's website.
Checked by AgentGid on Nov 19, 2026 against commit 2206ff9 of the pack's own files. Related: shadcn-ui/lint. agent.md for AI agents · Report a mistake
More software engineering skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
Gets a set of working habits for building software. It interviews you about a plan before it builds, turns the talk into a spec and small tickets, builds them test-first and reviews the result. |
330K | +32.5K | 39 | ||
| 2 |
Follows one fixed way of working. Before it builds anything, it asks what you really want and writes a short design for you to approve. Then it writes a step-by-step plan, builds it with tests first, has the work checked and asks how you want to finish. |
324K | +18.8K | 15 | ||
| 3 |
Gets four rules: think before coding, keep it simple, change only what you asked for, and set a clear goal it can check. It asks before guessing and writes less extra code. The rules come from the README's reading of a public post by Andrej Karpathy; the files do not say he made or reviewed them. |
235K | +14K | 1 | ||
| 4 |
DietrichGebert/ponytail
Checked
Stops overbuilding. It does what you asked in the simplest way that works, reuses what your project already has, and ends every answer by telling you what it left out. |
197K | +27.3K | 6 | ||
| 5 |
This repo is mostly a big collection of AI apps and tutorials. Its agent_skills folder holds seven separate skills you install one at a time. They help your assistant explain why old code exists, check a change or a package list, or find your abandoned side projects. Others test a draft on simulated readers, untangle a voice ramble, or split a big job across several AI models. |
145K | +3,089 | 10 | ||
| 6 |
Works like a careful senior engineer. It writes down what to build before coding, splits the work into small steps, proves each step with a test and reviews the result before launch. Nine slash commands cover the stages, and 25 skills switch on when a task matches. |
120K | +11K | 26 |
No pack matches.