charleswiltgen avatar

Axiom Swiftdata Migration

When SwiftData's automatic lightweight migrations aren't enough and you need to handle complex model changes, this skill walks you through the custom migration process. The core insight here is critical: willMigrate only sees your old models, didMigrate only sees new ones, and you can never access both simultaneously. That constraint fundamentally shapes how you architect migrations. The documentation appears focused on iOS 17+ basics while targeting iOS 26+ features, which is a slightly odd split. With 945 GitHub stars and clean security audits, it's clearly being used in production. Worth having on hand before you're desperately Googling SwiftData migration errors at 2am.

skills.sh installs
187
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add charleswiltgen/axiom --skill axiom-swiftdata-migration --agent claude-code

Installs into .claude/skills of the current project.

Files

When SwiftData's automatic lightweight migrations aren't enough and you need to handle complex model changes, this skill walks you through the custom migration process. The core insight here is critical: willMigrate only sees your old models, didMigrate only sees new ones, and you can never access both simultaneously. That constraint fundamentally shapes how you architect migrations. The documentation appears focused on iOS 17+ basics while targeting iOS 26+ features, which is a slightly odd split. With 945 GitHub stars and clean security audits, it's clearly being used in production. Worth having on hand before you're desperately Googling SwiftData migration errors at 2am.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/charleswiltgen/axiom
Category
Testing & QA
First seen
Jun 3, 2026

More from charleswiltgen/axiom

All 167
1terminaluse avatarterminaluseterminaluse/agent-skillsCreate, edit, deploy, and interact with agents on TerminalUse. Use when user mentions "tu", "terminaluse", "deploy agent", "create agent", "edit agent", "update187skills.sh installs
2hiyeshu avatarcodeck-exporthiyeshu/codeckInternal publisher module for /codeck. Exports deck to PDF or PPTX with post-export QA. User-facing export requests should enter through /codeck; this skill def185skills.sh installs
3hairyf avatararch-tsdown-clihairyf/skillsTypeScript CLI starter using tsdown. Use when scaffolding or maintaining an npm CLI package with tsdown, pnpm, Vitest, and npm Trusted Publisher.180skills.sh installs
4josiahsiegel avatarado-pipeline-best-practicesjosiahsiegel/claude-plugin-marketplaceAzure DevOps pipeline best practices, patterns, and industry standards. PROACTIVELY activate for: (1) authoring or reviewing Azure DevOps YAML pipelines, (2) mu180skills.sh installs
5charleswiltgen avataraxiom-background-processingcharleswiltgen/axiomUse when implementing BGTaskScheduler, debugging background tasks that never run, understanding why tasks terminate early, or testing background execution - sys178skills.sh installs
6zjianru avatarweb-search-prozjianru/web-search-proAgent-first web search and retrieval for live web search, news search, docs lookup, code lookup, company research, site crawl, site map, and structured evidence178skills.sh installs