跳到正文
Skillpedia
界面(UI/UX)48k · #4818

hig-foundations

它能做什么

这份指南可以帮你打造既美观又易用的应用,并遵循 Apple 的设计规范。它重点讲解清晰度、无障碍功能,以及使用系统已有的视觉元素等原则。

适用场景

  • ✓开始为 iPhone 或 iPad 设计新应用时。
  • ✓希望应用人人都能轻松使用,包括残障人士时。
  • ✓需要使用与其他 Apple 应用风格一致的颜色、字体和图标时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-foundations/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-foundations/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我怎样才能确保我的应用对使用屏幕阅读器的用户也很友好?”

每周 5 个新技能,1 分钟读完。

工作原理

这份指南会讲解 Apple 的基本设计原则,比如“内容优先于界面装饰”和“从一开始就内置无障碍功能”。它还列出了系统颜色、字体和图标等具体资源。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

…

常见问题

“内容优先于界面装饰”(prioritize content over chrome)是什么意思?

意思是重要的内容(content)应该比周围的界面元素(chrome)更加醒目。

什么是“语义化颜色”(semantic colors)?

这类颜色带有明确含义,比如“主要文本颜色”或“背景颜色”,并且会根据系统的浅色或深色模式自动调整。

什么是 SF Symbols?

这是 Apple 设计的一套图标库,与应用的视觉风格完美契合,并且会随字体大小和粗细自动调整。

详情

作者的原始描述

Apple Human Interface Guidelines design foundations.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4818
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能