Peilin Wu’s apple-design is an open-source agent skill that loads Apple’s Human Interface Guidelines into a coding agent, so the agent can review a screen, or redesign it, against them. It carries 123 pages of Apple’s guidelines as Apple published them, a curated Liquid Glass guide, and notes for translating Apple’s vocabulary into Flutter, React Native, Tauri and Electron.
I installed it, wrote a deliberately bad phone screen and had five models redesign it in opencode, once with the skill and once without. Text contrast and dark mode moved a lot. Tap targets barely moved. The skill made four of the five runs slower and all five of them dearer.
What the skill is
The repository is a SKILL.md of about 425 lines, an AGENTS.md, and a references folder. In it are 123 Markdown pages of Apple’s guidelines for iOS, iPadOS and macOS, plus a curated liquid-glass.md, a cross-platform.md that maps Apple’s terms onto other frameworks, a code-audit.md, and a summary of Apple’s archived guidelines from 1987 to 2014. A script, pull-hig.mjs, re-pulls the pages from the JSON behind Apple’s own site in about 170 requests. The bundled snapshot is dated 28 October.
It installs with the skills CLI:
npx skills add dickwu/apple-design-skill
The installer put it in .agents/skills/apple-design, and opencode loaded it when asked. The README lists the same install for Claude Code, Cursor, Codex and Antigravity.

The brief tells the agent to read before it cites: load the accessibility, layout, typography and colour pages first, then three to six more depending on what’s on screen, and name the file and heading behind every finding. Past the review there are modes for iPhone Duo, app icons, dark mode, Liquid Glass, onboarding, generative AI features and a code audit that searches source for hand-drawn Apple Pay buttons. The README says those buttons cause App Store Review Guideline 4.9 rejections. An improvement mode plans a token system and one “signature element” before it proposes anything, which is its answer to generic AI-made interfaces.
Where it sits
Apple reintroduced the design principles in the guidelines in June 2026: purpose, agency, responsibility, familiarity, flexibility, simplicity, craft and delight, with a WWDC26 session called Principles of great design. On 9 September it added Designing for iPhone Duo, a new page on the two-display phone, its poses and the toolbars and tab bars that move to the side. The skill bundles both and builds its review around the principles.
It isn’t the only skill of its kind. At least six public repositories package the same guidelines for agents, and they differ mainly in how much of Apple’s text survives.
| Repository | Approach |
|---|---|
| dickwu/apple-design-skill | 123 pages in Apple’s own wording, regenerated by script, with a curated Liquid Glass guide, iPhone Duo and code-audit modes. MIT for the repository, not for Apple’s text. |
| justinwetch/HIGAgentSkills | 157 references rewritten to roughly a third of Apple’s wording, a /duo workflow for the folding iPhone, and an optional enforce mode where two reviewers score the result. MIT. |
| ebuntario/apple-hig | 68 reference files cited to the live guidelines, aimed at SwiftUI, UIKit and AppKit. Version 1.0.0. |
| tzzs/apple-design-skill | A paraphrased summary plus a sitemap of official URLs for the agent to fetch live. Claude Code plugin. MIT. |
| gotired/apple-design-skills | Six local skills: a router, guidance, web build, review, a render check in light, dark and narrow layouts, and a refresh. Works in Codex and Claude Code. |
| raintree-technology/hig-doctor | Audit tooling with rule counts per framework, from 70 for SwiftUI to 122 for React, on top of 14 reference skills. |
The trade is context against fidelity. Condensed references are cheap to load but are somebody’s summary of Apple. Apple’s pages as published are exact and heavy: the 123 files hold about 172,000 words. The skill copes by telling the agent to open eight to twelve of them, and the runs below did roughly that.
The README is plain about ownership. The skill, the curated guides and the script are MIT-licensed. The guideline text belongs to Apple, carries a source link at the top of every file, and isn’t covered by the MIT licence. The project isn’t affiliated with Apple.
What I ran
The test app is Tally, a 4.8 KB single-file mobile web screen I wrote to break the guidelines on purpose: 9 px text, grey type on white and white type on a gradient, a 26 px add button, switches built from 30 by 16 px divs, emoji for tab icons, a button that pulses forever, remove links 10 px tall and no dark mode. Of 38 text items, 19 fail WCAG AA contrast. The worst is 1.61 to 1.

