返回技能列表

hig-components-system

raintree-technology
更新于 5 days ago
78
9
78
在 GitHub 上查看
设计aidesign

关于

This skill provides Apple's Human Interface Guidelines for designing system-level components like widgets, notifications, and Live Activities. Use it when developers ask about implementing features that appear outside the main app, such as home screen quick actions or watch complications. It cross-references related skills for status indicators, input patterns, and system integrations.

快速安装

Claude Code

推荐
主要方式
npx skills add raintree-technology/claude-starter -a claude-code
插件命令备选方式
/plugin add https://github.com/raintree-technology/claude-starter
Git 克隆备选方式
git clone https://github.com/raintree-technology/claude-starter.git ~/.claude/skills/hig-components-system

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Apple HIG: System Experiences

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

Key Principles

  1. Glanceable, immediate value. System experiences bring your app's most important content to surfaces the user sees without launching your app. Design for seconds of attention.

  2. Respect platform context. A Lock Screen widget has different constraints than a Home Screen widget. A complication is far smaller than a top shelf item.

  3. Widgets: show relevant information, not everything. Display the most useful subset, updated appropriately.

  4. Support multiple widget sizes with distinct layouts. Each size should be a thoughtful design, not a scaled version of another.

  5. Deep-link on tap. Take users to the relevant content, not the app's root screen.

  6. Live Activities: track events with a clear start and end. Deliveries, scores, timers, rides. Design for both Dynamic Island and Lock Screen.

  7. Stay updated and timely. Stale data undermines trust. End promptly when the event concludes.

  8. Respect user attention with notifications. Only send notifications for information users genuinely care about. No promotional or low-value notifications.

  9. Notifications: actionable and self-contained. Include enough context to understand and act without opening the app. Support notification actions. Use threading and grouping.

  10. Complications: focused data on the watch face. Design for the smallest useful representation. Support multiple families. Budget updates wisely.

  11. Home Screen quick actions: 3-4 most common tasks. Short titles, optional subtitles, relevant SF Symbol icons.

  12. Top Shelf: tvOS showcase. Feature content that entices: new episodes, featured items, recent content.

  13. App Clips: instant, focused functionality within a strict size budget. Load quickly without App Store download. Only what's needed for the immediate task, then offer full app install.

  14. App Shortcuts: surface key actions to Siri and Spotlight. Define shortcuts for frequent tasks. Use natural, conversational trigger phrases.

Reference Index

ReferenceTopicKey content
widgets.mdWidgetsGlanceable info, sizes, deep linking, timeline
live-activities.mdLive ActivitiesReal-time tracking, Dynamic Island, Lock Screen
notifications.mdNotificationsAttention, actions, grouping, content
complications.mdComplicationsWatch face data, families, budgeted updates
home-screen-quick-actions.mdQuick actionsHaptic Touch, common tasks, SF Symbols
top-shelf.mdTop shelfFeatured content, showcase
app-clips.mdApp ClipsInstant use, lightweight, focused task, NFC/QR
watch-faces.mdWatch facesCustom complications, face sharing
app-shortcuts.mdApp ShortcutsSiri, Spotlight, voice triggers

Output Format

  1. System experience recommendation -- which surface best fits the use case.
  2. Content strategy -- what to display, priority, what to omit.
  3. Update frequency -- refresh rate including system budget constraints.
  4. Size/family variants -- which to support and how layout adapts.
  5. Deep link behavior -- where tapping takes the user.

Questions to Ask

  1. What information needs to surface outside the app?
  2. Which platform?
  3. How frequently does the data update?
  4. What is the primary glanceable need?

Related Skills

  • hig-components-status -- Progress indicators in widgets or Live Activities
  • hig-inputs -- Interaction patterns for system experiences (Digital Crown for complications)
  • hig-technologies -- Siri for App Shortcuts, HealthKit for complications, NFC for App Clips

Built by Raintree Technology · More developer tools

GitHub 仓库

raintree-technology/claude-starter
路径: templates/.claude/skills/hig-components-system
0
ai-toolsanthropicclaudeclaude-aiclaude-codedeveloper-tools

相关推荐技能

executing-plans

设计

该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。

查看技能

requesting-code-review

设计

该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。

查看技能

connect-mcp-server

设计

这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。

查看技能

web-cli-teleport

设计

该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。

查看技能