What problem does it solve? Swift's concurrency model, ownership rules, and performance characteristics changed significantly in Swift 6.x, and outdated habits cause data races, hangs, retain cycles, and slow code. This Skill provides current, opinionated guidance so generated or reviewed Swift follows the language's intended design. ## Core Features & Use Cases - Modern Swift 6 Concurrency: Covers the Swift 6.2 model where async stays on the caller's actor, plus @concurrent, actors, task groups, Sendable, and main-actor-by-default settings. - Idiomatic Design Guidance: Value-type modeling, copy-on-write, some vs any, protocol design, error handling, ARC and lifetime rules, and API design principles. - Performance, Testing, and Tooling: Profiling-driven optimization with InlineArray and Span, Swift Testing with @Test and #expect, macros, and structured logging. - Use Case: When a Swift 6 migration produces a data-race compiler error, use this Skill to work down the fix ladder — stop sharing the value, make it a Sendable value type, isolate it to an actor, or synchronize it — instead of silencing the warning. ## Quick Start Review this Swift file and fix any data-race safety issues using modern Swift 6 concurrency patterns.