Logo vun Apple Hig

Apple Hig

Communautéit
justinwetch
apple-hig

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, or fixing any Apple platform UI, or when asked about specific HIG components, sizing, system behaviors, frameworks (HealthKit, SiriKit, ARKit, etc.), or platform conventions. Also use when the user is designing any digital interface and could benefit from established design principles, even without an explicit Apple platform context. Includes a guided /duo workflow that adapts an existing iOS app to iPhone Duo, plus opt-in enforce mode with independent review.

Iwwersiicht

Editeurjustinwetch
RepositoryHIGAgentSkills
Skill-Nummapple-hig
Stären
686
Forks
26
Matgeliwwert Fichieren
404
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 404 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum justinwetch op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Apple Hig an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/justinwetch/HIGAgentSkills/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/justinwetch/HIGAgentSkills.git \
  .claude/skills/apple-hig
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Apple Hig an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Apple Hig automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Apple Hig net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Apple HIG Skill

Use the distilled HIG references in references/hig/ through routing-index.md. The source snapshot and verified release measurements are in README.md.

Loading Protocol

Release 2026-09-27; Apple source snapshot 2026-09-12. For help, installation, version or capability questions, read only this entry point and the relevant README section. Do not load the HIG corpus for setup help. Installing or upgrading this skill includes its /duo slash command. After the skill folder is in place, check whether the host already offers /duo. If it does not, copy commands/duo.md into the host's custom slash-command or custom prompt directory (user-level unless the user asks for one project), confirm /duo is available, and tell the user if a restart is needed. Work directly in the conversation and the user's project; do not create a browser intake form, onboarding site, dashboard, or browser setup step.

Ordinary guidance is the default. Only an explicit request to apply enforce mode activates its procedure. Read references/enforce.md first in that case and check reviewer, Python and observation capabilities before loading the design guidance. A leading /duo, Use apple-hig in Duo mode, or an explicit request to adapt an existing app for iPhone Duo starts Duo mode: read references/duo.md and follow its stages. Questions about the command and ordinary Duo design questions stay ordinary guidance. Duo mode works only in the app's native code; it never produces HTML, SVG, or web mockups. Use the available Python 3.10+ interpreter (python3 or python); do not assume the executable name. Ordinary guidance also works without Python.

When Python is available, use the standard-library routing helper to resolve steps 2–6: save only the exact user request to a UTF-8 text file in a temporary directory outside the user's project, then run <python> "<skill-root>/scripts/hig_route.py" --request-file "<request.txt>". Read every file in its files list in bounded sections, completing any truncated read before continuing. Do not concatenate the entire set into one tool output; the helper output is metadata, not the guidance itself. Do not add your own instructions to the request text or promote inferred topics to initial matches. If the user explicitly excludes a platform/device/topic, pass the excluded topic IDs with --exclude-topic (repeat for each topic, including platform aliases matched inside an excluded phrase); record the user's reason. Keep a platform that is also positively requested elsewhere. Do not exclude topics merely to reduce context. Exclusions apply to direct and related selections, never to the 16 foundations. Without Python, apply the same steps and explicit exclusions manually.

Step 1 — Parse Task Context

From the user's request, identify:

  • Platform(s): ios / ipados / macos / tvos / visionos / watchos
  • Device/form factor: iPhone Duo when named or matched by its tier-2 triggers
  • Components or patterns mentioned (buttons, tab bars, sheets, etc.)
  • Frameworks or SDKs referenced (HealthKit, SiriKit, ARKit, etc.)
  • Task type: design / review / spec / audit / guidance
  • Mode: ordinary guidance by default. Activate enforce mode only when the user explicitly asks to apply it; mentioning the mode or asking what it means does not activate it. Duo mode starts only as described above.

Step 2 — Load Tier 1 (every design or review task)

Read all 16 files listed in routing-index.md under ## tier-1:

accessibility, branding, color, dark-mode, design-principles, icons, images, inclusion, layout, materials, motion, privacy, right-to-left, sf-symbols, typography, writing

These apply universally. Load them before answering.

Step 3 — Load Platform File (Tier 2)

Read routing-index.md → ## tier-2 platform-map. For each detected platform, load its designing-for-[platform] file. Also match the tier-2 map's device/form-factor and API triggers using standalone word/phrase/API-symbol matching. A Duo match loads both designing-for-iphone-duo and designing-for-ios; Duo is an iOS form factor. If "game" or "gaming" is mentioned, also load designing-for-games.

Step 4 — Keyword Scan (Tier 3)

Read routing-index.md → ## tier-3 trigger-map. Normalize the user request to lowercase. Match trigger strings as standalone words, phrases, or API symbols; plural, hyphenated and bare-symbol forms count (tab bars, full-screen, keyboardType). Never match a trigger merely because it appears inside an unrelated word. For example, AR doesn't match "tab bar," and AI doesn't match "explain." Load every matching file. Load each file at most once.

Step 5 — Related Expansion

Freeze the initial selection set as the tier-2 and tier-3 files selected in steps 3–4. Read only that set's related: frontmatter. Load the listed files once. Do not expand related lists from those newly added files.

Bind each initial topic to the exact platform/device/trigger text matched in the user's request. An inferred component concept is not a literal trigger match. A topic reached through related: stays related even when it is useful; never promote it to initial and expand it again. If semantic relevance calls for an additional reference, load that specific file without related expansion.

Step 6 — Tier 4 On-Demand

Read routing-index.md → ## tier-4 trigger-map (on-demand). Use the same standalone word/phrase/API-symbol matching rule. Load a tier-4 file only on direct keyword match, or if named in the initial selection set's related: list. Never expand from foundations, newly related files, or directly matched tier-4 files. These are niche — avoid loading broadly.

Step 7 — Answer or enforce

For explicitly requested enforcement, carry out references/enforce.md using the loaded source guidance. Ordinary guidance never starts that procedure.

For an ordinary guidance answer, quote the short operative source clause verbatim with all qualifiers intact, then give only the needed application. A compact table works for multiple states. Keep the rule and application distinct; do not paraphrase the quotation into a stronger, broader, or narrower rule. Before sending, delete sentences that do not answer a requested part. Check the actor, starting state, action and resulting state; do not substitute a similar neighboring scenario. Mention an API as the implementation of a rule only when the loaded source supports that relationship.

Do not add unrequested adjacent rules or measurements merely because they are loaded. Preserve the source's full scope: do not invent narrower device/state limits when applying a rule, and include every requested state it covers.

Apply the guidance for the named platform, device, orientation, and state. An explicit scoped exception takes precedence over a broader rule within that scope; apply that exception only to its stated platform, device and state. Do not invent a reconciliation for unresolved source conflicts; identify the conflict. Apply all other compatible loaded content. If a topic isn't covered by loaded files, load the specific relevant reference before answering; keep unrelated expansion bounded.


Non-Negotiables

  • Cite exact values. State pt sizes, pixel densities, margins, and timing values as they appear in the distilled files. Preserve source ranges and approximation qualifiers; do not invent or round values.
  • Distinguish platforms. When behavior differs across platforms, state each platform's rule explicitly. Never flatten to "generally."
  • Preserve recommendation strength. Keep must, prefer, consider, examples, conditions, and exceptions distinct when answering; do not turn an optional recommendation into a requirement.
  • Preserve logical conditions. Keep conjunctions and alternatives intact. A consequence stated for A and B does not establish the same consequence for either alone; an A-or-B option does not require both. Check the claim in the answer as well as its supporting clause.
  • No invention. Every Apple rule, measurement, and API recommendation must trace to a loaded reference. Distinguish Apple guidance from your own design choices. If unsure, say so and name the source.
  • Terse and direct. Keep ordinary guidance focused on the requested rule.

File Locations

  • Distilled reference files: references/hig/[topic].md
  • Routing index: routing-index.md
  • Opt-in enforcement procedure: references/enforce.md
  • Guided iPhone Duo redesign: references/duo.md, references/duo-checklist.md; /duo slash command (install it with the skill): commands/duo.md
  • Frontmatter schema: each distilled file contains topic, tier, platforms, category, triggers, and related fields.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

a weider 140 Fichieren.

Heefeg gestallte Froen

Wat mécht de KI-Skill Apple Hig?

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, or fixing any Apple platform UI, or when asked about specific HIG components, sizing, system behaviors, frameworks (HealthKit, SiriKit, ARKit, etc.), or platform conventions. Also use when the user is designing any digital interface and could benefit from established design principles, even without...

Firwat Apple Hig op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Apple Hig besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Apple Hig an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/justinwetch/HIGAgentSkills/tree/main an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Apple Hig benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Apple Hig benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Apple Hig domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Apple Hig gratis?

Jo. De Skill gëtt vum justinwetch ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