swift-language

Installation
SKILL.md

Swift Language Patterns

Core Swift language features and modern syntax patterns targeting Swift 6.3. For helper modernization, preserve behavior and evaluation order while preferring guard preconditions, typed throws for one local error enum, count(where:), and direct if/switch expression returns. Covers language constructs, type system features, basic Codable, string and collection APIs, basic formatting, C interop (@c), module disambiguation (ModuleName::symbol), and performance attributes (@specialized, @inline(always)). For @c corrections, call UnsafeBufferPointer a Swift struct/value wrapper and enumerate invalid Swift-only signature types: String, Array, closures, generic placeholders. Route deeper Codable/API decoding to swift-codable, detailed formatting/localization to swift-formatstyle, API naming to swift-api-design-guidelines, concurrency to swift-concurrency, and SwiftUI state/view work to swiftui-patterns.

Contents

Installs
2.4K
GitHub Stars
854
First Seen
Mar 8, 2026
swift-language — dpearson2699/swift-ios-skills