From core-data-expert
Provides expert Core Data guidance for iOS/macOS: stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading/Swift Concurrency, batch ops/persistent history, migrations, performance, CloudKit sync.
How this skill is triggered — by the user, by Claude, or both
Slash command
/core-data-expert:core-data-expertThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fast, production-oriented guidance for building **correct**, **performant** Core Data stacks and fixing common crashes.
references/_index.mdreferences/batch-operations.mdreferences/cloudkit-integration.mdreferences/concurrency.mdreferences/fetch-requests.mdreferences/glossary.mdreferences/migration.mdreferences/model-configuration.mdreferences/performance.mdreferences/persistent-history.mdreferences/project-audit.mdreferences/saving.mdreferences/stack-setup.mdreferences/testing.mdreferences/threading.mdFast, production-oriented guidance for building correct, performant Core Data stacks and fixing common crashes.
NSManagedObjectID for cross-context/cross-task communication; never pass NSManagedObject instances across contexts.references/.NSManagedObjectID handoffreferences/stack-setup.mdreferences/saving.mdreferences/fetch-requests.mdreferences/threading.mdreferences/concurrency.mdreferences/batch-operations.mdreferences/persistent-history.mdreferences/model-configuration.mdreferences/migration.mdreferences/cloudkit-integration.mdreferences/performance.mdreferences/testing.mdreferences/glossary.mdreferences/testing.md (shared NSManagedObjectModel)NSPersistentStoreIncompatibleVersionHashError → references/migration.md (versioning + migration)references/threading.md and/or references/concurrency.md (use NSManagedObjectID)references/concurrency.md (don’t “paper over” with @unchecked Sendable)NSMergeConflict / constraint violations → references/model-configuration.md + references/stack-setup.md (constraints + merge policy)references/persistent-history.md + references/batch-operations.mdreferences/cloudkit-integration.mdreferences/performance.md + references/fetch-requests.mdNSManagedObject instances never cross contexts; pass NSManagedObjectID instead.references/_index.md (navigation)references/stack-setup.mdreferences/saving.mdreferences/fetch-requests.mdreferences/threading.mdreferences/concurrency.mdreferences/batch-operations.mdreferences/persistent-history.mdreferences/model-configuration.mdreferences/migration.mdreferences/cloudkit-integration.mdreferences/performance.mdreferences/testing.mdreferences/glossary.mdnpx claudepluginhub avdlee/core-data-agent-skill --plugin core-data-expertBuilds and reviews Core Data persistence for apps without SwiftData. Covers stack setup, concurrency, batch operations, NSFetchedResultsController, persistent history tracking, staged migration, composite attributes, and testing.
Sets up Core Data for iOS persistence with stacks, SwiftUI @FetchRequest integration, predicates, background contexts, and SwiftData migration.
Guides data persistence on Apple platforms: SwiftData, Core Data, GRDB, SQLite, CloudKit, file storage, Codable, migrations. Includes auditors for schema safety and migration debugging.