
swift-language
Apply modern Swift language patterns and idioms for non-concurrency
by dpearson2699Free
Description
Swift Language Patterns is an agent skill that has an agent apply modern Swift syntax and idioms to ordinary code that is not about concurrency or SwiftUI. Examples include if and switch expressions from Swift 5.9 and typed throws from Swift 6. The rule is to update syntax without changing behavior or evaluation order. Related topics are routed to sibling skills in the same collection: decoding to swift-codable, formatting to swift-formatstyle, naming to swift-api-design-guidelines, concurrency to swift-concurrency, and SwiftUI state and views to swiftui-patterns. It is part of dpearson2699/swift-ios-skills and suits developers modernizing Swift codebases.…
Highlights
- Modern Swift idioms for general code
- if/switch expressions (Swift 5.9+)
- Typed throws (Swift 6+)
- Keeps behavior and evaluation order unchanged
- Routes concurrency and SwiftUI elsewhere
Ratings & Reviews
No ratings yet
Be the first to rate swift-language.
People also visit

swift-concurrency
Resolve Swift concurrency compiler errors, adopt approachable concurrency
swift-language FAQ
What kind of code is this skill for?
General Swift code outside concurrency and SwiftUI, where you want current language syntax and idioms.
What is the install command?
Install it with the skills CLI: `npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swift-language`.
Will it change how my code behaves?
No. It is told to apply new syntax without changing behavior or evaluation order.
Which topics go to other skills?
Decoding, formatting, API naming, concurrency and SwiftUI state and views each have their own skill in the collection.
What are the security audit results?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best swift-language alternatives?
Popular alternatives to swift-language include write-swift, swift-concurrency-pro and swift-concurrency. See all swift-language alternatives









