К основному содержанию
скилл CX Codex

hig-foundations — скилл для Claude Code: Apple HIG для интерфейсов

Скилл с основами Apple Human Interface Guidelines: цвет, типографика, SF Symbols, тёмная тема, доступность. Пригодится, когда интерфейс выглядит чужеродно на Apple-платформах.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add raintree-technology/hig-doctor --skill hig-foundations -a claude-code
Открыть на GitHub

Что делает hig-foundations

Скилл даёт агенту справочник по дизайн-основам Apple: семантические цвета, шрифты SF Pro и New York, иконки SF Symbols, материалы, анимация, приватность, поддержка RTL и инклюзивный дизайн. Внутри — таблица ссылок на отдельные файлы: accessibility.md, color.md, dark-mode.md, typography.md, sf-symbols.md, layout.md, materials.md, motion.md, privacy.md, right-to-left.md, app-icons.md, branding.md, images.md, inclusion.md, writing.md, immersive-experiences.md, spatial-layout.md. Агент подтягивает нужный файл по теме вопроса.

Перед тем как что-то спрашивать, скилл проверяет .claude/apple-design-context.md и опирается на то, что там уже записано. Ответы приходят в виде ссылки на конкретный раздел HIG, различий по платформам, примеров кода на SwiftUI, UIKit или AppKit и разбора влияния на доступность — контраст, масштабирование Dynamic Type, поведение VoiceOver.

Скилл завязан на экосистему Apple. Если вы пишете кроссплатформенное приложение на Flutter или React Native и Apple-платформы не целевые, советы по SF Symbols и системным материалам вам не пригодятся. Для вопросов про конкретные платформы, паттерны взаимодействия и компоненты скилл ссылается на соседние: hig-platforms, hig-patterns, hig-components-layout, hig-components-content.

Какие задачи решает

  • подобрать семантические цвета, которые не ломаются в тёмной теме
  • выбрать шрифт и размеры под Dynamic Type
  • привести кастомные иконки к весу и стилю SF Symbols
  • проверить контраст и доступность интерфейса
  • сделать зеркалирование раскладки для RTL-языков

Примеры запросов агенту

  • Проверь мою палитру по HIG: цвета выглядят неправильно в dark mode
  • Какой шрифт и какие размеры использовать для Dynamic Type в SwiftUI?
  • Мои иконки не совпадают по стилю с системными — что поправить?

Как установить hig-foundations

1Через Skills CLI (Vercel)

npx skills add raintree-technology/hig-doctor --skill hig-foundations -a claude-code

2Вручную: положить файлы

~/.claude/skills/hig-foundations/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/hig-foundations/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о hig-foundations

Как установить hig-foundations в Claude?

Выполните npx skills add raintree-technology/hig-doctor --skill hig-foundations -a claude-code. Скилл окажется в ~/.claude/skills/hig-foundations/SKILL.md.

Что делает hig-foundations?

Даёт агенту основы Apple Human Interface Guidelines: цвет, типографику, иконки, материалы, анимацию, приватность и доступность. Агент отвечает со ссылкой на конкретный раздел HIG и примерами кода.

С чем работает этот скилл?

Он опирается на файл .claude/apple-design-context.md, если тот есть в проекте, и ссылается на соседние скиллы hig-platforms, hig-patterns, hig-components-layout и hig-components-content.

Исходный текст

SKILL.md · MIT
---
name: hig-foundations
version: 1.0.0
description: >-
  Apple Human Interface Guidelines design foundations. Use this skill when the user asks about
  "HIG color", "Apple typography", "SF Symbols", "dark mode guidelines", "accessible design",
  "Apple design foundations", "app icon", "layout guidelines", "materials", "motion", "privacy",
  "right to left", "RTL", "inclusive design", branding, images, spatial layout, or writing style.
  Also use when the user says "my colors look wrong in dark mode", "what font should I use",
  "is my app accessible enough", "how do I support Dynamic Type", "what contrast ratio do I need",
  "how do I pick system colors", or "my icons don't match the system style".
  Cross-references: hig-platforms for platform-specific guidance, hig-patterns for interaction
  patterns, hig-components-layout for structural components, hig-components-content for display.
---

# Apple HIG: Design Foundations

Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.

## Key Principles

1. **Prioritize content over chrome.** Reduce visual clutter. Use system-provided materials and subtle separators rather than heavy borders and backgrounds.

