Handles CloudKit and iCloud sync for iOS and macOS apps. You'll reach for this when implementing record CRUD, queries, subscriptions, or when setting up CKSyncEngine for automatic conflict resolution and change tracking. Covers the full stack from container setup and custom zones to SwiftData integration and iCloud Drive file coordination. The CKSyncEngine section is solid if you're on iOS 17+, it's the modern approach that handles retry logic and push notifications for you. Includes practical error handling patterns for network failures and quota limits, plus a conflict resolution guide. Targets Swift 6.3 but notes backward compatibility where it matters.

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

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Git & Pull Requests, Code Review & Quality, Sales & Marketing, Mobile Development
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1kkkkhazix avatarneat-freakkkkkhazix/khazix-skillsKnowledge and governance closeout: reconcile project docs, rule files (CLAUDE.md/AGENTS.md), authorized agent memory, and workspace residue with what the code a3.5Kskills.sh installs
2actionbook avatarunsafe-checkeractionbook/rust-skillsCRITICAL: Use for unsafe Rust code review and FFI. Triggers on: unsafe, raw pointer, FFI, extern, transmute, *mut, *const, union, #[repr(C)], libc, std::ffi, Ma3.5Kskills.sh installs
3himself65 avatarearnings-recaphimself65/finance-skillsGenerate a post-earnings analysis for any stock using Yahoo Finance data. Use when the user wants to review what happened after earnings, understand beat/miss r3.4Kskills.sh installs
4getsentry avatarblog-writing-guidegetsentry/skillsWrite, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and quality bar. Use this skill when3.4Kskills.sh installs
5himself65 avatarearnings-previewhimself65/finance-skillsGenerate a pre-earnings briefing for any stock using Yahoo Finance data. Use this skill whenever the user wants to prepare for an upcoming earnings report, unde3.4Kskills.sh installs
6dpearson2699 avatarphotokitdpearson2699/swift-ios-skillsImplement, review, or improve photo picking, camera capture, and media handling in iOS apps using PhotoKit and AVFoundation. Use when working with PhotosPicker,3.4Kskills.sh installs