swift-modern-architecture-skilllisted
Install: claude install-skill fal3/claude-skills-collection
# Swift Modern Architecture Skill
Design feature boundaries for the product's actual constraints. “Modern” means safe, testable, compatible, and maintainable—not replacing supported frameworks by reflex.
## Declared baseline
- Xcode 16 or later
- Swift 6 language mode with complete strict concurrency checking
- iOS/iPadOS 18 or macOS 15
- SwiftUI, Observation, and structured concurrency for new feature code where they fit
Ask for the real targets before generating code. For iOS 17, Observation and SwiftData are available, but this package's complete examples intentionally use the iOS 18 baseline. For older deployments, retain supported compatibility paths. OS 27-cycle APIs are beta relative to stable Xcode 26.6; include them only when explicitly requested, clearly labeled, gated with availability checks, and paired with a stable fallback.
## Activation boundary
Activate when the user asks to design or modernize an app/feature architecture under the baseline above. Do not activate merely because a prompt mentions Swift, networking, persistence, concurrency, navigation, Core Data, Combine, Dispatch, or XCTest.
Before recommending a migration, establish:
1. Deployment targets and Xcode/Swift versions.
2. Existing persistence schema and migration history.
3. Cloud sync, extensions, widgets, background work, and offline requirements.
4. Team ownership, test suite, and staged-rollout constraints.
5. Which user problem the migration solves and how success will be measured.