hig-components-status – skill Thiết kế & UI cho agent AI
Hướng dẫn HIG của Apple cho các thành phần giao diện trạng thái và tiến trình, bao gồm chỉ báo tiến trình, thanh trạng thái và vòng hoạt động.
Cài skill hig-components-status bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/hig-components-status-af1b7.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /hig-components-status – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/hig-components-status-af1b7.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $hig-components-status – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/hig-components-status-af1b7.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /hig-components-status – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/hig-components-status-af1b7.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /hig-components-status – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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
Progress Indicators
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 determinate progress only when measurable. Never invent a percentage; use a spinner for unknown work or constrained background status, consistent with the platform reference.
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.
Status Bars
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 promptly when exiting immersive contexts.
Activity Rings
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 authorized HealthKit APIs for activity data; respect permission denial and keep health data private. Do not infer absent activity from missing access.
14. Respect motion/haptic preferences for optional completion feedback. Never fabricate activity completion or duplicate system notifications.
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)*
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Example
User request:
> Use @hig-components-status for this task: Apple HIG guidance for status and progress UI components including progress indicators, status bars, and activity rings.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- hig-foundations – Nền tảng thiết kế trong Apple Human Interface Guidelines.
- hig-inputs – Thiết kế tương tác đầu vào trên nền tảng Apple cho cảm ứng, bàn phím, con trỏ, Pencil…
- hig-patterns – Mẫu tương tác và UX trong Apple Human Interface Guidelines.
- hig-platforms – Hướng dẫn Apple Human Interface Guidelines cho thiết kế riêng từng nền tảng.
- hig-technologies – Đánh giá UX của công nghệ Apple theo các mẫu HIG cho thanh toán, dữ liệu sức khỏe, định…
- high-contrast – Hướng dẫn triển khai Web và App cho High Contrast Design. Kích hoạt khi người dùng muốn…
- high-end-visual-design – Dùng khi thiết kế giao diện cao cấp đạt chuẩn agency với font premium, nhịp không gian…
- holographic-ui – Hướng dẫn triển khai Web và App cho Holographic UI. Kích hoạt khi người dùng muốn giao…