Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates SwiftData or CoreData persistence layers with optional iCloud (CloudKit) sync for iOS and macOS apps.
Use this skill ↓59% 77%+18 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 13 of 22 without it.
When enabling iCloud cloud synchronization for our persistence layer, what additional dedicated files should be generated under `Sources/Persistence/CloudSync/`?
Creates CloudKitConfiguration.swift file for sync container settings
3 of 3 safety checks passed
Generates a production-ready persistence layer using SwiftData (iOS 17+) or CoreData with optional iCloud (CloudKit) sync.
Before generating, ALWAYS check:
# Check deployment target
cat Package.swift | grep -i "platform"
# Or check project.pbxproj
# Find existing persistence implementations
rg -l "ModelContainer|NSPersistentContainer|@Model|@Entity" --type swift
# Check for existing SwiftData models
rg "@Model" --type swift | head -5
# Check for CoreData stack
rg "NSManagedObjectContext|NSPersistentStore" --type swift | head -5
# Check existing entitlements for iCloud
cat *.entitlements 2>/dev/null | grep -i "icloud"
Use SwiftData if:
Next to this one in the catalogue, plus more from the same author.