Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vabole avatar

Swiftdata

  • 215 installs
  • 297 repo stars
  • Updated August 4, 2026
  • vabole/apple-skills

Model, persist, migrate, and query on-device data with SwiftData and SwiftUI in iOS apps needing local storage, sync prep, or offline-first catalogs.

About

Teaches Claude how to implement Apple SwiftData persistence in native apps: defining models, configuring containers, performing fetches and saves, handling migrations, and integrating with SwiftUI for offline-first mobile data layers.

  • @Model schema and relationships
  • ModelContainer and ModelContext setup
  • Fetch descriptors, sorting, and predicates
  • Migration and versioning strategies
  • SwiftUI @Query integration patterns

Swiftdata by the numbers

  • 215 all-time installs (skills.sh)
  • +4 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #423 of 1,039 Mobile Development skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/vabole/apple-skills --skill swiftdata

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs215
repo stars297
Last updatedAugust 4, 2026
Repositoryvabole/apple-skills

What it does

Model, persist, migrate, and query on-device data with SwiftData and SwiftUI in iOS apps needing local storage, sync prep, or offline-first catalogs.

Files

SKILL.mdMarkdownGitHub ↗

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

Related skills

Mobile Developmentbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.