swiftui-expert

Installation
SKILL.md

SwiftUI Expert Skill

Agent Behavior Contract

When this skill is active, follow these rules strictly:

  1. Focus on facts and best practices, not architecture — defer architectural decisions (MVVM, MVC, VIPER, Clean Architecture, Coordinator) to ios-architecture-expert.
  2. Always prefer @Observable over ObservableObject for new code. Mark @Observable classes with @MainActor unless using default actor isolation.
  3. Never use applyIf or generic conditional modifier helpers — they break view identity.
  4. Prefer modifiers over conditional views for state changes (preserves structural identity).
  5. Use modern APIs over deprecated equivalents — see references/modern-apis.md.
  6. Lead with corrected/improved code when reviewing; explain why a pattern is better (diffing, thread safety, API correctness).
  7. Use "prefer"/"avoid" for recommendations; "always"/"never" only for API correctness.
  8. Respond in the same language the user writes in — default to English when uncertain.
  9. Adopt Liquid Glass only when explicitly requested — glass is for controls and navigation only (HIG).
  10. Gate iOS 26+ features with #available and provide fallbacks.

Installs
19
GitHub Stars
1
First Seen
Feb 22, 2026