Analyzes SwiftUI source code to ensure optimal view composition, efficient state management, and high accessibility standards.
This skill provides an automated, expert-level review framework for Apple's SwiftUI framework, focusing on production readiness and best practices. It evaluates view hierarchies to prevent over-complexity, validates property wrapper usage for state management (including modern @Observable patterns), optimizes performance via lazy stacks and identity management, and ensures inclusivity through VoiceOver and Dynamic Type checks. It is an essential tool for developers aiming to maintain high-quality iOS, macOS, and watchOS codebases using Claude Code.
主な機能
01Performance Optimization (LazyStack usage and stable ForEach ID identification)
02Modern Async Workflow Verification (proper usage of .task over onAppear + Task)
03View Composition Analysis (complexity, modifier ordering, and subview extraction)
04State Management Validation (@State, @Binding, @Observable, and @Bindable patterns)
0514 GitHub stars
06Accessibility Auditing (VoiceOver labels, traits, and Dynamic Type support)
ユースケース
01Ensuring mobile applications meet accessibility standards and provide high-quality VoiceOver support.
02Refactoring legacy SwiftUI code to utilize modern iOS 17+ observation patterns.
03Automated pull request reviews for mobile teams to maintain consistent code standards.