Skip to content
vanab avatar

Swiftdata Expert Skill

Expert SwiftData persistence guidance for modeling, querying, migrating, syncing, and debugging Swift and SwiftUI apps.

CCM score
43 of 100
skills.sh installs
335
GitHub stars
14
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers @Model schemas, relationships, queries, ModelContainer and ModelContext setup, and CloudKit sync across iOS 17 and later
  • Includes 10 reference files on migrations and history, Core Data adoption, concurrency, and playbooks, plus rg search commands for locating persistence code
  • Enforces data-integrity rules such as confirming container wiring, reviewing delete rules before batch deletes, and requiring migration rehearsal before schema changes
  • Designed for developers reviewing or hardening SwiftData persistence architecture in apps with CloudKit or Core Data coexistence

Install

$ npx -y skills add vanab/swiftdata-agent-skill --skill swiftdata-expert-skill -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SwiftData Expert Skill

Overview

Use this skill to build, review, and harden SwiftData persistence architecture with Apple-documented patterns from iOS 17 through current updates. Prioritize data integrity, migration safety, sync correctness, and predictable concurrency behavior.

Agent Behavior Contract (Follow These Rules)

Details

Repository
github.com/vanab/swiftdata-agent-skill
Categories
Mobile Apps, Databases
First seen
Jun 3, 2026

Questions

What does the SwiftData Expert Skill help with?

It guides designing, implementing, migrating, and debugging SwiftData persistence in Swift and SwiftUI apps. It covers @Model schemas, relationships, queries, ModelContainer and ModelContext setup, CloudKit sync, and Core Data adoption.

How do I install the SwiftData Expert Skill?

Run npx -y skills add vanab/swiftdata-agent-skill --skill swiftdata-expert-skill -y in your project. The skill then lets your agent review schema changes, container wiring, and concurrency boundaries in your SwiftData code.

Which SwiftData topics does this skill cover in depth?

It has reference files for modeling and schema, model context lifecycle, querying and fetching, relationships and inheritance, migrations and persistent history, CloudKit sync, and concurrency with actors. It also covers troubleshooting common problems such as empty fetches and duplicate rows.

Where does this skill fit among other Mobile Apps skills?

It is in the Mobile Apps category on Claude Marketplaces, alongside vercel-react-native-skills, animate-expo, write-swift, firebase-crashlytics and xcode-project-setup. Its focus is narrower than those, centered on SwiftData persistence rather than general app tooling.

Similar to Swiftdata Expert Skill

More Mobile Apps