Install Swiftdata
Pick your agent. Every command is ready to paste.
npx skills add Prisma-Labs-Dev/apple-skills --skill swiftdataThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads swiftdata when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the swiftdata skill”. In Codex, type $swiftdata.
SwiftData Documentation
Search these docs to answer questions about SwiftData APIs.
Return Format
Always include:
- Summary - Answer the question concisely
- File paths - List relevant files for full details, e.g.:
swiftdata-model.mdfor @Model macroswiftdata-query.mdfor @Query usage
Files
swiftdata-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 data
Tips for Swiftdata
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Swiftdata
What does the Swiftdata skill do?
API reference: SwiftData. Query for @Model, ModelContext, @Query, schema migrations.
How do I install Swiftdata?
Run "npx skills add Prisma-Labs-Dev/apple-skills --skill swiftdata" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Swiftdata work in Cursor and Codex?
Yes. Swiftdata uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Swiftdata free?
Swiftdata is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Swiftdata?
Swiftdata is published by Prisma-Labs-Dev in the Prisma-Labs-Dev/apple-skills repository, together with 29 other skills.

