swiftui-expert-skill
π―Skillfrom avdlee/swiftui-agent-skill
Comprehensive SwiftUI agent skill covering state management, view composition, performance optimization, modern API usage, Swift concurrency, and iOS 26+ Liquid Glass patterns with detailed reference documentation.
Overview
swiftui-expert-skill is a comprehensive agent skill for writing, reviewing, and improving SwiftUI code following Apple's best practices. It covers state management, view composition, performance optimization, modern API usage, Swift concurrency, and iOS 26+ Liquid Glass adoption. The skill provides a structured workflow decision tree for reviewing existing code, improving it, or implementing new features, with detailed reference documentation for each topic area.
Key Features
- State management expertise: Provides a complete property wrapper selection guide covering @State, @Binding, @Bindable, @Observable, and legacy patterns like @StateObject and @ObservedObject, with clear rules on when to use each
- Modern API guidance: Maintains a comprehensive mapping of deprecated SwiftUI APIs to their modern replacements, including foregroundStyle(), NavigationStack, Tab API, containerRelativeFrame(), and onChange() variants
- Performance optimization patterns: Covers view diffing optimization, LazyVStack/LazyHStack for large lists, stable ForEach identity, avoiding AnyView in list rows, image downsampling, and using Self._printChanges() for debugging
- iOS 26+ Liquid Glass support: Includes detailed patterns for adopting Liquid Glass effects with proper fallbacks, GlassEffectContainer usage, glass button styles, and morphing transitions with glassEffectID
- Animation system coverage: Documents implicit vs explicit animations, value-based .animation() modifiers, phaseAnimator, keyframeAnimator, custom Animatable implementations, and transition patterns
Who is this for?
- iOS/macOS developers building SwiftUI apps who want AI-assisted code review and improvement suggestions based on Apple's latest best practices
- Swift developers adopting iOS 26+ features like Liquid Glass who need structured guidance on implementation patterns and backward-compatible fallbacks
- Teams using Claude Code for Swift development who want comprehensive SwiftUI expertise covering the full range from state management to animations and performance
Same repository
avdlee/swiftui-agent-skill(3 items)
Installation
npx vibeindex add avdlee/swiftui-agent-skill --skill swiftui-expert-skillnpx skills add avdlee/swiftui-agent-skill --skill swiftui-expert-skill~/.claude/skills/swiftui-expert-skill/SKILL.mdSKILL.md
More from this repository2
Expert SwiftUI guidance for modern APIs, state management, performance, and iOS 26+ Liquid Glass adoption for AI coding agents.
A skill for updating SwiftUI APIs providing expert guidance on SwiftUI state management, view composition, performance, and iOS 26+ Liquid Glass adoption, with actionable best practices for agents and code review workflows.