
Swift Language
A comprehensive reference for modern Swift language features from 5.9 through 6.3. You get if/switch expressions, typed throws, result builders, property wrappers, and the some/any distinction explained clearly with working examples. Also covers Regex builders, Codable patterns with custom CodingKeys, modern collection methods like count(where:), and FormatStyle for dates and numbers. The examples are practical and the opaque vs existential types section actually clarifies when to use each. Use this when you're writing core Swift code with generics, protocols, or modern syntax and want to avoid the outdated patterns that still fill most tutorials. Deliberately excludes concurrency and SwiftUI, which have separate skills.
- skills.sh installs
- 4.1K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-language --agent claude-codeInstalls into .claude/skills of the current project.
Files
Swift Language Patterns
Apply current Swift language syntax without changing behavior or evaluation order.
Route deep decoding to swift-codable, formatting to swift-formatstyle, naming
to swift-api-design-guidelines, concurrency to swift-concurrency, and SwiftUI
state/view work to swiftui-patterns.
Contents
- If/Switch Expressions
- Typed Throws
- Result Builders
- Property Wrappers
- Opaque and Existential Types
- Guard Patterns
- Never Type
- Regex Builders
- Codable Best Practices
- Modern Collection APIs
- FormatStyle
- String Interpolation
- Common Mistakes
- Review Checklist
- References
If/Switch Expressions
For modernization, pin current behavior and evaluation order, make one semantic rewrite, compile the affected module, and run focused fixtures/tests. Fix any change before continuing; repeat until behavior is preserved.
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Backend & APIs, Documentation, Code Review & Quality, Mobile Development, Design & UI/UX
- First seen
- Apr 16, 2026
More from dpearson2699/swift-ios-skills
All 98- App Intents4.1K
- Authentication4.1K
- Background Processing4.1K
- Healthkit4K
- Vision Framework4K
- Coreml3.9K
- Core Bluetooth3.9K
- Core Motion3.8K
- Natural Language3.8K
- Speech Recognition3.8K
- Device Integrity3.8K
- Contacts Framework3.8K
- Alarmkit3.8K
- Core Nfc3.8K
- Swift Codable3.8K
- Tipkit3.8K
- App Clips3.8K
- Permissionkit3.7K
- Energykit3.7K
- Shareplay Activities3.7K
- Weatherkit3.6K
- Activitykit3.5K
- Cloudkit3.5K
- Photokit3.4K