swiftdata
Installation
SKILL.md
SwiftData — Foundations Skill
Purpose
Route SwiftData implementation tasks to the minimum required SwiftData
Knowledge Contracts. v1 scope is declaring @Model classes and their
attributes/relationships, setting up and injecting a ModelContainer,
performing CRUD through a ModelContext, fetching with @Query or
FetchDescriptor, and delete-rule/referential-integrity behavior on
relationships -- not CloudKit sync, not schema migration, not Core Data
interop, and not the #Index/#Unique macros beyond a basic mention.
Routing
Load only the contracts relevant to the task. All paths relative to knowledge/swiftdata/.