Designs, implements, migrates, and integrates SwiftData persistence in Apple apps. Covers schemas, containers, queries, relationships, concurrency, and SwiftUI integration.
Ships in apple-dev-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Own SwiftData persistence decisions without spreading SwiftData policy across unrelated Apple skills. Start from current Apple documentation, keep persistence types distinct from runtime/domain values, and hand view composition or general source-tree work to their focused owners.
Use for SwiftData schemas, containers, contexts, queries, relationships, migrations, previews, tests, concurrency, and SwiftUI persistence integration.
explore-apple-swift-docs before proposing implementation.references/models-containers-and-contexts.mdreferences/swiftui-integration.mdreferences/migrations-testing-and-boundaries.mdGEAWhatever.swift, SwiftData @Model persistence types GEAWhateverModel.swift, and additional Record or DTO representations only when a real boundary requires them.modelContainer, environment modelContext, @Query, model objects, and narrow bindings. Do not insert repositories, stores, service mirrors, DTO mirrors, or view-model caches between SwiftData and SwiftUI.swiftui-app-architecture-workflow, filename and directory cleanup to structure-swift-sources, execution to xcode-build-run-workflow, and tests to xcode-testing-workflow.Return the documented behavior, schema and ownership decision, naming decision, migration or compatibility impact, validation path, and any required handoff.
Model for persistence representations.State as a filename or type suffix for ordinary runtime/domain values.+ filenames.ModelContext concurrency or lifecycle assumptions.explore-apple-swift-docs.swiftui-app-architecture-workflow and source naming cleanup to structure-swift-sources.references/models-containers-and-contexts.mdreferences/swiftui-integration.mdreferences/migrations-testing-and-boundaries.mdreferences/snippets/apple-xcode-project-core.md when the user needs reusable repository policy rather than a one-off SwiftData decision.What SKILL.md sets; muted values are Claude Code's defaults
/apple-dev-skills:swiftdata-workflowfrom apple-dev-skills
npx claudepluginhub gaelic-ghost/socket --plugin apple-dev-skills65 skills in this plugin
/app-extension-architecture-workflowRoute Apple app-extension work across extension points, targets, isolation, entitlements, shared containers, lifecycle, privacy, testing, signing, distribution, and handoffs. Use when the extension point is not settled./app-intents-workflowDesign, implement, validate, and troubleshoot App Intents, App Entities, App Shortcuts, and system-surface integrations. Use when exposing a focused app action or content to Siri, Spotlight, Shortcuts, widgets, controls, Live Activities, or hardware interactions./appkit-app-architecture-workflowOther plugins' skills for the same job