What problem does it solve? Swift codebases often accumulate hidden thread hops, optional-heavy data models, and bloated files that mix delegates, converters, and platform glue into one type. This Skill guides the design, implementation, and review of Swift APIs so invalid states become unrepresentable, concurrency models stay consistent, and files follow a strict one-type-per-file structure. ## Core Features & Use Cases - Type-Safe API Design: Replaces nullable field clusters with protocols, conforming structs, or enums with associated values so each state exposes only its valid fields. - Concurrency Discipline: Enforces choosing either Swift async/await with actors or an owned serial DispatchQueue per feature, banning DispatchQueue.sync, unstructured Task { @MainActor in ... } hops, and sleep-based race fixes. - File Organization Rules: Applies one top-level type per file, named Type+operation.swift extension files, and orchestration-only Hybrid*Factory files for Nitro Modules. - Use Case: When building a Swift-backed React Native Nitro Module that wraps AVFoundation camera APIs, use this Skill to model scanned-data variants as distinct types, expose queue-bound reads as Promise<T> methods via Promise.parallel(queue), and keep the factory file limited to preflight checks and session creation. ## Quick Start Use the swift skill to review my HybridDataScanner.swift implementation and redesign its API and threading model.