Agent Skills: iOS Design System (SwiftUI)

Enforce design token usage in SwiftUI apps using iOS Human Interface Guidelines. Use when implementing design tokens, colors, or typography in SwiftUI. (triggers: **/*View.swift, **/Theme/**, **/DesignSystem/**, Color, Font, SwiftUI, ViewModifier, Theme)

UncategorizedID: hoangnguyen0403/agent-skills-standard/ios-design-system

Install this agent skill to your local

pnpm dlx add-skill https://github.com/HoangNguyen0403/agent-skills-standard/tree/HEAD/skills/ios/ios-design-system

Skill Files

Browse the full folder contents for ios-design-system.

Download Skill

Loading file tree…

skills/ios/ios-design-system/SKILL.md

Skill Metadata

Name
ios-design-system
Description
"Enforce design token usage in SwiftUI apps using iOS Human Interface Guidelines. Use when implementing design tokens, colors, or typography in SwiftUI. (triggers: **/*View.swift, **/Theme/**, **/DesignSystem/**, Color, Font, SwiftUI, ViewModifier, Theme)"

iOS Design System (SwiftUI)

Priority: P2 (OPTIONAL)

Enforce design token usage in SwiftUI. Follow Apple HIG for iOS-native feel.

Token Structure

Define tokens in Theme/ folder: Colors via Asset Catalog (Color("Name")), Spacing enum for all margins, Font extensions for typography. See Token Structure & Examples.

Anti-Patterns

  • No Hex Colors: Define in asset catalog, use Color("Name").
  • No Magic Spacing: Use Spacing.md not spacing: 16.
  • No System Colors for Brand: Use .appPrimary not Color.blue.

References