{"slug":"hig-foundations","title":"hig-foundations","summary":"When the user asks about color, dark mode, typography, Dynamic Type, SF Symbols, icons, app icons, layout and safe areas, materials, motion, accessibility, privacy prompts, right-to-left support, inclusion, branding, images, or UI writing in an Apple app. Covers the shared HIG fo","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-29T00:42:06.738734Z","repo":{"url":"https://github.com/raintree-technology/hig-doctor","stars":159,"forks":10,"license":"MIT","updatedAt":"2026-11-28T19:46:02Z"},"bodyHtml":"<hr>\n<h2>name: hig-foundations\ndescription: &gt;-\nWhen the user asks about color, dark mode, typography, Dynamic Type, SF Symbols,\nicons, app icons, layout and safe areas, materials, motion, accessibility, privacy\nprompts, right-to-left support, inclusion, branding, images, or UI writing in an Apple\napp. Covers the shared HIG foundations every platform builds on. For per-platform\nrules, see hig-platforms. For specific components, see the hig-components-* skills.\nlicense: MIT. Apple HIG content is © Apple Inc.\nmetadata:\nversion: \"1.1.0\"\nhig-snapshot: \"2025-02-02\"</h2>\n<h1>Apple HIG: Design Foundations</h1>\n<p>Read <code>.agents/apple-design-context.md</code> (or the older <code>.claude/apple-design-context.md</code>) before asking questions. Use what it records and only ask for what is missing.</p>\n<h2>Key Principles</h2>\n<ol>\n<li><p><strong>Prioritize content over chrome.</strong> Reduce visual clutter. Use system-provided materials and subtle separators rather than heavy borders and backgrounds.</p>\n</li>\n<li><p><strong>Build in accessibility from the start.</strong> Design for VoiceOver, Dynamic Type, Reduce Motion, Increase Contrast, and Switch Control from day one. Every interactive element needs an accessible label.</p>\n</li>\n<li><p><strong>Use system colors and materials.</strong> System colors adapt to light/dark mode, increased contrast, and vibrancy. Prefer semantic colors (<code>label</code>, <code>secondaryLabel</code>, <code>systemBackground</code>) over hard-coded values.</p>\n</li>\n<li><p><strong>Use platform fonts and icons.</strong> SF Pro, SF Compact, SF Mono by default. New York for serif. Follow the type hierarchy at recommended sizes. Use SF Symbols for iconography.</p>\n</li>\n<li><p><strong>Match platform conventions.</strong> Align look and behavior with system standards. Provide direct, responsive manipulation and clear feedback for every action.</p>\n</li>\n<li><p><strong>Respect privacy.</strong> Request permissions only when needed, explain why clearly, provide value before asking for data. Design for minimal data collection.</p>\n</li>\n<li><p><strong>Support internationalization.</strong> Accommodate text expansion, right-to-left scripts, and varying date/number formats. Use Auto Layout for dynamic content sizing.</p>\n</li>\n<li><p><strong>Use motion purposefully.</strong> Animation should communicate meaning and spatial relationships. Honor Reduce Motion by providing crossfade alternatives.</p>\n</li>\n</ol>\n<h2>Reference Index</h2>\n<table>\n<thead>\n<tr>\n<th>Reference</th>\n<th>Topic</th>\n<th>Key content</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"references/accessibility.md\">accessibility.md</a></td>\n<td>Accessibility</td>\n<td>VoiceOver, Dynamic Type, color contrast, motor accessibility, Switch Control, audio descriptions</td>\n</tr>\n<tr>\n<td><a href=\"references/app-icons.md\">app-icons.md</a></td>\n<td>App Icons</td>\n<td>Icon grid, platform-specific sizes, single focal point, no transparency</td>\n</tr>\n<tr>\n<td><a href=\"references/branding.md\">branding.md</a></td>\n<td>Branding</td>\n<td>Integrating brand identity within Apple's design language, subtle branding, custom tints</td>\n</tr>\n<tr>\n<td><a href=\"references/color.md\">color.md</a></td>\n<td>Color</td>\n<td>System colors, Dynamic Colors, semantic colors, custom palettes, contrast ratios</td>\n</tr>\n<tr>\n<td><a href=\"references/dark-mode.md\">dark-mode.md</a></td>\n<td>Dark Mode</td>\n<td>Elevated surfaces, semantic colors, adapted palettes, vibrancy, testing in both modes</td>\n</tr>\n<tr>\n<td><a href=\"references/icons.md\">icons.md</a></td>\n<td>Icons</td>\n<td>Glyph icons, SF Symbols integration, custom icon design, icon weights, optical alignment</td>\n</tr>\n<tr>\n<td><a href=\"references/images.md\">images.md</a></td>\n<td>Images</td>\n<td>Image resolution, @2x/@3x assets, vector assets, image accessibility</td>\n</tr>\n<tr>\n<td><a href=\"references/immersive-experiences.md\">immersive-experiences.md</a></td>\n<td>Immersive Experiences</td>\n<td>AR/VR design, spatial immersion, comfort zones, progressive immersion levels</td>\n</tr>\n<tr>\n<td><a href=\"references/inclusion.md\">inclusion.md</a></td>\n<td>Inclusion</td>\n<td>Diverse representation, non-gendered language, cultural sensitivity, inclusive defaults</td>\n</tr>\n<tr>\n<td><a href=\"references/layout.md\">layout.md</a></td>\n<td>Layout</td>\n<td>Margins, spacing, alignment, safe areas, adaptive layouts, readable content guides</td>\n</tr>\n<tr>\n<td><a href=\"references/materials.md\">materials.md</a></td>\n<td>Materials</td>\n<td>Vibrancy, blur, translucency, system materials, material thickness</td>\n</tr>\n<tr>\n<td><a href=\"references/motion.md\">motion.md</a></td>\n<td>Motion</td>\n<td>Animation curves, transitions, continuity, Reduce Motion support, physics-based motion</td>\n</tr>\n<tr>\n<td><a href=\"references/privacy.md\">privacy.md</a></td>\n<td>Privacy</td>\n<td>Permission requests, usage descriptions, privacy nutrition labels, minimal data collection</td>\n</tr>\n<tr>\n<td><a href=\"references/right-to-left.md\">right-to-left.md</a></td>\n<td>Right-to-Left</td>\n<td>RTL layout mirroring, bidirectional text, icons that flip, exceptions</td>\n</tr>\n<tr>\n<td><a href=\"references/sf-symbols.md\">sf-symbols.md</a></td>\n<td>SF Symbols</td>\n<td>Symbol categories, rendering modes, variable color, custom symbols, weight matching</td>\n</tr>\n<tr>\n<td><a href=\"references/spatial-layout.md\">spatial-layout.md</a></td>\n<td>Spatial Layout</td>\n<td>visionOS window placement, depth, ergonomic zones, Z-axis design</td>\n</tr>\n<tr>\n<td><a href=\"references/typography.md\">typography.md</a></td>\n<td>Typography</td>\n<td>SF Pro, Dynamic Type sizes, text styles, custom fonts, font weight hierarchy, line spacing</td>\n</tr>\n<tr>\n<td><a href=\"references/writing.md\">writing.md</a></td>\n<td>Writing</td>\n<td>UI copy guidelines, tone, capitalization rules, error messages, button labels, conciseness</td>\n</tr>\n</tbody>\n</table>\n<h2>Applying Foundations Together</h2>\n<p>Consider how principles interact:</p>\n<ol>\n<li><p><strong>Color + Dark Mode + Accessibility</strong> -- Custom palettes must work in both modes while maintaining WCAG contrast ratios. Start with system semantic colors.</p>\n</li>\n<li><p><strong>Typography + Accessibility + Layout</strong> -- Dynamic Type must scale without breaking layouts. Use text styles and Auto Layout for the full range of type sizes.</p>\n</li>\n<li><p><strong>Icons + Branding + SF Symbols</strong> -- Custom icons should match SF Symbols weight and optical sizing. Brand elements should integrate without overriding system conventions.</p>\n</li>\n<li><p><strong>Motion + Accessibility + Feedback</strong> -- Every animation must have a Reduce Motion alternative. Motion should reinforce spatial relationships, not decorate.</p>\n</li>\n<li><p><strong>Privacy + Writing + Onboarding</strong> -- Permission requests need clear, specific usage descriptions. Time them to when the user will understand the benefit.</p>\n</li>\n</ol>\n<h2>Check existing code</h2>\n<p>If the project has source code, run <code>npx hig-doctor .</code> (or the <code>hig_audit_file</code> MCP tool on one file) and cite its findings (rule ID, line, HIG link) alongside this guidance. Findings are review evidence, not proof of HIG conformance.</p>\n<h2>Output Format</h2>\n<ol>\n<li><strong>Cite the specific HIG foundation</strong> with file and section.</li>\n<li><strong>Note platform differences</strong> for the user's target platforms.</li>\n<li><strong>Provide concrete code patterns</strong> (SwiftUI/UIKit/AppKit).</li>\n<li><strong>Explain accessibility impact</strong> (contrast ratios, Dynamic Type scaling, VoiceOver behavior).</li>\n</ol>\n<h2>Questions to Ask</h2>\n<ol>\n<li>Which platforms are you targeting?</li>\n<li>Do you have existing brand guidelines?</li>\n<li>What accessibility level are you targeting? (WCAG AA, AAA, Apple baseline?)</li>\n<li>System colors or custom?</li>\n</ol>\n<h2>Related Skills</h2>\n<ul>\n<li><strong>hig-platforms</strong> -- How foundations apply per platform (e.g., type scale differences on watchOS vs macOS)</li>\n<li><strong>hig-patterns</strong> -- Interaction patterns where foundations like writing and accessibility are critical</li>\n<li><strong>hig-components-layout</strong> -- Structural components implementing layout principles</li>\n<li><strong>hig-components-content</strong> -- Content display using color, typography, and images</li>\n</ul>\n","files":[{"path":"references/accessibility.md","sizeBytes":5109,"isText":true},{"path":"references/app-icons.md","sizeBytes":2521,"isText":true},{"path":"references/branding.md","sizeBytes":1257,"isText":true},{"path":"references/color.md","sizeBytes":2908,"isText":true},{"path":"references/dark-mode.md","sizeBytes":1743,"isText":true},{"path":"references/icons.md","sizeBytes":2471,"isText":true},{"path":"references/images.md","sizeBytes":2378,"isText":true},{"path":"references/immersive-experiences.md","sizeBytes":5291,"isText":true},{"path":"references/inclusion.md","sizeBytes":3692,"isText":true},{"path":"references/layout.md","sizeBytes":3977,"isText":true},{"path":"references/materials.md","sizeBytes":4369,"isText":true},{"path":"references/motion.md","sizeBytes":1891,"isText":true},{"path":"references/privacy.md","sizeBytes":3404,"isText":true},{"path":"references/right-to-left.md","sizeBytes":2210,"isText":true},{"path":"references/sf-symbols.md","sizeBytes":2668,"isText":true},{"path":"references/spatial-layout.md","sizeBytes":1665,"isText":true},{"path":"references/typography.md","sizeBytes":2969,"isText":true},{"path":"references/writing.md","sizeBytes":1399,"isText":true},{"path":"SKILL.md","sizeBytes":6860,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"human-reviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"human-reviewed","screen":{"ran":true,"outcome":"flagged-cleared-by-moderator","suspicious":1,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-29T00:42:21.997812Z","sha256":"52E95865C96D3954E99D25A36C827C60C9C56713E30132BC402F7736904D6B9D","sizeBytes":27508},"review":null,"source":{"repositoryUrl":"https://github.com/raintree-technology/hig-doctor","path":"skills/hig-foundations","license":"MIT","commit":"4e5025b91b83012e9e17796d173d14eb01047e81","subtreeSha":"942CA97FE7C1725979BF64454D68A1694C6D08D8999D90EC7787D7C41B00FF63","lastSyncedAt":"2026-11-29T00:42:06.735218Z"},"reviewedAt":"2026-12-02T16:48:09.095673Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/raintree-technology/hig-doctor/tree/main/skills/hig-foundations"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install raintree-technology-hig-doctor@llmmart"},{"target":"git","command":"git clone https://github.com/raintree-technology/hig-doctor.git"}]}