swiftdata

API reference: SwiftData. Query for @Model, ModelContext, @Query, schema migrations.

prisma-labs-dev/apple-skills328 installsMITSynced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: swiftdata
description: API reference: SwiftData. Query for @Model, ModelContext, @Query, schema migrations.
license: MIT
---

# SwiftData Documentation

Search these docs to answer questions about SwiftData APIs.

## Return Format

Always include:
1. **Summary** - Answer the question concisely
2. **File paths** - List relevant files for full details, e.g.:
   - `swiftdata-model.md` for @Model macro
   - `swiftdata-query.md` for @Query usage

## Files

- `swiftdata-index.md` - Framework overview and all available APIs
- `swiftdata-model.md` - @Model macro and model definition
- `swiftdata-modelcontext.md` - ModelContext for CRUD operations
- `swiftdata-query.md` - @Query property wrapper for fetching data

More Mobile skills

← All Mobile skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY