This is a comprehensive reference guide for writing production SwiftUI code with current best practices baked in. Use it when you need authoritative answers on state management (@State vs @Binding vs @Observable), view composition patterns, performance optimization for lists and animations, or iOS 26+ Liquid Glass adoption. The decision tree walks you through reviewing, improving, or implementing features with specific checks at each step. What I like here is the specificity: it tells you exactly when to use which property wrapper, how to avoid common animation pitfalls like the deprecated animation modifier without a value parameter, and performance traps like inline filtering in ForEach. The accessibility guidance is also concrete (prefer Button over onTapGesture, use @ScaledMetric for Dynamic Type). Treat this as your SwiftUI facts layer when you want to avoid cargo culting Stack Overflow patterns.

skills.sh installs
296
GitHub stars
39.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill swiftui-expert-skill --agent claude-code

Installs into .claude/skills of the current project.

Files

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, API migrations and analysis of explicitly selected Instruments traces.

Operating Rules

  • Consult references/latest-apis.md at 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 #available gating with sensible fallbacks for version-specific APIs

Task Workflow

Sponsors

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
Mobile Development
First seen
Jun 3, 2026

More from sickn33/antigravity-awesome-skills

All 708
1pluginagentmarketplace avatarjava-maven-gradlepluginagentmarketplace/custom-plugin-javaMaster Maven and Gradle - build configuration, dependencies, plugins, CI/CD291skills.sh installs
2steipete avatarswiftui-liquid-glasssteipete/agent-scriptsSwiftUI Liquid Glass: implement, adopt, refactor, review correctness/perf/design.270skills.sh installs
3ai-dashboad avatare2e-testingai-dashboad/flutter-skillAI-powered E2E testing for any app — Flutter, React Native, iOS, Android, Electron, Tauri, KMP, .NET MAUI. Connects via MCP to running apps so the agent can tak262skills.sh installs
4vabole avatarios-liquid-glassvabole/apple-skillsios liquid glass261skills.sh installs
5dchuk avatarintegrating-tauri-rust-frontendsdchuk/claude-code-tauri-skillsGuides the user through integrating Rust-based WASM frontend frameworks with Tauri v2, covering Leptos and Trunk setup, WASM compilation configuration, Cargo.to248skills.sh installs
60xbigboss avataraxe-ios-simulator0xbigboss/claude-codeaxe ios simulator239skills.sh installs