cloudkit
cloudkit
What it does
- Container and Database Setup
- CKRecord CRUD
- CKSubscription
- CKSyncEngine (iOS 17+)
- SwiftData + CloudKit
- NSUbiquitousKeyValueStore
- iCloud Drive File Sync
Requirements & configuration
- 4. Test offline edits, partial failure, rate limiting, token expiry, conflict, account loss, zone deletion, and relaunch.
- | Database | Scope | Requires iCloud | Storage Quota |
- CKRecord.Reference cannot be encrypted because CloudKit needs it server-side.
- still needs Background Modes > Remote notifications.
- from sentRecordZoneChanges.failedRecordSaves still requires custom conflict
Configuration: BEGINSWITHCONTAINSBETWEEN
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
cloudkit FAQ
What does the cloudkit skill do?
Implement, review, or improve CloudKit and iCloud sync in iOS/macOS apps. Use when working with CKContainer, CKRecord, CKQuery, CKSubscription, CKSyncEngine, CKShare, NSUbiquitousKeyValueStore, or iCloud Drive file coordination; when syncing SwiftData models via ModelConfiguration with cloudKitDatabase; when handling CKError codes for conflict resolution, network failures, or quota limits; or when checking iCloud account status before performing sync operations. Container and Database Setup CKRecord CRUD
What does cloudkit require?
4. Test offline edits, partial failure, rate limiting, token expiry, conflict, account loss, zone deletion, and relaunch. | Database | Scope | Requires iCloud | Storage Quota | CKRecord.Reference cannot be encrypted because CloudKit needs it server-side. still needs Background Modes > Remote notifications. from sentRecordZoneChanges.failedRecordSaves still requires custom conflict Configuration keys: BEGINSWITH, CONTAINS, BETWEEN.
How do I install cloudkit?
Run: npx -y skills add https://github.com/dpearson2699/swift-ios-skills --skill cloudkit --agent claude-code — the source lives at github.com/dpearson2699/swift-ios-skills.
Maintain cloudkit?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[cloudkit on getagentictools](https://getagentictools.com/skills/dpearson2699-swift-ios-skills-cloudkit?ref=badge) npx agentictools info skills/dpearson2699-swift-ios-skills-cloudkit The second line is the CLI lookup for this page — handy in READMEs and docs.