一键导入
apple-design-guidelines
Apple Design Guidelines: Human Interface Guidelines, Accessibility, Dark Mode, SF Symbols, Dynamic Type.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apple Design Guidelines: Human Interface Guidelines, Accessibility, Dark Mode, SF Symbols, Dynamic Type.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bun runtime: HTTP server, file I/O, SQLite, test runner, package manager, bundler — all-in-one JS toolchain.
Clerk: Drop-in auth UI, Organizations, User management, JWT templates, webhooks, Next.js middleware integration.
Gelişmiş masaüstü, tarayıcı ve işletim sistemi kontrol yeteneği. Görsel (koordinat tabanlı) fare/klavye otomasyonu, DOM manipülasyonu, pencere yönetimi, gelişmiş dosya, ağ ve süreç yönetimini kapsar.
Drizzle ORM: Schema definition, type-safe queries, migrations, relations, Postgres/SQLite/MySQL support.
Expo Router v3: File-based navigation, layouts, tabs, modals, deep linking, API routes, typed routes.
Flutter ile oyun geliştirme (Flame Engine vb.) ve karmaşık, büyük ölçekli mimariler kurma rehberi.
| name | apple-design-guidelines |
| description | Apple Design Guidelines: Human Interface Guidelines, Accessibility, Dark Mode, SF Symbols, Dynamic Type. |
| triggers | {"extensions":[".swift",".swiftui"],"directories":["ios/design/","apple/design/"],"keywords":["HIG","human interface","accessibility","dynamic type","dark mode","sf symbols","accessibilityvoiceover"]} |
| auto_load_when | Designing Apple apps following Apple's design standards |
| agent | swift-developer |
| tools | ["Read","Write","Bash"] |
Focus: Human Interface Guidelines, accessibility, platform consistency
Apple's 6 Design Principles:
├── Clarity
│ └── Text at readable sizes
│ └── Minimal UI chrome
│ └── Use system colors for text
│
├── Deference
│ └── Content fills screen
│ └── Translucent backgrounds (material)
│ └── Reveal content on scroll
│
├── Depth
│ └── Visual layers and hierarchy
│ └── Motion shows relationships
│ └── Use blur for depth
│
├── Color
│ └── Adaptive colors (light/dark)
│ └── Use semantic colors (primary, secondary)
│ └── Don't hardcode colors
│
├── Typography
│ └── Use SF Pro (system font)
│ └── Dynamic Type support (all sizes)
│ └── Use text styles, not fixed sizes
│
└── Icons
└── SF Symbols (always)
└── Use symbol configuration
└── Custom icons only when necessary
Dynamic Type Support:
├── Text Styles (preferred sizes)
│ └── .largeTitle, .title1-3, .headline
│ └── .body, .callout, .subheadline
│ └── .footnote, .caption1-2
│
├── Implementation
│ └── @ScaledMetric for custom fonts
│ └── .font(.body) automatically scales
│ └── Never use .font(.system(size: 17))
│
└── Accessibility
└── Test at all sizes (XS to XXXL)
└── Ensure no truncation
└── Layout adapts to larger text
Dark Mode Implementation:
├── Semantic Colors (use these)
│ └── .primary, .secondary, .tertiary
│ └── .background, .groupedBackground
│ └── .label, .secondaryLabel
│
├── Custom Colors
│ └── Add to Asset Catalog
│ └── Set Appearances: "Any, Light, Dark"
│ └── Define values for each mode
│
└── Environment Check
└── @Environment(\.colorScheme) var colorScheme
└── colorScheme == .dark for custom behavior
|| Prefer adaptive colors
SF Symbols Usage:
├── Symbol Style
│ └── Image(systemName: "star")
│ └── Use .symbolRenderingMode(.hierarchical)
│
├── Configuration
│ └── .font(.title2)
│ └── .foregroundStyle(.primary)
│ └── .symbolEffect(.pulse)
│
├── Custom Symbols
│ └── Create in SF Symbols app
│ └── Export as SVG
│ └── Add to asset catalog
│
└── Never use image files for icons
└── SF Symbols has 5000+ symbols
Accessibility Implementation:
├── Basic
│ └── .accessibilityLabel("Description")
│ └── .accessibilityHint("What happens when tapped")
│ && .accessibilityAddTraits(.isButton)
│
├── Custom Accessible Views
│ └── accessibilityElement(children: .ignore)
│ └── accessibilityAdjustValue(action:) for sliders
│
├── Semantic Views
│ └── Use native controls (they're accessible)
│ && Group related content
│ && Meaningful order
│
└── Testing
└── VoiceOver on device
&& Test with Switch Control
&& Test with Dynamic Type (largest)
Platform-Specific Gestures:
├── iOS Gestures
│ └── Tap, Long Press, Swipe, Pan, Pinch, Rotation
│ └── Edge swipe for navigation
│
├── iPad Gestures
│ └── Multi-task (4 finger swipe)
│ && Slide Over, Split View
│ && Pointer/trackpad support
│
├── Watch Gestures
│ └── Tap, Swipe, Long Press
│ && Digital Crown, Force Touch (legacy)
│
└── Mac Gestures
└── Pointer, click, scroll
&& Trackpad gestures, Force Touch
❌ Hardcoded colors — breaks in Dark Mode
✅ Use semantic colors or adaptive colors in asset catalog
❌ Fixed font sizes — won't scale with Dynamic Type
✅ Use .font(.body) or .font(.title2) (system styles)
❌ No accessibility labels — VoiceOver won't work
✅ Add .accessibilityLabel("Delete item") to custom views
❌ Using PNG/SVG for icons — not themable
✅ Use SF Symbols with .symbolRenderingMode
❌ Complex gestures on watch — hard to perform
✅ Prefer taps, minimal gestures
| Category | Use |
|---|---|
| Colors | Asset Catalog with Any/Light/Dark |
| Fonts | SF Pro, text styles, Dynamic Type |
| Icons | SF Symbols only |
| Layout | Adaptive, safe areas, Dynamic Type |
| Navigation | System patterns (tab, nav) |
| Accessibility | VoiceOver, Switch Control |