swiftui-expert-skill
Write, review, and refactor SwiftUI for iOS or macOS, covering data flow, view composition, performance, identity, environment, localization, animation, API migration, and Instruments traces.
SwiftUI Expert Skill
When to Use
Use when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management and @Observable data flow, view composition and invalidation/performance, lists and ForEach identity, environment usage, localization, animations, Liquid Glass adoption, migrating...
Operating Rules
- Consult
references/latest-apis.mdat the start of every task to avoid deprecated APIs - Prefer native SwiftUI APIs over UIKit/AppKit bridging unless bridging is necessary
- Focus on correctness and performance; do not enforce specific architectures (MVVM, VIPER, etc.)
- Encourage separating business logic from views for testability without mandating how
- Follow Apple's Human Interface Guidelines and API design patterns
- Only adopt Liquid Glass when explicitly requested by the user (see
references/liquid-glass.md) - Present performance optimizations as suggestions, not requirements
- Use
#availablegating with sensible fallbacks for version-specific APIs
Task Workflow
Review existing SwiftUI code
- Read the code under review and identify which topics apply
- Flag deprecated APIs (compare against
references/latest-apis.md) - Run the Topic Router below for each relevant topic
- Validate
#availablegating and fallback paths for iOS 26+ features
Improve existing SwiftUI code
- Audit current implementation again
Subscribers only
The full skill, its 40 bundled files and every download is included with every paid Complete AI plan.
Details
| Source | AvdLee/SwiftUI-Agent-Skill |
|---|---|
| License | MIT |
| Risk label | critical ("critical" means the skill may run commands or touch files — read before use) |
| Files | SKILL.md, references/accessibility-patterns.md, references/animation-advanced.md, references/animation-basics.md, references/animation-transitions.md, references/charts-accessibility.md, references/charts.md, references/focus-patterns.md, references/image-optimization.md, references/latest-apis.md, references/layout-best-practices.md, references/liquid-glass.md, references/list-patterns.md, references/localization.md, references/macos-scenes.md, references/macos-views.md, references/macos-window-styling.md, references/performance-patterns.md, references/previews.md, references/scroll-patterns.md, references/sheet-navigation-patterns.md, references/soft-deprecation.md, references/state-management.md, references/text-patterns.md, references/trace-analysis.md, references/trace-recording.md, references/view-structure.md, scripts/analyze_trace.py, scripts/instruments_parser/__init__.py, scripts/instruments_parser/causes.py, scripts/instruments_parser/correlate.py, scripts/instruments_parser/events.py, scripts/instruments_parser/hangs.py, scripts/instruments_parser/hitches.py, scripts/instruments_parser/summary.py, scripts/instruments_parser/swiftui.py, scripts/instruments_parser/time_profiler.py, scripts/instruments_parser/xctrace.py, scripts/instruments_parser/xml_utils.py, scripts/record_trace.py |
| Added | 2026-07-01 |
Related skills
add-app-clip
Add an iOS App Clip target to an Expo app. Use when the user mentions App Clip, AASA, apple-app-site-association, appclips, smart app banner, or wants to ship a lightweight iOS Clip invoked from a URL alongside their parent app.
android-dev
Production-grade Android app development guide covering native (Kotlin/Java), cross-platform (Flutter, RN, KMM), and hybrid architectures.
android-jetpack-compose-expert
Expert guidance for building modern Android UIs with Jetpack Compose, covering state management, navigation, performance, and Material Design 3.
appium-skill
Generates production-grade Appium mobile automation scripts for Android and iOS in Java, Python, or JavaScript. Supports real device and emulator testing locally and on TestMu AI cloud with 100+ real devices.
building-native-ui
Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.
expo-api-routes
Guidelines for creating API routes in Expo Router with EAS Hosting
