Swift 6 fundamentals for all Apple platforms. Use when implementing concurrency, architecture, testing, i18n, or performance optimization across iOS, macOS, iPadOS, watchOS, visionOS.
From fuse-swift-apple-expertnpx claudepluginhub fusengine/agents --plugin fuse-swift-apple-expertThis skill uses the workspace's default tool permissions.
references/architecture.mdreferences/concurrency.mdreferences/i18n.mdreferences/performance.mdreferences/testing.mdGuides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Designs, audits, and improves analytics tracking systems using Signal Quality Index for reliable, decision-ready data in marketing, product, and growth.
Enforces A/B test setup with gates for hypothesis locking, metrics definition, sample size calculation, assumptions checks, and execution readiness before implementation.
Swift 6 fundamentals shared across all Apple platforms.
Before ANY implementation, use TeamCreate to spawn 3 agents:
After implementation, run fuse-ai-pilot:sniper for validation.
| Feature | Benefit |
|---|---|
| Actors | Thread-safe shared state without locks |
| @Observable | Simple reactive state (replaces ObservableObject) |
| String Catalogs | Automatic localization with Xcode 15+ |
| Instruments | Built-in performance profiling |
Modern async/await with strict concurrency checking. Actors provide thread-safe state, Sendable marks safe types.
MVVM with @Observable is the recommended pattern. Clean Architecture for complex apps with domain separation.
XCTest with native async/await support. No need for expectations with async tests.
String Catalogs are mandatory. All user-facing text must be localized.
Profile with Instruments. Use lazy loading, avoid heavy work in view body.
| Need | Reference |
|---|---|
| Async/await, actors, Sendable | concurrency.md |
| MVVM, Clean Architecture, DI | architecture.md |
| XCTest, async tests, mocking | testing.md |
| String Catalogs, localization | i18n.md |
| Instruments, optimization | performance.md |
-O optimization