ios-design

📁 pproenca/dot-skills 📅 5 days ago
42
总安装量
5
周安装量
#9186
全站排名
安装命令
npx skills add https://github.com/pproenca/dot-skills --skill ios-design

Agent 安装分布

claude-code 5
amp 4
gemini-cli 4
github-copilot 4
codex 4
kimi-cli 4

Skill 文档

Apple SwiftUI iOS Design Best Practices

Comprehensive guide for building Apple-quality iOS UIs with SwiftUI. Contains 62 rules across 8 categories covering design systems, state management, layout, view composition, navigation, components, accessibility, and animation polish.

When to Apply

Reference these guidelines when:

  • Building new SwiftUI views and screens
  • Implementing design systems with semantic colors, typography, and spacing
  • Managing state with @State, @Binding, @Observable, @Environment
  • Laying out content with stacks, grids, and adaptive layouts
  • Composing views with @ViewBuilder and custom modifiers
  • Implementing navigation with NavigationStack, TabView, sheets
  • Choosing and configuring SwiftUI components
  • Ensuring VoiceOver support, touch targets, and reduce motion
  • Adding semantic transitions and loading state animations

Rule Categories by Priority

Priority Category Impact Prefix
1 Design System CRITICAL design-
2 State & Data Flow CRITICAL state-
3 Layout & Sizing HIGH layout-
4 View Composition HIGH view-
5 Navigation HIGH nav-
6 Components & Controls HIGH comp-
7 Accessibility HIGH access-
8 Animation & Polish MEDIUM anim-

Quick Reference

1. Design System (CRITICAL)

2. State & Data Flow (CRITICAL)

3. Layout & Sizing (HIGH)

4. View Composition (HIGH)

5. Navigation (HIGH)

6. Components & Controls (HIGH)

7. Accessibility (HIGH)

8. Animation & Polish (MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

File Description
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules