What problem does it solve? Swift's concurrency model changed significantly in Swift 6.2, and most guidance and training data still reflects outdated patterns, leading to data races, hangs, retain cycles, and misused actors. This Skill provides current, opinionated rules for writing Swift the way the language intends, from value-type modeling through structured concurrency, testing, and performance tuning. ## Core Features & Use Cases - Swift 6 Concurrency Guidance: Covers the main-actor-by-default model, @concurrent, actors, Sendable checking, task groups, and a step-by-step fix list for data-race errors. - Idiomatic Language Patterns: Rules for structs vs classes, some vs any, typed throws, copy-on-write, noncopyable types, macros, and API design grounded in clarity at the point of use. - Performance and Testing Practices: Profiling-driven optimization with Instruments, ARC and lifetime rules, and Swift Testing patterns including parameterized tests and traits. - Use Case: When a SwiftUI app hangs or the compiler reports a sendability error after migrating to Swift 6, use this Skill to diagnose whether the fix is removing sharing, isolating to an actor, or restructuring the async code. ## Quick Start Ask the assistant to review your Swift file for Swift 6 concurrency correctness and suggest fixes for any data-race or actor-isolation errors.