When to activate: Swift Macros, @attached, freestanding macros, #stringify, macro expansion, SE-0382, SE-0389
Use when Swift code owns a unique resource, has `~Copyable`/`borrowing`/`consuming` diagnostics, or needs an ownership-aware API.
When to activate: Swift Package Manager, Package.swift, dependencies, targets, products, local packages, version resolution
Use when the user mentions Swift performance audit, code optimization, or performance review.
Use when the task claims a latency, throughput, allocation, memory, startup, compilation, or energy improvement, or when optimizing hot…
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
Use when protocol-oriented programming in Swift including protocol extensions, default implementations, protocol composition, associated…
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.
When to activate: Keychain, certificate pinning, encryption, biometrics, secure storage, App Transport Security in Swift
This skill should be used when the user is working with Swift or SwiftUI, asks to "write SwiftUI code", "create iOS app", "fix SwiftUI…
Use when writing unit tests, adopting Swift Testing framework, making tests run faster without simulator, architecting code for…
Use when Swift code has copying, mutation, identity, copy-on-write, large aggregates, or a struct-versus-class decision.
Use when working with SwiftData - @Model definitions, @Query in SwiftUI, @Relationship macros, ModelContext patterns, CloudKit…
Use when the user mentions SwiftData review, @Model issues, SwiftData migration safety, or SwiftData performance checking.
Reviews SwiftData code for model design, queries, concurrency, and migrations.
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.
Diagnose SwiftPM graph overhead across dependencies, plugins, module variants, branch pins, macros, binary targets, and slow CI or local…