Enforce design token usage in SwiftUI apps using iOS Human Interface Guidelines. Use when implementing design tokens, colors, or typography in SwiftUI.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill ios-design-system --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Ios Design System?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-ios-design-system)More formats (shields.io, HTML) on the badges page.
---
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.
metadata:
triggers:
files:
- '**/*View.swift'
- '**/Theme/**'
- '**/DesignSystem/**'
keywords:
- Color
- Font
- SwiftUI
- ViewModifier
- Theme
---
# iOS Design System (SwiftUI)
## **Priority: P2 (MEDIUM)**
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](references/example.md).
## 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
- [Token Structure & Usage Examples](references/example.md)
## Canonical response anchors
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
- /Theme/
- Spacing.md
- spacing: 16
- Additional task-grounded exact anchors: Color("Name")Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!