Build, review, or improve Core Data persistence in apps that have not adopted SwiftData. Use when working with NSManagedObject subclasses, NSFetchedResultsController for list-driven UI, NSBatchInsertRequest / NSBatchDeleteRequest / NSBatchUpdateRequest for bulk operations, NSPersistentHistoryChangeRequest for persistent history tracking and multi-target sync, NSStagedMigrationManager for staged schema migrations (iOS 17+), NSCompositeAttributeDescription for composite attributes (iOS 17+), or when integrating Core Data threading with Swift Concurrency. For Core Data + SwiftData coexistence or migration, see the swiftdata skill instead.
$npx -y skills add dpearson2699/swift-ios-skills --skill core-dataInstalls into the current project.
Run `npx skills use "https://github.com/dpearson2699/swift-ios-skills" --skill "dpearson2699/swift-ios-skills/core-data"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dpearson2699/swift-ios-skills" that are relevant to the current task. Run `npx skills add "https://github.com/dpearson2699/swift-ios-skills"` and select the relevant skills, then follow their instructions.