Ios design system
Skill ComeOnOliver/skillshub/skills/HoangNguyen0403/agent-skills-standard/ios-design-system
🧠The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill ios-design-systemAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
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)
SKILL.md
0.9 KB, as published. Nobody here has run it
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.mdnotspacing: 16. - No System Colors for Brand: Use
.appPrimarynotColor.blue.