core-data
Installation
SKILL.md
Core Data — Foundations Skill
Purpose
Route Core Data implementation tasks to the minimum required Core Data
Knowledge Contracts. v1 scope is subclassing NSManagedObject and choosing
an .xcdatamodeld Codegen mode with @NSManaged properties, standing up
and loading an NSPersistentContainer, performing CRUD through an
NSManagedObjectContext with basic thread confinement and a basic
parent-child context relationship, fetching with NSFetchRequest/
@FetchRequest, and NSDeleteRule/inverse-relationship referential
integrity -- not CloudKit sync, not migration, not
NSFetchedResultsController, not advanced multi-context concurrency, and
not SwiftData interop.
Routing
Load only the contracts relevant to the task. All paths relative to knowledge/core-data/.