2. **Build in accessibility from the start.** Design for VoiceOver, Dynamic Type, Reduce Motion, Increase Contrast, and Switch Control from day one. Every interactive element needs an accessible label.

3. **Use system colors and materials.** System colors adapt to light/dark mode, increased contrast, and vibrancy. Prefer semantic colors (`label`, `secondaryLabel`, `systemBackground`) over hard-coded values.

4. **Use platform fonts and icons.** SF Pro, SF Compact, SF Mono by default. New York for serif. Follow the type hierarchy at recommended sizes. Use SF Symbols for iconography.

5. **Match platform conventions.** Align look and behavior with system standards. Provide direct, responsive manipulation and clear feedback for every action.

6. **Respect privacy.** Request permissions only when needed, explain why clearly, provide value before asking for data. Design for minimal data collection.

7. **Support internationalization.** Accommodate text expansion, right-to-left scripts, and varying date/number formats. Use Auto Layout for dynamic content sizing.

8. **Use motion purposefully.** Animation should communicate meaning and spatial relationships. Honor Reduce Motion by providing crossfade alternatives.

## Reference Index

| Reference | Topic | Key content |
|---|---|---|
| [accessibility.md](references/accessibility.md) | Accessibility | VoiceOver, Dynamic Type, color contrast, motor accessibility, Switch Control, audio descriptions |
| [app-icons.md](references/app-icons.md) | App Icons | Icon grid, platform-specific sizes, single focal point, no transparency |
| [branding.md](references/branding.md) | Branding | Integrating brand identity within Apple's design language, subtle branding, custom tints |
| [color.md](references/color.md) | Color | System colors, Dynamic Colors, semantic colors, custom palettes, contrast ratios |
| [dark-mode.md](references/dark-mode.md) | Dark Mode | Elevated surfaces, semantic colors, adapted palettes, vibrancy, testing in both modes |
| [icons.md](references/icons.md) | Icons | Glyph icons, SF Symbols integration, custom icon design, icon weights, optical alignment |
| [images.md](references/images.md) | Images | Image resolution, @2x/@3x assets, vector assets, image accessibility |
| [immersive-experiences.md](references/immersive-experiences.md) | Immersive Experiences | AR/VR design, spatial immersion, comfort zones, progressive immersion levels |
| [inclusion.md](references/inclusion.md) | Inclusion | Diverse representation, non-gendered language, cultural sensitivity, inclusive defaults |
| [layout.md](references/layout.md) | Layout | Margins, spacing, alignment, safe areas, adaptive layouts, readable content guides |
| [materials.md](references/materials.md) | Materials | Vibrancy, blur, translucency, system materials, material thickness |
| [motion.md](references/motion.md) | Motion | Animation curves, transitions, continuity, Reduce Motion support, physics-based motion |
| [privacy.md](references/privacy.md) | Privacy | Permission requests, usage descriptions, privacy nutrition labels, minimal data collection |
| [right-to-left.md](references/right-to-left.md) | Right-to-Left | RTL layout mirroring, bidirectional text, icons that flip, exceptions |
| [sf-symbols.md](references/sf-symbols.md) | SF Symbols | Symbol categories, rendering modes, variable color, custom symbols, weight matching |
| [spatial-layout.md](references/spatial-layout.md) | Spatial Layout | visionOS window placement, depth, ergonomic zones, Z-axis design |
| [typography.md](references/typography.md) | Typography | SF Pro, Dynamic Type sizes, text styles, custom fonts, font weight hierarchy, line spacing |
| [writing.md](references/writing.md) | Writing | UI copy guidelines, tone, capitalization rules, error messages, button labels, conciseness |

## Applying Foundations Together

Consider how principles interact:

1. **Color + Dark Mode + Accessibility** -- Custom palettes must work in both modes while maintaining WCAG contrast ratios. Start with system semantic colors.

2. **Typography + Accessibility + Layout** -- Dynamic Type must scale without breaking layouts. Use text styles and Auto Layout for the full range of type sizes.

3. **Icons + Branding + SF Symbols** -- Custom icons should match SF Symbols weight and optical sizing. Brand elements should integrate without overriding system conventions.

4. **Motion + Accessibility + Feedback** -- Every animation must have a Reduce Motion alternative. Motion should reinforce spatial relationships, not decorate.

