Implement, review, or improve data visualizations using Swift Charts.
Use when working with Codable protocol, JSON encoding/decoding, CodingKeys customization, enum serialization, date strategies, custom…
Apply when writing or editing Swift (.swift) files.
Review and fix Swift concurrency issues such as actor isolation and Sendable violations.
Swift development. Use for Swift, SwiftUI, UIKit, Vapor, SPM, XCTest, Combine.
Builds iOS/macOS/watchOS/tvOS applications, implements SwiftUI views and state management, designs protocol-oriented architectures…
Use for implementing a non-trivial Swift 6.3 feature, bug fix, or refactor.
When to activate: Swift generics, type constraints, where clauses, generic algorithms, type erasure, conditional conformance
When to activate: Swift/Objective-C interop, @objc, bridging headers, C interop, Swift/C++ interop, NS prefixed types
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 task claims a latency, throughput, allocation, memory, startup, compilation, or energy improvement, or when optimizing hot…
When to activate: Swift performance optimization, value types, COW, ARC, Instruments profiling, memory layout, compile-time optimization
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…
When to activate: Keychain, certificate pinning, encryption, biometrics, secure storage, App Transport Security in Swift
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.