What problem does it solve? SwiftUI codebases accumulate subtle bugs around state ownership, view identity, deprecated APIs, and rendering performance that are hard to catch in review. This Skill gives AI coding agents structured, topic-routed guidance for writing, reviewing, and refactoring SwiftUI code on iOS and macOS, including SDK 27 changes and Liquid Glass adoption. ## Core Features & Use Cases - Topic-Routed Code Review: Routes each task to one of 30+ reference guides covering state management, @Observable data flow, view composition, lists, animations, charts, accessibility, layout, and macOS scenes, with a hard-rule correctness checklist. - API Migration and Deprecation Handling: Replaces hard-deprecated APIs with modern equivalents, flags soft-deprecated APIs, and validates #available gating with fallbacks. - Instruments Trace Workflows: Records .trace files via xctrace scripts and analyzes SwiftUI lanes, hangs, hitches, and cause graphs to produce prioritized performance fixes. - Use Case: Ask the agent to review a SwiftUI view for state-management and performance issues; it flags incorrect @State/@StateObject usage, unstable ForEach identity, and deprecated modifiers, then suggests concrete refactors. ## Quick Start Use the swiftui expert skill to review the current SwiftUI code for state-management and performance improvements.