5. **Privacy + Writing + Onboarding** -- Permission requests need clear, specific usage descriptions. Time them to when the user will understand the benefit.

## Output Format

1. **Cite the specific HIG foundation** with file and section.
2. **Note platform differences** for the user's target platforms.
3. **Provide concrete code patterns** (SwiftUI/UIKit/AppKit).
4. **Explain accessibility impact** (contrast ratios, Dynamic Type scaling, VoiceOver behavior).

## Questions to Ask

1. Which platforms are you targeting?
2. Do you have existing brand guidelines?
3. What accessibility level are you targeting? (WCAG AA, AAA, Apple baseline?)
4. System colors or custom?

## Related Skills

- **hig-platforms** -- How foundations apply per platform (e.g., type scale differences on watchOS vs macOS)
- **hig-patterns** -- Interaction patterns where foundations like writing and accessibility are critical
- **hig-components-layout** -- Structural components implementing layout principles
- **hig-components-content** -- Content display using color, typography, and images

---

*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*

© raintree-technology · MIT · raintree-technology/hig-doctor

Похожие скиллы

Всё по теме «Дизайн» →
ios-hig-design wondelai Скилл помогает проектировать нативные iOS-интерфейсы в соответствии с Human Interface Guidelines Apple. Пригодится, когда вы делаете приложение для iPhone или iPad и хотите, чтобы оно выглядело как родное для платформы. CX Codex +1 8 200установок axiom-design CharlesWiltgen Скилл помогает принимать решения по дизайну приложений Apple: сетки HIG, эффекты Liquid Glass, подбор SF Symbols, шрифты и переключение экранов авторизации. CX Codex +1 1 400установок hig Prisma-Labs-Dev Локальный справочник Apple Human Interface Guidelines в Markdown для проверки размеров кнопок, Dynamic Type, терминологии и системных компонентов без выхода в сеть. CX Codex +1 786установок ios-ux-design mosif16 Скилл, который подключает к ИИ-агенту экспертизу по Human Interface Guidelines и SwiftUI: аудит экранов, разбор паттернов, спецификации на доработку. CX Codex +1 543установок mobile-ios-design Seth Hobson Помогает проектировать нативные интерфейсы iOS и писать SwiftUI-вью по Apple HIG. Пригодится для экранов, навигации и адаптивной вёрстки. CX Codex 23 659установок apple-hig-expert Alireza Rezvani Проверяет интерфейсы iOS, macOS, watchOS и visionOS по Apple HIG. Пригодится для аудита макетов и проектирования нативного UI. 662установок

Из того же набора14

hig-components-layout Скилл помогает спроектировать навигацию и вёрстку для приложений под платформы Apple по правилам Human Interface Guidelines. CX Codex +1 684установок hig-patterns Скилл с паттернами взаимодействия из Apple Human Interface Guidelines: онбординг, загрузка, модальные окна, уведомления, поиск. Пригодится, когда проектируешь UX в приложении под Apple. CX Codex +1 685установок hig-platforms Скилл помогает адаптировать интерфейс приложений под стандарты Apple HIG для iOS, iPadOS, macOS, tvOS, visionOS и watchOS. Пригодится при переносе проектов между платформами экосистемы. CX Codex +1 666установок hig-components-controls Помогает выбрать правильные элементы ввода и переключатели по гайдлайнам Apple HIG. Подсказывает типы клавиатур, состояния контролов и правила доступности. CX Codex +1 655установок hig-components-dialogs Скилл подсказывает правила Apple Human Interface Guidelines для модальных окон, алертов, шторок и полей ввода цифр. Пригодится при проектировании UI под iOS, iPadOS, macOS и visionOS. CX Codex +1 647установок hig-components-menus Скилл помогает проектировать меню и кнопки для интерфейсов Apple по правилам Human Interface Guidelines. Полезен при выборе между pop-up и pull-down кнопками или структурировании тулбаров. CX Codex +1 643установок hig-components-content Подсказывает правила Apple HIG по отображению контента: графикам, сеткам, веб-страницам и карточкам. Помогает выбрать системный компонент под iOS, macOS, tvOS или visionOS. CX Codex +1 641установок hig-components-status Скилл передаёт агенту правила Apple HIG по индикаторам загрузки и строке состояния. Пригодится при вёрстке экранов под iOS и watchOS. CX Codex +1 636установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой