
Description
swift-codable is an agent skill from the swift-ios-skills collection for implementing Swift Codable models. It covers encoding and decoding Swift types to and from JSON and property lists, using JSONEncoder, JSONDecoder and related APIs. The skill is written for Swift 6.3 and iOS 26 and later, as the page states. Its contents cover the usual parts of a Codable model, including CodingKeys for mapping names and custom init(from:) or encode(to:) implementations for data that does not map directly onto a type. Use it when you are writing or fixing models that talk to a web API, when a decode fails because the JSON shape does not match the Swift type, or when you want to store a model as a property list. The page itself is short and lists its sections only, so check the skill's own instructions for the details of each section before relying on them. The skill is free. Its page shows about 3.8K installs and 1.3K GitHub stars for the repository, and its audits show Gen Agent Trust Hub, Socket and Snyk all at Pass.…
Highlights
- JSON and property list encoding and decoding
- CodingKeys for mapping names
- Custom init(from:) for unusual data shapes
- Targets Swift 6.3 and iOS 26 and later
- Free to use
Ratings & Reviews
No ratings yet
Be the first to rate swift-codable.
People also visit
SwiftyJSONAccelerator
macOS app to generate Swift 5 code for models from JSON (with Codeable)
swift-codable FAQ
What does the swift-codable skill do?
It helps an agent implement Codable models that encode and decode JSON and property lists with JSONEncoder and JSONDecoder.
Which Swift and iOS versions does it target?
The page says it targets Swift 6.3 and iOS 26 and later.
How do I install it?
Run: npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swift-codable
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best swift-codable alternatives?
Popular alternatives to swift-codable include swiftdata, swift-expert and swiftdata-pro. See all swift-codable alternatives












