New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Swift Codable models with JSON/plist encoding, custom keys, date and data strategies, and nested or heterogeneous decoding.

skills.sh installs
3.8K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers JSONDecoder and JSONEncoder conformance, custom CodingKeys, and custom init(from:) and encode(to:) for transformations synthesis cannot handle
  • Includes guidance on nested and flattened containers, heterogeneous arrays, date and data strategies, and lossy array decoding
  • Enforces a decode-and-verify workflow that inspects DecodingError and codingPath, and avoids hiding contract failures with lossy decoding
  • Designed for Swift 6.3 and iOS 26 projects parsing API responses or integrating Codable with URLSession, SwiftData, or UserDefaults

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-codable -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Details

Repository
github.com/dpearson2699/swift-ios-skills
Category
Mobile Apps
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Swift Codable

More Mobile Apps