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-code

Installs 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 GitHub

Sponsors

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
1gocallum avatarresend-integration-skillsgocallum/nextjs16-agent-skillsIntegrate Resend email service via MCP protocol for AI agents to send emails with Claude Desktop, GitHub Copilot, and Cursor. Set up transactional and marketing413skills.sh installs
2galaxy-dawn avatarbug-detectivegalaxy-dawn/claude-scholarThis skill should be used when the user asks to "debug this", "fix this error", "investigate this bug", "troubleshoot this issue", "find the problem", "somethin412skills.sh installs
3mrgoonie avatardocs-seekermrgoonie/claudekit-skillsSearching internet for technical documentation using llms.txt standard, GitHub repositories via Repomix, and parallel exploration. Use when user needs: (1) Late408skills.sh installs
4secondsky avatarclaude-code-bash-patternssecondsky/claude-skillsClaude Code Bash tool patterns with hooks, automation, git workflows. Use for PreToolUse hooks, command chaining, CLI orchestration, custom commands, or encount408skills.sh installs
5snyk avatarsnyk-fixsnyk/studio-recipesComplete security remediation workflow. Scans code for vulnerabilities using Snyk, fixes them, validates the fix, and optionally creates a PR. Supports both sin408skills.sh installs
6robdefeo avatarpara-second-brainrobdefeo/agent-skillsUse this skill when the user wants to organize, classify, or maintain a PARA-method second brain. Triggers include asking where to file something, distinguishin407skills.sh installs