hig-components-status — скилл для Claude Code: как установить
Скилл передаёт агенту правила Apple HIG по индикаторам загрузки и строке состояния. Пригодится при вёрстке экранов под iOS и watchOS.
npx skills add raintree-technology/hig-doctor --skill hig-components-status -a claude-codeЧто делает hig-components-status
Скилл инструктирует ИИ по гайдлайнам Apple Human Interface Guidelines для статусных компонентов интерфейса. Он помогает выбрать между полосой прогресса и спиннером. Если длительность операции известна или превышает пару секунд, HIG требует шкалу с процентами вместо бесконечной анимации. Также правила запрещают прятать строку состояния без веской причины вроде полноэкранных игр или AR.
Ассистент проверяет файл .claude/apple-design-context.md, чтобы не задавать лишних вопросов о проекте. Для колец активности действуют жёсткие рамки: их разрешено использовать только под цели Move, Exercise и Stand в связке с HealthKit APIs. Попытка приспособить кольца под стороннюю геймификацию прямо нарушит правила Apple, о чём скилл сразу предупредит.
Какие задачи решает
- выбрать между спиннером и полосой прогресса по гайдам Apple
- настроить видимость строки состояния без нарушения safe area
- разместить индикаторы загрузки рядом с будущим контентом
- оформить кольца активности для watchOS через HealthKit APIs
Примеры запросов агенту
- Подскажи по Apple HIG, что лучше показать при скачивании файла: спиннер или полосу прогресса?
- Как правильно скрыть status bar на экране медиаплеера в iOS?
- Хочу добавить кольца активности для отслеживания привычек, как это оформить по гайдам?
Как установить hig-components-status
1Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-components-status -a claude-code2Вручную: положить файлы
~/.claude/skills/hig-components-status/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hig-components-status/
1Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-components-status -a codex2Вручную: положить файлы
.agents/skills/hig-components-status/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-components-status -a cursor2Вручную: положить файлы
.cursor/skills/hig-components-status/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install raintree-technology/hig-doctor hig-components-status2Вручную: положить файлы
.github/skills/hig-components-status/SKILL.md1Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-components-status -a gemini-cli2Командой платформы
gemini skills install https://github.com/raintree-technology/hig-doctor --path skills/hig-components-statusВручную: положить файлы
.devin/skills/hig-components-status/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-components-status -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о hig-components-status
Как установить hig-components-status в Claude Code?
Выполните команду npx skills add raintree-technology/hig-doctor --skill hig-components-status -a claude-code. Также файл можно сохранить вручную по пути ~/.claude/skills/hig-components-status/SKILL.md.
Что делает скилл hig-components-status?
Он добавляет в контекст модели рекомендации Apple HIG по полосам загрузки, строке состояния и кольцам активности. Это позволяет проектировать экраны с учётом требований контрастности, safe area и доступности VoiceOver.
Можно ли использовать кольца активности для произвольных метрик?
Нет, гайдлайны Apple строго резервируют кольца активности и их цвета (красный, зелёный, синий) только под показатели Move, Exercise и Stand. Для произвольных данных правила запрещают копировать эту метафору.
Исходный текст
SKILL.md · MIT
--- name: hig-components-status version: 1.0.0 description: >- Apple HIG guidance for status and progress UI components including progress indicators, status bars, and activity rings. Use this skill when asked about: "progress indicator", "progress bar", "loading spinner", "status bar", "activity ring", "progress display", determinate vs indeterminate progress, loading states, or fitness tracking rings. Also use when the user says "how do I show loading state," "should I use a spinner or progress bar," "what goes in the status bar," or asks about activity indicators. Cross-references: hig-components-system for widgets and complications, hig-inputs for gesture-driven progress controls, hig-technologies for HealthKit and activity ring data integration. --- # Apple HIG: Status Components Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered. ## Key Principles 1. **Show progress for operations longer than a second or two.** 2. **Determinate when duration/percentage is known.** A filling progress bar gives users a clear sense of remaining work. Use for downloads, uploads, or any measurable process. 3. **Indeterminate when duration is unknown.** A spinner communicates work is happening without promising a timeframe. Use for unpredictable network requests. 4. **Prefer progress bars over spinners.** Determinate progress feels faster and more trustworthy. 5. **Place indicators where content will appear.** Inline progress near the content area, not modal or distant. 6. **Don't stack multiple indicators.** Aggregate simultaneous operations into one representation or show the most relevant. 7. **Don't hide the status bar without good reason.** Reserve hiding for immersive experiences (full-screen media, games, AR). 8. **Match status bar style to your content.** Light or dark for adequate contrast. 9. **Respect safe areas.** No interactive content behind the status bar. 10. **Restore the status bar promptly** when exiting immersive contexts. 11. **Activity rings are for Move, Exercise, and Stand goals.** Don't repurpose the ring metaphor for unrelated data. 12. **Respect ring color conventions.** Red (Move), green (Exercise), blue (Stand) are strongly associated with Apple Fitness. 13. **Use HealthKit APIs** for activity data rather than manual tracking. 14. **Celebrate completions** with animation and haptics when rings close. ## Reference Index | Reference | Topic | Key content | |---|---|---| | [progress-indicators.md](references/progress-indicators.md) | Progress bars and spinners | Determinate, indeterminate, inline placement, duration | | [status-bars.md](references/status-bars.md) | iOS/iPadOS status bar | System info, visibility, style, safe areas | | [activity-rings.md](references/activity-rings.md) | watchOS activity rings | Move/Exercise/Stand, HealthKit, fitness tracking, color | ## Output Format 1. **Indicator type recommendation** with rationale (determinate vs indeterminate). 2. **Timing and animation guidance** -- duration thresholds, animation style, transitions. 3. **Accessibility** -- VoiceOver progress announcements, live region updates. 4. **Platform-specific behavior** across targeted platforms. ## Questions to Ask 1. Is the duration known or unknown? 2. Which platforms? 3. How long does the operation typically take? 4. System-level or in-app indicator? ## Related Skills - **hig-components-system** -- Widgets and complications displaying progress or status - **hig-inputs** -- Gestures triggering progress states (pull-to-refresh) - **hig-technologies** -- HealthKit for activity ring data; VoiceOver for progress announcements --- *Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*
© raintree-technology · MIT · raintree-technology/hig-doctor