From apple-skills
Provides SwiftData API reference for @Model macro, ModelContext CRUD operations, @Query data fetching, and schema migrations. Answers queries with summaries and relevant file paths.
How this skill is triggered — by the user, by Claude, or both
Slash command
/apple-skills:swiftdataExploreThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Search these docs to answer questions about SwiftData APIs.
Search these docs to answer questions about SwiftData APIs.
Always include:
swiftdata-model.md for @Model macroswiftdata-query.md for @Query usageswiftdata-index.md - Framework overview and all available APIsswiftdata-model.md - @Model macro and model definitionswiftdata-modelcontext.md - ModelContext for CRUD operationsswiftdata-query.md - @Query property wrapper for fetching datanpx claudepluginhub vabole/apple-skills --plugin apple-skillsPersist, query, and manage structured data in iOS apps using SwiftData with SwiftUI integration, @Model classes, @Attribute, @Relationship, #Predicate, FetchDescriptor, schema migrations, and CloudKit sync.
Reviews SwiftData code for model design, queries, concurrency, and migrations. Use when reviewing .swift files with import SwiftData, @Model, @Query, @ModelActor, or VersionedSchema.
Reviews SwiftData code for patterns like autosave, relationships, dangerous predicates, CloudKit constraints, indexing, and class inheritance. Use when writing, reviewing, or debugging SwiftData.