Use when encountering unfamiliar import statements, exploring dependency APIs, or when user asks "what's import X" or "what does X do".
SwiftUI view composition, @Observable patterns, async/await concurrency, TCA architecture, and Combine reactive streams.
Use when optimizing Swift code performance, reducing memory usage, improving runtime efficiency, dealing with COW, ARC overhead, generics…
When to activate: Swift performance optimization, value types, COW, ARC, Instruments profiling, memory layout, compile-time optimization
Swift-specific idioms, tooling, and philosophy.
Use when Swift defines or changes XPC, socket, IPC, Codable, serialization, plugin, or other process/module boundaries.
When to activate: Swift protocols, protocol extensions, associated types, protocol composition, existentials, primary associated types…
Use for an adversarial review of a Swift diff or pull request.
Audit a Swift / iOS / macOS repo for Xcode Cloud and TestFlight release blockers before upload - pbxproj drift, static build numbers…
Use when working with iOS/macOS Keychain Services (SecItem queries, kSecClass, OSStatus errors), biometric authentication (LAContext, Face…
When to activate: Keychain, certificate pinning, encryption, biometrics, secure storage, App Transport Security in Swift
SettingsKit for SwiftUI settings interfaces (iOS, macOS, watchOS, tvOS, visionOS).
Use when Swift touches POSIX, file descriptors, sockets, pointers, buffers, C ABI, mmap, unsafe code, or manual cleanup.
Use when writing unit tests, adopting Swift Testing framework, making tests run faster without simulator, architecting code for…
Reviews Swift Testing code for proper use of #expect/#require, parameterized tests, async testing, and organization.
Use when Swift code has copying, mutation, identity, copy-on-write, large aggregates, or a struct-versus-class decision.
Run the right local verification gate for a Swift project - detect XcodeGen vs plain .xcodeproj vs SwiftPM vs Tuist, then regenerate (if…
Use when working with SwiftData - @Model definitions, @Query in SwiftUI, @Relationship macros, ModelContext patterns, CloudKit…
Use when creating SwiftData custom schema migrations with VersionedSchema and SchemaMigrationPlan - property type changes, relationship…
Use when SwiftData migrations crash, fail to preserve relationships, lose data, or work in simulator but fail on device - systematic…
Configures and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI.