swift-language
Apply modern Swift language patterns and idioms for non-concurrency, non-SwiftUI code. Covers if/switch expressions (Swift 5.9+), typed throws (Swift 6+), result builders, property wrappers, opaque and existential types (some vs any), guard patterns, Never type, Regex builders (Swift 5.7+), basic Codable shaping (CodingKeys, custom decoding, nested containers), modern collection APIs (count(where:),…
- installs 8w
- 854
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
An agent skill that guides modern Swift language usage for non-concurrency, non-SwiftUI code, covering if/switch expressions, typed throws, result builders, property wrappers, some vs any, guard patterns, Regex builders, basic Codable shaping, modern collection APIs, FormatStyle, and string interpolation. It emphasizes behavior-preserving modernization and routes deep Codable, formatting, and API naming to sibling skills.
Reach for it when writing or modernizing core Swift code so you apply current language idioms correctly without changing behavior.
Use it to
- Modernize legacy Swift syntax while pinning behavior and evaluation order
- Choose between some and any for protocol types
- Apply typed throws and if/switch expressions in Swift 5.9+/6 code
- Shape Codable with CodingKeys and nested containers
- Replace manual loops with modern collection APIs
For Swift and iOS developers using AI coding agents
- Host repository
- dpearson2699/swift-ios-skills
- Installs, lifetime
- 3,600
- Installs, 8 weeks
- 854
- Host stars
- 1,128
- Host language
- Python