What problem does it solve?
This Skill finds hardcoded spacing, colors, fonts, corner radii, shadows, and deprecated SwiftUI APIs in SwiftUI View files and provides actionable recommendations to align code with your design token system and layout conventions.
Core Features & Use Cases
- Conditional deprecated API detection: Reads the Xcode deployment target and skips iOS 18+ checks when appropriate.
- Token compliance audits: Detects hardcoded spacing, color constructors, font sizes, and nonstandard corner radii and suggests exact token substitutes.
- Cross-file layout consistency: Identifies components with the same suffix (Card, Row, Cell, etc.) and compares width strategy, padding, background, corner radius, and shadow usage for consistency.
- Use Case: Run on a feature branch to produce a compliance report grouped by severity with file:line references and suggested code changes prior to code review.
Quick Start
Validate design tokens across my SwiftUI View files and produce a grouped compliance report with file:line locations and suggested token replacements.