Skip to content
alyn
Prisma-Labs-Dev

Swiftdata skill

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

$npx skills add Prisma-Labs-Dev/apple-skills --skill swiftdata
View this skill on GitHubPrisma-Labs-Dev/apple-skills/skills/swiftdata/SKILL.md
Pack stars
358
Pack installs
21k
Alyn Score
49/99
Updated
2 months ago
License
MIT
– views – installs via Alyn

Prisma-Labs-Dev

Swiftdata

Install Swiftdata

Pick your agent. Every command is ready to paste.

$npx skills add Prisma-Labs-Dev/apple-skills --skill swiftdata

The 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.

The skill itself

SKILL.md

FolderGitHub

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

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.

Similar skills. From other creators.