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

Sync CloudKit, iCloud key-value, and iCloud Drive data in iOS/macOS apps with conflict, error, and account handling.

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

What it does

  • Covers container setup, record CRUD, queries, subscriptions, CKSyncEngine, SwiftData integration, and iCloud Drive file coordination
  • Includes CKError triage for conflicts, network failures, and quota limits, with a restore-and-rerun workflow instead of blind full resyncs
  • Enforces a durable local queue and persisted change tokens or sync-engine state, and flags fields that cannot be encrypted, queried, or sorted
  • Designed for developers adding or reviewing iCloud sync in Swift apps, including SwiftData models using cloudKitDatabase

Install

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

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

Files

CloudKit

Sync data across devices using CloudKit, iCloud key-value storage, and iCloud Drive. Covers container setup, record CRUD, queries, subscriptions, CKSyncEngine, SwiftData integration, conflict resolution, and error handling.

Contents

Workflow

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Mobile Apps, Databases
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Cloudkit

More Mobile Apps