@dpearson2699/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+), Codable best practices (CodingKeys, custom decoding, nested containers), modern collection APIs (count(where:), contains(where:), replacing()), FormatStyle (.formatted() on dates, numbers, measurements), and string interpolation patterns. Use when writing core Swift code involving generics, protocols, enums, closures, or modern language features.

View in AI SkillSafe app
1164 downloads
0 stars
0 demos
SKILL.md

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@dpearson2699/swift-language/verified)](https://skillsafe.ai/skill/@dpearson2699/swift-language/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@dpearson2699/swift-language/installs)](https://skillsafe.ai/skill/@dpearson2699/swift-language/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@dpearson2699/swift-language/scan)](https://skillsafe.ai/skill/@dpearson2699/swift-language/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@dpearson2699/swift-language/eval)](https://skillsafe.ai/skill/@dpearson2699/swift-language/)