
Cloudkit Sync
Covers CloudKit from container setup through CKSyncEngine, with SwiftData integration, query predicates, subscriptions, and conflict resolution. Use it when you're adding iCloud sync to an app, debugging CKError.serverRecordChanged conflicts, or reviewing whether encrypted fields break queries. The guide is thorough on what NSPredicate operators actually work, when custom zones are required, and how CKSyncEngine handles automatic retries but still punts conflict resolution back to you. Targets iOS 26+ with Swift 6.3, though most patterns apply to earlier versions. Good reference if you're past the "enable CloudKit capability" stage and need to understand zone subscriptions, shared database mechanics, or why your CONTAINS predicate isn't firing.
- skills.sh installs
- 413
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill cloudkit-sync --agent claude-codeInstalls into .claude/skills of the current project.
Files
Covers CloudKit from container setup through CKSyncEngine, with SwiftData integration, query predicates, subscriptions, and conflict resolution. Use it when you're adding iCloud sync to an app, debugging CKError.serverRecordChanged conflicts, or reviewing whether encrypted fields break queries. The guide is thorough on what NSPredicate operators actually work, when custom zones are required, and how CKSyncEngine handles automatic retries but still punts conflict resolution back to you. Targets iOS 26+ with Swift 6.3, though most patterns apply to earlier versions. Good reference if you're past the "enable CloudKit capability" stage and need to understand zone subscriptions, shared database mechanics, or why your CONTAINS predicate isn't firing.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Git & Pull Requests, Code Review & Quality, Sales & Marketing, Mobile Development
- First seen
- Jun 3, 2026
More from dpearson2699/swift-ios-skills
All 98- Metrickit Diagnostics409
- Musickit Audio409
- Realitykit Ar407
- Callkit Voip403
- Pencilkit Drawing403
- Homekit Matter402
- Passkit Wallet401
- Codable Patterns252
- Swiftui Animation5.7K
- Ios Accessibility5.2K
- Swiftui Performance4.8K
- App Store Review4.8K
- Swiftui Patterns4.7K
- Ios Networking4.6K
- Swiftui Navigation4.6K
- Swift Testing4.5K
- Ios Localization4.5K
- Swift Concurrency4.5K
- Swiftui Layout Components4.4K
- Push Notifications4.4K
- Swiftui Liquid Glass4.3K
- Swiftdata4.3K
- Debugging Instruments4.3K
- Swiftui Uikit Interop4.2K