What problem does it solve?
Swift's concurrency model changed significantly in Swift 6.2, and most code generators and developers still write outdated patterns — unnecessary actors, misused async, data races, retain cycles, and protocol over-engineering. This Skill encodes current best practices through Swift 6.3/6.4 so Swift code is written the way the language intends.
Core Features & Use Cases
- Modern Concurrency Guidance: Covers the Swift 6.2 model — main-actor-by-default,
@concurrent, nonisolated, actors, structured concurrency, and a step-by-step fix list for data-race errors.
- Value-Type Data Modeling: Enforces struct/enum-first design, copy-on-write, noncopyable types, and
some vs any existential decisions.
- Performance, ARC, and Testing: Details profiling-driven optimization (
InlineArray, Span, existential buffers), reference-cycle elimination, and Swift Testing with @Test, #expect, and parameterized suites.
- Use Case: When migrating a codebase to Swift 6 strict concurrency and hitting sendability errors, use this Skill to work down the fix list — don't share, make it a Sendable value type, isolate to an actor, then reach for
Mutex.
Quick Start
Review my Swift package for Swift 6 concurrency issues and rewrite the networking layer using approachable concurrency with main-actor default isolation.