opencode 1.19.6 ran each model twice from a clean copy of the folder: once with the skill installed and the prompt naming it, once with no skill. DeepSeek V4.1 Flash ran through Morph, Kimi K3.1 Pro through Synthetic, Claude Haiku 5.5, GPT-6.2 Sol and Gemini 4 Neon through their own APIs. Here are the exact prompts. Without the skill:
index.html in this folder is the home screen of a personal finance web app called Tally, meant to be used on a phone. Redesign it so it feels at home on iOS and follows Apple's Human Interface Guidelines. Keep every piece of content and every working interaction (toggles, add, remove, export). Edit index.html in place, as a single self-contained file with no external resources. Check your work in a browser at 390 by 844 if you can, then reply with a short summary of what you changed.
With the skill, the same text with one sentence in front:
Use the apple-design skill. index.html in this folder is the home screen of a personal finance web app called Tally, meant to be used on a phone. Redesign it so it feels at home on iOS and follows Apple's Human Interface Guidelines. Keep every piece of content and every working interaction (toggles, add, remove, export). Edit index.html in place, as a single self-contained file with no external resources. Check your work in a browser at 390 by 844 if you can, then reply with a short summary of what you changed.
I measured the ten files in headless Chromium at 390 by 844. Contrast is computed from each text item’s rendered colour against its background, taking the worst gradient stop. Hit areas are found by probing which element sits under each point around a control, so extended touch areas count. Dark mode is tested by emulating the phone’s dark setting. I also clicked the toggles, add, remove and export on every file. All ten kept every piece of content and every interaction, though two changed how removal works.
The results
| Model | Text under 4.5 to 1 | Dark mode | Controls under 44 px | Time |
|---|---|---|---|---|
| DeepSeek V4.1 Flash | 6, then 0 | no, then yes | 5, then 4 | 1:32, then 3:30 |
| Kimi K3.1 Pro | 14, then 0 | no, then yes | 5, then 0 | 2:33, then 4:30 |
| Claude Haiku 5.5 | 8, then 0 | yes, then yes | 0, then 1 | 0:52, then 1:53 |
| GPT-6.2 Sol | 0, then 0 | no, then yes | 0, then 0 | 2:50, then 4:36 |
| Gemini 4 Neon | 7, then 0 | yes, then yes | 4, then 0 | 3:47, then 3:34 |

Without the skill, every model already pushed Tally towards iOS: system fonts, grouped lists, a proper switch, a tab bar with drawn icons. What they missed was the checking. Four of the five left text under the contrast floor, with the worst item at 2.2 to 1 in the Haiku and Neon runs. GPT-6.2 Sol was the exception and passed with nothing to fix. With the skill, no run failed, and the lowest ratio anywhere was 4.69 to 1. Text size followed: four unaided runs kept 10 px text, where Apple’s minimum for iOS is 11 points. Every skill run floored at 11.

Dark mode is where the skill changed the output most visibly. Three of the five unaided runs never added it. All five skill runs did, and four of the five added a higher-contrast variant as well, which none of the unaided runs did.

Tap targets are the weak spot. Apple asks for a hit region of at least 44 by 44 points. Three unaided runs fell short: DeepSeek and Kimi left the add button and every Remove control at 36 to 40 px, and Neon left Remove links 19 px tall. With the skill, Kimi and Neon cleared 44. DeepSeek’s Remove links grew to 42 px, though its own summary said it had met 44, and Haiku’s new Edit button is 38 px tall.
What the skill did to the design
Two skill runs changed the interaction, not just the look. GPT-6.2 Sol added an undo bar after a row is removed, and DeepSeek added an Undo toast; both trace to the guidelines’ agency principle, which asks for easy recovery from mistakes. Haiku moved Remove behind an Edit button on the list, the way iOS lists work. That follows the pattern and still removes rows, but it isn’t the flow I asked it to keep, and it’s the one place a skill run bent the brief.
The unaided runs did none of this. They restyled and left behaviour alone.
What it costs

The extra time is reading. DeepSeek, Kimi, Neon and Sol opened between 11 and 13 reference pages each; Haiku read them through shell commands. By opencode’s own cost estimate each run cost more with the skill: DeepSeek about 2 cents became 7 cents, Haiku 1 cent became 3, Kimi 18 cents became 54, Sol 18 cents became 42 and Neon 38 cents became 69. Neon is the one run that came out faster, 3:34 against 3:47.
Watch a run
Here is one full run in the opencode terminal, DeepSeek V4.1 Flash with the skill, from the typed prompt to its summary, uncut. It’s a separate run from the one in the table, so its time differs.
How to use it
- Install it with
npx skills add dickwu/apple-design-skilland say “use the apple-design skill” in the prompt. - Name the platform and framework, since the skill translates Apple’s terms for Flutter, React Native, Tauri and Electron.
- Ask for a review first if you want to keep control, since a redesign prompt hands the agent the whole file.
- Check the numbers it claims. Ask the agent to measure hit areas and contrast in a browser, because a summary that says 44 points can still hide a 42 pixel control.
- Re-run
node scripts/pull-hig.mjsbefore you rely on newer pages, as the bundled snapshot is dated 28 October.
That is one screen and one run per model and setup, so treat the timings, the costs and the tap-target result as a smoke test. The contrast and dark-mode results were the same in every model that ran with the skill.
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.




