[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E6QE5JH115EM2CCNZBCVF5":3,"skill-same:01M6E6QE5JH115EM2CCNZBCVF5":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6E6QE5JH115EM2CCNZBCVF5","axiom-swiftdata-migration-diag",null,"Use when SwiftData migrations crash, fail to preserve relationships, lose data, or work in simulator but fail on device - systematic diagnostics for schema version mismatches, relationship errors, and migration testing gaps","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FCharlesWiltgen\u002FAxiom\u002Faxiom-swiftdata-migration-diag\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"migration","axiom swiftdata migration diag","testing","diagnostics","data","work","use","version","schema","crash","migrations","device","but","relationship","relationships","systematic","2026-11-10 10:12:30",false,"---\nname: axiom-swiftdata-migration-diag\ndescription: Use when SwiftData migrations crash, fail to preserve relationships, lose data, or work in simulator but fail on device - systematic diagnostics for schema version mismatches, relationship errors, and migration testing gaps\nlicense: MIT\nmetadata:\n  version: \"1.0.0\"\n---\n\n# SwiftData Migration Diagnostics\n\n## Overview\n\nSwiftData migration failures manifest as production crashes, data loss, corrupted relationships, or simulator-only success. **Core principle** 90% of migration failures stem from missing models in VersionedSchema, relationship inverse issues, or untested migration paths—not SwiftData bugs.\n\n## Red Flags — Suspect SwiftData Migration Issue\n\nIf you see ANY of these, suspect a migration configuration problem:\n\n- App crashes on launch after schema change\n- \"Expected only Arrays for Relationships\" error\n- \"The model used to open the store is incompatible with the one used to create the store\"\n- \"Failed to fulfill faulting for [relationship]\"\n- Migration works in simulator but crashes on real device\n- Data exists before migration, gone after\n- Relationships broken after migration (nil where they shouldn't be)\n- ❌ **FORBIDDEN** \"SwiftData migrations are broken, we should use Core Data\"\n  - SwiftData handles millions of migrations in production apps\n  - Schema mismatches and relationship errors are always configuration, not framework\n  - Do not rationalize away the issue—diagnose it\n\n**Critical distinction** Simulator deletes the database on each rebuild, hiding schema mismatch issues. Real devices keep persistent databases and crash immediately on schema mismatch. **MANDATORY: Test migrations on real device with real data before shipping.**\n\n## Mandatory First Steps\n\n**ALWAYS run these FIRST** (before changing code):\n\n```swift\n\u002F\u002F 1. Identify the crash\u002Fissue type\n\u002F\u002F Screenshot the crash message and note:\n\u002F\u002F   - \"Expected only Arrays\" = relationship inverse missing\n\u002F\u002F   - \"incompatible model\" = schema version mismatch\n\u002F\u002F   - \"Failed to fulfill faulting\" = relationship integrity broken\n\u002F\u002F   - Simulator works, device crashes = untested migration path\n\u002F\u002F Record: \"Error type: [exact message]\"\n\n\u002F\u002F 2. Check schema version configuration\n\u002F\u002F In your migration plan:\nenum MigrationPlan: SchemaMigrationPlan {\n    static var schemas: [any VersionedSchema.Type] {\n        \u002F\u002F ✅ VERIFY: All versions in order?\n        \u002F\u002F ✅ VERIFY: Latest version matches container?\n        [SchemaV1.self, SchemaV2.self, SchemaV3.self]\n    }\n\n    static var stages: [MigrationStage] {\n        \u002F\u002F ✅ VERIFY: Migration stages match schema transitions?\n        [migrateV1toV2, migrateV2toV3]\n    }\n}\n\n\u002F\u002F In your app:\nlet schema = Schema(versionedSchema: SchemaV3.self)  \u002F\u002F ✅ VERIFY: Matches latest in plan?\nlet container = try ModelContainer(\n    for: schema,\n    migrationPlan: MigrationPlan.self  \u002F\u002F ✅ VERIFY: Plan is registered?\n)\n\u002F\u002F Record: \"Schema version: latest is [version]\"\n\n\u002F\u002F 3. Check all models included in VersionedSchema\nenum SchemaV2: VersionedSchema {\n    static var models: [any PersistentModel.Type] {\n        \u002F\u002F ✅ VERIFY: Are ALL models listed? (even unchanged ones)\n        [Note.self, Folder.self, Tag.self]\n    }\n}\n\u002F\u002F Record: \"Missing models? Yes\u002Fno\"\n\n\u002F\u002F 4. Check relationship inverse declarations\n@Model\nfinal class Note {\n    @Relationship(deleteRule: .nullify, inverse: \\Folder.notes)  \u002F\u002F ✅ VERIFY: inverse specified?\n    var folder: Folder?\n\n    @Relationship(deleteRule: .nullify, inverse: \\Tag.notes)  \u002F\u002F ✅ VERIFY: inverse specified?\n    var tags: [Tag] = []\n}\n\u002F\u002F Record: \"Relationship inverses: all specified? Yes\u002Fno\"\n\n\u002F\u002F 5. Enable SwiftData debug logging\n\u002F\u002F In Xcode scheme, add argument:\n\u002F\u002F -com.apple.coredata.swiftdata.debug 1\n\u002F\u002F Run and check Console for SQL queries\n\u002F\u002F Record: \"Debug log shows: [what you see]\"\n```\n\n#### What this tells you\n\n- **\"Expected only Arrays for Relationships\"** → Proceed to Pattern 1 (relationship inverse fix)\n- **\"incompatible model\"** → Proceed to Pattern 2 (schema version mismatch)\n- **Missing models in VersionedSchema** → Proceed to Pattern 3 (complete schema snapshot)\n- **Simulator works, device crashes** → Proceed to Pattern 4 (migration testing)\n- **Data lost after migration** → Proceed to Pattern 5 (willMigrate\u002FdidMigrate misuse)\n\n#### MANDATORY INTERPRETATION\n\nBefore changing ANY code, identify ONE of these:\n\n1. If error is \"Expected only Arrays\" AND relationship inverse missing → Relationship configuration issue\n2. If error mentions \"incompatible\" AND schema versions don't match → Version mismatch\n3. If models are missing from VersionedSchema → Incomplete schema snapshot\n4. If simulator succeeds but device fails → Untested migration path\n5. If data exists before but not after → willMigrate\u002FdidMigrate limitation violated\n\n#### If diagnostics are contradictory or unclear\n\n- STOP. Do NOT proceed to patterns yet\n- Add `-com.apple.coredata.swiftdata.debug 1` and examine SQL output\n- Check file system: does .sqlite file exist? What size?\n- Establish baseline: what's actually happening vs. what you assumed\n\n---\n\n## Verifying Migration Completed Successfully\n\n**Use this section when migration appears to complete without errors, but you want to verify data integrity.**\n\n### Quick Verification Checklist\n\nAfter migration runs without crashing:\n\n```swift\n\u002F\u002F 1. Verify record count matches pre-migration\nlet context = container.mainContext\nlet postMigrationCount = try context.fetch(FetchDescriptor\u003CNote>()).count\nprint(\"Post-migration count: \\(postMigrationCount)\")\n\u002F\u002F Compare to pre-migration count\n\n\u002F\u002F 2. Spot-check specific records\nlet sampleNote = try context.fetch(\n    FetchDescriptor\u003CNote>(predicate: #Predicate { $0.id == \"known-test-id\" })\n).first\nprint(\"Sample note title: \\(sampleNote?.title ?? \"MISSING\")\")\n\n\u002F\u002F 3. Verify relationships intact\nif let note = sampleNote {\n    print(\"Folder relationship: \\(note.folder != nil ? \"✓\" : \"✗\")\")\n    print(\"Tags count: \\(note.tags.count)\")\n\n    \u002F\u002F Verify inverse relationships\n    if let folder = note.folder {\n        let folderHasNote = folder.notes.contains { $0.id == note.id }\n        print(\"Inverse relationship: \\(folderHasNote ? \"✓\" : \"✗\")\")\n    }\n}\n\n\u002F\u002F 4. Check for orphaned data\nlet orphanedNotes = try context.fetch(\n    FetchDescriptor\u003CNote>(predicate: #Predicate { $0.folder == nil })\n)\nprint(\"Orphaned notes (should be 0 if cascade delete worked): \\(orphanedNotes.count)\")\n```\n\n### What Successful Migration Looks Like\n\n**Console Output:**\n```\nPost-migration count: 1523  \u002F\u002F Matches pre-migration\nSample note title: Test Note  \u002F\u002F Not \"MISSING\"\nFolder relationship: ✓\nTags count: 3\nInverse relationship: ✓\nOrphaned notes: 0\n```\n\n**If you see:**\n- Record count differs → Data loss (check willMigrate logic)\n- \"MISSING\" records → Schema mismatch or fetch error\n- Relationships nil → Inverse configuration or prefetching issue\n- Orphaned records >0 → Cascade delete rule not working\n\nSee patterns below for specific fixes.\n\n---\n\n## Decision Tree\n\n```\nSwiftData migration problem suspected?\n├─ Error: \"Expected only Arrays for Relationships\"?\n│  └─ YES → Relationship inverse missing\n│     ├─ Many-to-many relationship? → Pattern 1a (explicit inverse)\n│     ├─ One-to-many relationship? → Pattern 1b (verify both sides)\n│     └─ iOS 17.0 alphabetical bug? → Pattern 1c (default value workaround)\n│\n├─ Error: \"incompatible model\" or crash on launch?\n│  └─ YES → Schema version mismatch\n│     ├─ Latest schema not in plan? → Pattern 2a (add to schemas array)\n│     ├─ Migration stage missing? → Pattern 2b (add stage)\n│     └─ Container using wrong schema? → Pattern 2c (verify version)\n│\n├─ Migration runs but data missing?\n│  └─ YES → Data loss during migration\n│     ├─ Used didMigrate to access old models? → Pattern 3a (use willMigrate)\n│     ├─ Forgot to save in willMigrate? → Pattern 3b (add context.save())\n│     └─ Custom migration logic wrong? → Pattern 3c (debug transformation)\n│\n├─ Works in simulator but crashes on device?\n│  └─ YES → Untested migration path\n│     ├─ Never tested on real device? → Pattern 4a (real device testing)\n│     ├─ Never tested upgrade path? → Pattern 4b (test v1 → v2 upgrade)\n│     └─ Production data differs from test? → Pattern 4c (test with prod data)\n│\n└─ Relationships nil after migration?\n   └─ YES → Relationship integrity broken\n      ├─ Forgot to prefetch relationships? → Pattern 5a (add prefetching)\n      ├─ Inverse relationship wrong? → Pattern 5b (fix inverse)\n      └─ Delete rule caused cascade? → Pattern 5c (check delete rules)\n```\n\n---\n\n## Common Patterns\n\n### Pattern 1a: Fix \"Expected only Arrays for Relationships\"\n\n**PRINCIPLE** Many-to-many relationships require explicit inverse declarations.\n\n#### ❌ WRONG (Causes \"Expected only Arrays\" error)\n```swift\n@Model\nfinal class Note {\n    var tags: [Tag] = []  \u002F\u002F ❌ Missing inverse\n}\n\n@Model\nfinal class Tag {\n    var notes: [Note] = []  \u002F\u002F ❌ Missing inverse\n}\n```\n\n#### ✅ CORRECT (Explicit inverse)\n```swift\n@Model\nfinal class Note {\n    @Relationship(deleteRule: .nullify, inverse: \\Tag.notes)\n    var tags: [Tag] = []  \u002F\u002F ✅ Inverse specified\n}\n\n@Model\nfinal class Tag {\n    @Relationship(deleteRule: .nullify, inverse: \\Note.tags)\n    var notes: [Note] = []  \u002F\u002F ✅ Inverse specified\n}\n```\n\n**Why this works** SwiftData requires explicit inverse for many-to-many to create junction table correctly.\n\n**Time cost** 2 minutes to add inverse declarations\n\n---\n\n### Pattern 1b: iOS 17.0 Alphabetical Bug Workaround\n\n**PRINCIPLE** In iOS 17.0, many-to-many relationships could fail if model names were in alphabetical order.\n\n#### ❌ WRONG (Crashes in iOS 17.0)\n```swift\n@Model\nfinal class Actor {\n    @Relationship(deleteRule: .nullify, inverse: \\Movie.actors)\n    var movies: [Movie]  \u002F\u002F ❌ No default value\n}\n\n@Model\nfinal class Movie {\n    @Relationship(deleteRule: .nullify, inverse: \\Actor.movies)\n    var actors: [Actor]  \u002F\u002F ❌ No default value\n}\n\u002F\u002F Crashes if \"Actor\" \u003C \"Movie\" alphabetically\n```\n\n#### ✅ CORRECT (Works in iOS 17.0+)\n```swift\n@Model\nfinal class Actor {\n    @Relationship(deleteRule: .nullify, inverse: \\Movie.actors)\n    var movies: [Movie] = []  \u002F\u002F ✅ Default value\n}\n\n@Model\nfinal class Movie {\n    @Relationship(deleteRule: .nullify, inverse: \\Actor.movies)\n    var actors: [Actor] = []  \u002F\u002F ✅ Default value\n}\n```\n\n**Fixed in** iOS 17.1+\n\n**Time cost** 1 minute to add default values\n\n---\n\n### Pattern 2a: Schema Version Mismatch\n\n**PRINCIPLE** Migration plan's schemas array must include ALL versions in order.\n\n#### ❌ WRONG (Missing version causes crash)\n```swift\nenum MigrationPlan: SchemaMigrationPlan {\n    static var schemas: [any VersionedSchema.Type] {\n        [SchemaV1.self, SchemaV3.self]  \u002F\u002F ❌ Missing V2!\n    }\n\n    static var stages: [MigrationStage] {\n        [migrateV1toV2, migrateV2toV3]  \u002F\u002F References V2 but not in schemas\n    }\n}\n```\n\n#### ✅ CORRECT (All versions in order)\n```swift\nenum MigrationPlan: SchemaMigrationPlan {\n    static var schemas: [any VersionedSchema.Type] {\n        [SchemaV1.self, SchemaV2.self, SchemaV3.self]  \u002F\u002F ✅ All versions\n    }\n\n    static var stages: [MigrationStage] {\n        [migrateV1toV2, migrateV2toV3]\n    }\n}\n```\n\n**Time cost** 2 minutes to add missing version\n\n---\n\n### Pattern 3a: Data Loss from willMigrate\u002FdidMigrate Misuse\n\n**PRINCIPLE** Old models only accessible in willMigrate, new models only in didMigrate.\n\n#### ❌ WRONG (Tries to access old models in didMigrate)\n```swift\nstatic let migrate = MigrationStage.custom(\n    fromVersion: SchemaV1.self,\n    toVersion: SchemaV2.self,\n    willMigrate: nil,\n    didMigrate: { context in\n        \u002F\u002F ❌ CRASH: SchemaV1.Note doesn't exist here\n        let oldNotes = try context.fetch(FetchDescriptor\u003CSchemaV1.Note>())\n\n        \u002F\u002F Data lost because transformation never ran\n    }\n)\n```\n\n#### ✅ CORRECT (Transform in willMigrate)\n```swift\nstatic let migrate = MigrationStage.custom(\n    fromVersion: SchemaV1.self,\n    toVersion: SchemaV2.self,\n    willMigrate: { context in\n        \u002F\u002F ✅ SchemaV1.Note exists here\n        let oldNotes = try context.fetch(FetchDescriptor\u003CSchemaV1.Note>())\n\n        \u002F\u002F Transform data while old models still accessible\n        for note in oldNotes {\n            note.transformed = transformLogic(note.oldValue)\n        }\n\n        try context.save()  \u002F\u002F ✅ Save before migration completes\n    },\n    didMigrate: nil\n)\n```\n\n**Time cost** 5 minutes to move logic to correct closure\n\n---\n\n### Pattern 4a: Real Device Testing\n\n**PRINCIPLE** Simulator deletes database on rebuild. Real devices keep persistent databases.\n\n#### Testing Workflow\n\n```bash\n# 1. Install v1 on real device\n# Build with SchemaV1 as current version\n# Run app, create sample data (100+ records)\n\n# 2. Verify data exists\n# Check app: should see 100+ records\n\n# 3. Install v2 with migration\n# Build with SchemaV2 as current version + migration plan\n# Install over existing app (don't delete)\n\n# 4. Verify migration succeeded\n# App launches without crash\n# Data still exists (100+ records)\n# Relationships intact\n```\n\n#### Migration Test Code\n\n```swift\nimport Testing\nimport SwiftData\n\n@Test func testMigrationOnRealDevice() throws {\n    \u002F\u002F This test MUST run on real device, not simulator\n    #if targetEnvironment(simulator)\n    throw XCTSkip(\"Migration test requires real device\")\n    #endif\n\n    let container = try ModelContainer(\n        for: Schema(versionedSchema: SchemaV2.self),\n        migrationPlan: MigrationPlan.self\n    )\n\n    let context = container.mainContext\n    let notes = try context.fetch(FetchDescriptor\u003CSchemaV2.Note>())\n\n    \u002F\u002F Verify data preserved\n    #expect(notes.count > 0)\n\n    \u002F\u002F Verify relationships\n    for note in notes {\n        if note.folder != nil {\n            #expect(note.folder?.notes.contains { $0.id == note.id } == true)\n        }\n    }\n}\n```\n\n**Time cost** 15 minutes to test on real device\n\n---\n\n### Pattern 5a: Relationship Prefetching to Preserve Integrity\n\n**PRINCIPLE** Fetch relationships eagerly during migration to avoid faulting errors.\n\n#### ❌ WRONG (Relationships may fault and break)\n```swift\nstatic let migrate = MigrationStage.custom(\n    fromVersion: SchemaV1.self,\n    toVersion: SchemaV2.self,\n    willMigrate: { context in\n        let notes = try context.fetch(FetchDescriptor\u003CSchemaV1.Note>())\n\n        for note in notes {\n            \u002F\u002F ❌ May trigger fault, relationship not loaded\n            let folderName = note.folder?.name\n        }\n    },\n    didMigrate: nil\n)\n```\n\n#### ✅ CORRECT (Prefetch relationships)\n```swift\nstatic let migrate = MigrationStage.custom(\n    fromVersion: SchemaV1.self,\n    toVersion: SchemaV2.self,\n    willMigrate: { context in\n        var fetchDesc = FetchDescriptor\u003CSchemaV1.Note>()\n\n        \u002F\u002F ✅ Prefetch relationships\n        fetchDesc.relationshipKeyPathsForPrefetching = [\\.folder, \\.tags]\n\n        let notes = try context.fetch(fetchDesc)\n\n        for note in notes {\n            \u002F\u002F ✅ Relationships already loaded\n            let folderName = note.folder?.name\n            let tagCount = note.tags.count\n        }\n\n        try context.save()\n    },\n    didMigrate: nil\n)\n```\n\n**Time cost** 3 minutes to add prefetching\n\n---\n\n## Quick Reference: Error → Fix Mapping\n\n| Error Message | Root Cause | Fix | Time |\n|--------------|------------|-----|------|\n| \"Expected only Arrays for Relationships\" | Many-to-many inverse missing | Add `@Relationship(inverse:)` to both sides | 2 min |\n| \"The model used to open the store is incompatible\" | Schema version mismatch | Add missing version to `schemas` array | 2 min |\n| \"Failed to fulfill faulting for [relationship]\" | Relationship not prefetched | Add `relationshipKeyPathsForPrefetching` | 3 min |\n| App crashes after schema change | Missing model in VersionedSchema | Include ALL models in `models` array | 2 min |\n| Data lost after migration | Transformation in wrong closure | Move logic from didMigrate to willMigrate | 5 min |\n| Simulator works, device crashes | Untested migration path | Test on real device with real data | 15 min |\n| Relationships nil after migration | Inverse relationship wrong | Fix `@Relationship(inverse:)` keypath | 3 min |\n\n---\n\n## Debugging Checklist\n\nWhen migration fails, verify ALL of these:\n\n- [ ] All models included in `VersionedSchema.models` array\n- [ ] All schema versions included in `SchemaMigrationPlan.schemas` array\n- [ ] Migration stages match schema transitions (V1→V2, V2→V3)\n- [ ] Many-to-many relationships have explicit `inverse:` on both sides\n- [ ] Container initialized with correct latest schema version\n- [ ] Migration plan registered in `ModelContainer` initialization\n- [ ] Tested on real device (not just simulator)\n- [ ] Tested upgrade path (v1 → v2), not just fresh install\n- [ ] SwiftData debug logging enabled (`-com.apple.coredata.swiftdata.debug 1`)\n- [ ] Data transformation logic in `willMigrate` (not `didMigrate`)\n\n---\n\n## When You're Stuck After 30 Minutes\n\nIf you've spent >30 minutes and the migration issue persists:\n\n#### STOP. You either\n1. Skipped mandatory diagnostics (most common)\n2. Misidentified the actual problem\n3. Applied wrong pattern for your symptom\n4. Haven't tested on real device\u002Freal data\n5. Have complex edge case requiring two-stage migration\n\n#### MANDATORY checklist before claiming \"skill didn't work\"\n\n- [ ] I ran all Mandatory First Steps diagnostics\n- [ ] I identified the problem type (relationship, schema mismatch, data loss, testing gap)\n- [ ] I enabled SwiftData debug logging and examined SQL output\n- [ ] I tested on real device with real data (not simulator)\n- [ ] I applied the FIRST matching pattern from Decision Tree\n- [ ] I verified all models included in VersionedSchema\n- [ ] I checked relationship inverse declarations\n\n#### If ALL boxes are checked and still broken\n- You need two-stage migration (covered in `axiom-swiftdata-migration` skill)\n- Time cost: 30-60 minutes for complex type change migration\n- Ask: \"What data transformation is actually needed?\" and implement two-stage pattern\n\n---\n\n## Time Cost Transparency\n\n- Pattern 1 (relationship inverse): 2-3 minutes\n- Pattern 2 (schema version): 2-5 minutes\n- Pattern 3 (willMigrate fix): 5-10 minutes\n- Pattern 4 (real device testing): 15-30 minutes\n- Pattern 5 (relationship prefetching): 3-5 minutes\n\n---\n\n## Real-World Impact\n\n**Before** SwiftData migration debugging 2-8 hours per issue\n- App crashes on launch in production\n- Data loss for existing users\n- Relationships broken after migration\n- Simulator success, device failure\n- Customer trust damaged\n\n**After** 15-45 minutes with systematic diagnosis\n- Identify problem type with diagnostics (5 min)\n- Apply correct pattern (5-10 min)\n- Test on real device (15-30 min)\n- Deploy with confidence\n\n**Key insight** SwiftData has well-established patterns for every common migration issue. The problem is developers don't know which diagnostic applies to their error.\n\n---\n\n## Resources\n\n**WWDC**: 2025-291, 2023-10195\n\n**Docs**: \u002Fswiftdata\n\n**Skills**: axiom-swiftdata-migration, axiom-swiftdata, axiom-database-migration\n\n---\n\n**Created** 2025-12-09\n**Status** Production-ready diagnostic patterns\n**Framework** SwiftData (Apple)\n**Swift** 5.9+\n\n","# SwiftData Migration Diagnostics\n\n## Overview\n\nSwiftData migration failures manifest as production crashes, data loss, corrupted relationships, or simulator-only success. **Core principle** 90% of migration failures stem from missing models in VersionedSchema, relationship inverse issues, or untested migration paths—not SwiftData bugs.\n\n## Red Flags — Suspect SwiftData Migration Issue\n\nIf you see ANY of these, suspect a migration configuration problem:\n\n- App crashes on launch after schema change\n- \"Expected only Arrays for Relationships\" error\n- \"The model used to open the store is incompatible with the one used to create the store\"\n- \"Failed to fulfill faulting for [relationship]\"\n- Migration works in simulator but crashes on real device\n- Data exists before migration, gone after\n- Relationships broken after migration (nil where they shouldn't be)\n- ❌ **FORBIDDEN** \"SwiftData migrations are broken, we should use Core Data\"\n  - SwiftData handles millions of migrations in production apps\n  - Schema mismatches and relationship errors are always configuration, not framework\n  - Do not rationalize away the issue—diagnose it\n\n**Critical distinction** Simulator deletes the database on each rebuild, hiding schema mismatch issues. Real devices keep persistent databases and crash immediately on schema mismatch. **MANDATORY: Test migrations on real device with real data before shipping.**\n\n## Mandatory First Steps\n\n**ALWAYS run these FIRST** (before changing code):\n\n```swift\n\u002F\u002F 1. Identify the crash\u002Fissue type\n\u002F\u002F Screenshot the crash message and note:\n\u002F\u002F   - \"Expected only Arrays\" = relationship inverse missing\n\u002F\u002F   - \"incompatible model\" = schema version mismatch\n\u002F\u002F   - \"Failed to fulfill faulting\" = relationship integrity broken\n\u002F\u002F   - Simulator works, device crashes = untested migration path\n\u002F\u002F Record: \"Error type: [exact message]\"\n\n\u002F\u002F 2. Check schema version configuration\n\u002F\u002F In your migration plan:\nenum MigrationPlan: SchemaMigrationPlan {\n    static var schemas: [any VersionedSchema.Type] {\n        \u002F\u002F ✅ VERIFY: All versions in order?\n        \u002F\u002F ✅ VERIFY: Latest version matches container?\n        [SchemaV1.self, SchemaV2.self, SchemaV3.self]\n    }\n\n    static var stages: [MigrationStage] {\n        \u002F\u002F ✅ VERIFY: Migration stages match schema transitions?\n        [migrateV1toV2, migrateV2toV3]\n    }\n}\n\n\u002F\u002F In your app:\nlet schema = Schema(versionedSchema: SchemaV3.self)  \u002F\u002F ✅ VERIFY: Matches latest in plan?\nlet container = try ModelContainer(\n    for: schema,\n    migrationPlan: MigrationPlan.self  \u002F\u002F ✅ VERIFY: Plan is registered?\n)\n\u002F\u002F Record: \"Schema version: latest is [version]\"\n\n\u002F\u002F 3. Check all models included in VersionedSchema\nenum SchemaV2: VersionedSchema {\n    static var models: [any PersistentModel.Type] {\n        \u002F\u002F ✅ VERIFY: Are ALL models listed? (even unchanged ones)\n        [Note.self, Folder.self, Tag.self]\n    }\n}\n\u002F\u002F Record: \"Missing models? Yes\u002Fno\"\n\n\u002F\u002F 4. Check relationship inverse declarations\n@Model\nfinal class Note {\n    @Relationship(deleteRule: .nullify, inverse: \\Folder.notes)  \u002F\u002F ✅ VERIFY: inverse specified?\n    var folder: Folder?\n\n    @Relationship(deleteRule: .nullify, inverse: \\Tag.notes)  \u002F\u002F ✅ VERIFY: inverse specified?\n    var tags: [Tag] = []\n}\n\u002F\u002F Record: \"Relationship inverses: all specified? Yes\u002Fno\"\n\n\u002F\u002F 5. Enable SwiftData debug logging\n\u002F\u002F In Xcode scheme, add argument:\n\u002F\u002F -com.apple.coredata.swiftdata.debug 1\n\u002F\u002F Run and check Console for SQL queries\n\u002F\u002F Record: \"Debug log shows: [what you see]\"\n```\n\n#### What this tells you\n\n- **\"Expected only Arrays for Relationships\"** → Proceed to Pattern 1 (relationship inverse fix)\n- **\"incompatible model\"** → Proceed to Pattern 2 (schema version mismatch)\n- **Missing models in VersionedSchema** → Proceed to Pattern 3 (complete schema snapshot)\n- **Simulator works, device crashes** → Proceed to Pattern 4 (migration testing)\n- **Data lost after migration** → Proceed to Pattern 5 (willMigrate\u002FdidMigrate misuse)\n\n#### MANDATORY INTERPRETATION\n\nBefore changing ANY code, identify ONE of these:\n\n1. If error is \"Expected only Arrays\" AND relationship inverse missing → Relationship configuration issue\n2. If error mentions \"incompatible\" AND schema versions don't match → Version mismatch\n3. If models are missing from VersionedSchema → Incomplete schema snapshot\n4. If simulator succeeds but device fails → Untested migration path\n5. If data exists before but not after → willMigrate\u002FdidMigrate limitation violated\n\n#### If diagnostics are contradictory or unclear\n\n- STOP. Do NOT proceed to patterns yet\n- Add `-com.apple.coredata.swiftdata.debug 1` and examine SQL output\n- Check file system: does .sqlite file exist? What size?\n- Establish baseline: what's actually happening vs. what you assumed\n\n---\n\n## Verifying Migration Completed Successfully\n\n**Use this section when migration appears to complete without errors, but you want to verify data integrity.**\n\n### Quick Verification Checklist\n\nAfter migration runs without crashing:\n\n```swift\n\u002F\u002F 1. Verify record count matches pre-migration\nlet context = container.mainContext\nlet postMigrationCount = try context.fetch(FetchDescriptor\u003CNote>()).count\nprint(\"Post-migration count: \\(postMigrationCount)\")\n\u002F\u002F Compare to pre-migration count\n\n\u002F\u002F 2. Spot-check specific records\nlet sampleNote = try context.fetch(\n    FetchDescriptor\u003CNote>(predicate: #Predicate { $0.id == \"known-test-id\" })\n).first\nprint(\"Sample note title: \\(sampleNote?.title ?? \"MISSING\")\")\n\n\u002F\u002F 3. Verify relationships intact\nif let note = sampleNote {\n    print(\"Folder relationship: \\(note.folder != nil ? \"✓\" : \"✗\")\")\n    print(\"Tags count: \\(note.tags.count)\")\n\n    \u002F\u002F Verify inverse relationships\n    if let folder = note.folder {\n        let folderHasNote = folder.notes.contains { $0.id == note.id }\n        print(\"Inverse relationship: \\(folderHasNote ? \"✓\" : \"✗\")\")\n    }\n}\n\n\u002F\u002F 4. Check for orphaned data\nlet orphanedNotes = try context.fetch(\n    FetchDescriptor\u003CNote>(predicate: #Predicate { $0.folder == nil })\n)\nprint(\"Orphaned notes (should be 0 if cascade delete worked): \\(orphanedNotes.count)\")\n```\n\n### What Successful Migration Looks Like\n\n**Console Output:**\n```\nPost-migration count: 1523  \u002F\u002F Matches pre-migration\nSample note title: Test Note  \u002F\u002F Not \"MISSING\"\nFolder relationship: ✓\nTags count: 3\nInverse relationship: ✓\nOrphaned notes: 0\n```\n\n**If you see:**\n- Record count differs → Data loss (check willMigrate logic)\n- \"MISSING\" records → Schema mismatch or fetch error\n- Relationships nil → Inverse configuration or prefetching issue\n- Orphaned records >0 → Cascade delete rule not working\n\nSee patterns below for specific fixes.\n\n---\n\n## Decision Tree\n\n```\nSwiftData migration problem suspected?\n├─ Error: \"Expected only Arrays for Relationships\"?\n│  └─ YES → Relationship inverse missing\n│     ├─ Many-to-many relationship? → Pattern 1a (explicit inverse)\n│     ├─ One-to-many relationship? → Pattern 1b (verify both sides)\n│     └─ iOS 17.0 alphabetical bug? → Pattern 1c (default value workaround)\n│\n├─ Error: \"incompatible model\" or crash on launch?\n│  └─ YES → Schema version mismatch\n│     ├─ Latest schema not in plan? → Pattern 2a (add to schemas array)\n│     ├─ Migration stage missing? → Pattern 2b (add stage)\n│     └─ Container using wrong schema? → Pattern 2c (verify version)\n│\n├─ Migration runs but data missing?\n│  └─ YES → Data loss during migration\n│     ├─ Used didMigrate to access old models? → Pattern 3a (use willMigrate)\n│     ├─ Forgot to save in willMigrate? → Pattern 3b (add context.save())\n│     └─ Custom migration logic wrong? → Pattern 3c (debug transformation)\n│\n├─ Works in simulator but crashes on device?\n│  └─ YES → Untested migration path\n│     ├─ Never tested on real device? → Pattern 4a (real device testing)\n│     ├─ Never tested upgrade path? → Pattern 4b (test v1 → v2 upgrade)\n│     └─ Production data differs from test? → Pattern 4c (test with prod data)\n│\n└─ Relationships nil after migration?\n   └─ YES → Relationship integrity broken\n      ├─ Forgot to prefetch relationships? → Pattern 5a (add prefetching)\n      ├─ Inverse relationship wrong? → Pattern 5b (fix inverse)\n      └─ Delete rule caused cascade? → Pattern 5c (check delete rules)\n```\n\n---\n\n## Common Patterns\n\n### Pattern 1a: Fix \"Expected only Arrays for Relationships\"\n\n**PRINCIPLE** Many-to-many relationships require explicit inverse declarations.\n\n#### ❌ WRONG (Causes \"Expected only Arrays\" error)\n```swift\n@Model\nfinal class Note {\n    var tags: [Tag] = []  \u002F\u002F ❌ Missing inverse\n}\n\n@Model\nfinal class Tag {\n    var notes: [Note] = []  \u002F\u002F ❌ Missing inverse\n}\n```\n\n#### ✅ CORRECT (Explicit inverse)\n```swift\n@Model\nfinal class Note {\n    @Relationship(deleteRule: .nullify, inverse: \\Tag.notes)\n    var tags: [Tag] = []  \u002F\u002F ✅ Inverse specified\n}\n\n@Model\nfinal class Tag {\n    @Relationship(deleteRule: .nullify, inverse: \\Note.tags)\n    var notes: [Note] = []  \u002F\u002F ✅ Inverse specified\n}\n```\n\n**Why this works** SwiftData requires explicit inverse for many-to-many to create junction table correctly.\n\n**Time cost** 2 minutes to add inverse declarations\n\n---\n\n### Pattern 1b: iOS 17.0 Alphabetical Bug Workaround\n\n**PRINCIPLE** In iOS 17.0, many-to-many relationships could fail if model names were in alphabetical order.\n\n#### ❌ WRONG (Crashes in iOS 17.0)\n```swift\n@Model\nfinal class Actor {\n    @Relationship(deleteRule: .nullify, inverse: \\Movie.actors)\n    var movies: [Movie]  \u002F\u002F ❌ No default value\n}\n\n@Model\nfinal class Movie {\n    @Relationship(deleteRule: .nullify, inverse: \\Actor.movies)\n    var actors: [Actor]  \u002F\u002F ❌ No default value\n}\n\u002F\u002F Crashes if \"Actor\" \u003C \"Movie\" alphabetically\n```\n\n#### ✅ CORRECT (Works in iOS 17.0+)\n```swift\n@Model\nfinal class Actor {\n    @Relationship(deleteRule: .nullify, inverse: \\Movie.actors)\n    var movies: [Movie] = []  \u002F\u002F ✅ Default value\n}\n\n@Model\nfinal class Movie {\n    @Relationship(deleteRule: .nullify, inverse: \\Actor.movies)\n    var actors: [Actor] = []  \u002F\u002F ✅ Default value\n}\n```\n\n**Fixed in** iOS 17.1+\n\n**Time cost** 1 minute to add default values\n\n---\n\n### Pattern 2a: Schema Version Mismatch\n\n**PRINCIPLE** Migration plan's schemas array must include ALL versions in order.\n\n#### ❌ WRONG (Missing version causes crash)\n```swift\nenum MigrationPlan: SchemaMigrationPlan {\n    static var schemas: [any VersionedSchema.Type] {\n        [SchemaV1.self, SchemaV3.self]  \u002F\u002F ❌ Missing V2!\n    }\n\n    static var stages: [MigrationStage] {\n        [migrateV1toV2, migrateV2toV3]  \u002F\u002F References V2 but not in schemas\n    }\n}\n```\n\n#### ✅ CORRECT (All versions in order)\n```swift\nenum MigrationPlan: SchemaMigrationPlan {\n    static var schemas: [any VersionedSchema.Type] {\n        [SchemaV1.self, SchemaV2.self, SchemaV3.self]  \u002F\u002F ✅ All versions\n    }\n\n    static var stages: [MigrationStage] {\n        [migrateV1toV2, migrateV2toV3]\n    }\n}\n```\n\n**Time cost** 2 minutes to add missing version\n\n---\n\n### Pattern 3a: Data Loss from willMigrate\u002FdidMigrate Misuse\n\n**PRINCIPLE** Old models only accessible in willMigrate, new models only in didMigrate.\n\n#### ❌ WRONG (Tries to access old models in didMigrate)\n```swift\nstatic let migrate = MigrationStage.custom(\n    fromVersion: SchemaV1.self,\n    toVersion: SchemaV2.self,\n    willMigrate: nil,\n    didMigrate: { context in\n        \u002F\u002F ❌ CRASH: SchemaV1.Note doesn't exist here\n        let oldNotes = try context.fetch(FetchDescriptor\u003CSchemaV1.Note>())\n\n        \u002F\u002F Data lost because transformation never ran\n    }\n)\n```\n\n#### ✅ CORRECT (Transform in willMigrate)\n```swift\nstatic let migrate = MigrationStage.custom(\n    fromVersion: SchemaV1.self,\n    toVersion: SchemaV2.self,\n    willMigrate: { context in\n        \u002F\u002F ✅ SchemaV1.Note exists here\n        let oldNotes = try context.fetch(FetchDescriptor\u003CSchemaV1.Note>())\n\n        \u002F\u002F Transform data while old models still accessible\n        for note in oldNotes {\n            note.transformed = transformLogic(note.oldValue)\n        }\n\n        try context.save()  \u002F\u002F ✅ Save before migration completes\n    },\n    didMigrate: nil\n)\n```\n\n**Time cost** 5 minutes to move logic to correct closure\n\n---\n\n### Pattern 4a: Real Device Testing\n\n**PRINCIPLE** Simulator deletes database on rebuild. Real devices keep persistent databases.\n\n#### Testing Workflow\n\n```bash\n# 1. Install v1 on real device\n# Build with SchemaV1 as current version\n# Run app, create sample data (100+ records)\n\n# 2. Verify data exists\n# Check app: should see 100+ records\n\n# 3. Install v2 with migration\n# Build with SchemaV2 as current version + migration plan\n# Install over existing app (don't delete)\n\n# 4. Verify migration succeeded\n# App launches without crash\n# Data still exists (100+ records)\n# Relationships intact\n```\n\n#### Migration Test Code\n\n```swift\nimport Testing\nimport SwiftData\n\n@Test func testMigrationOnRealDevice() throws {\n    \u002F\u002F This test MUST run on real device, not simulator\n    #if targetEnvironment(simulator)\n    throw XCTSkip(\"Migration test requires real device\")\n    #endif\n\n    let container = try ModelContainer(\n        for: Schema(versionedSchema: SchemaV2.self),\n        migrationPlan: MigrationPlan.self\n    )\n\n    let context = container.mainContext\n    let notes = try context.fetch(FetchDescriptor\u003CSchemaV2.Note>())\n\n    \u002F\u002F Verify data preserved\n    #expect(notes.count > 0)\n\n    \u002F\u002F Verify relationships\n    for note in notes {\n        if note.folder != nil {\n            #expect(note.folder?.notes.contains { $0.id == note.id } == true)\n        }\n    }\n}\n```\n\n**Time cost** 15 minutes to test on real device\n\n---\n\n### Pattern 5a: Relationship Prefetching to Preserve Integrity\n\n**PRINCIPLE** Fetch relationships eagerly during migration to avoid faulting errors.\n\n#### ❌ WRONG (Relationships may fault and break)\n```swift\nstatic let migrate = MigrationStage.custom(\n    fromVersion: SchemaV1.self,\n    toVersion: SchemaV2.self,\n    willMigrate: { context in\n        let notes = try context.fetch(FetchDescriptor\u003CSchemaV1.Note>())\n\n        for note in notes {\n            \u002F\u002F ❌ May trigger fault, relationship not loaded\n            let folderName = note.folder?.name\n        }\n    },\n    didMigrate: nil\n)\n```\n\n#### ✅ CORRECT (Prefetch relationships)\n```swift\nstatic let migrate = MigrationStage.custom(\n    fromVersion: SchemaV1.self,\n    toVersion: SchemaV2.self,\n    willMigrate: { context in\n        var fetchDesc = FetchDescriptor\u003CSchemaV1.Note>()\n\n        \u002F\u002F ✅ Prefetch relationships\n        fetchDesc.relationshipKeyPathsForPrefetching = [\\.folder, \\.tags]\n\n        let notes = try context.fetch(fetchDesc)\n\n        for note in notes {\n            \u002F\u002F ✅ Relationships already loaded\n            let folderName = note.folder?.name\n            let tagCount = note.tags.count\n        }\n\n        try context.save()\n    },\n    didMigrate: nil\n)\n```\n\n**Time cost** 3 minutes to add prefetching\n\n---\n\n## Quick Reference: Error → Fix Mapping\n\n| Error Message | Root Cause | Fix | Time |\n|--------------|------------|-----|------|\n| \"Expected only Arrays for Relationships\" | Many-to-many inverse missing | Add `@Relationship(inverse:)` to both sides | 2 min |\n| \"The model used to open the store is incompatible\" | Schema version mismatch | Add missing version to `schemas` array | 2 min |\n| \"Failed to fulfill faulting for [relationship]\" | Relationship not prefetched | Add `relationshipKeyPathsForPrefetching` | 3 min |\n| App crashes after schema change | Missing model in VersionedSchema | Include ALL models in `models` array | 2 min |\n| Data lost after migration | Transformation in wrong closure | Move logic from didMigrate to willMigrate | 5 min |\n| Simulator works, device crashes | Untested migration path | Test on real device with real data | 15 min |\n| Relationships nil after migration | Inverse relationship wrong | Fix `@Relationship(inverse:)` keypath | 3 min |\n\n---\n\n## Debugging Checklist\n\nWhen migration fails, verify ALL of these:\n\n- [ ] All models included in `VersionedSchema.models` array\n- [ ] All schema versions included in `SchemaMigrationPlan.schemas` array\n- [ ] Migration stages match schema transitions (V1→V2, V2→V3)\n- [ ] Many-to-many relationships have explicit `inverse:` on both sides\n- [ ] Container initialized with correct latest schema version\n- [ ] Migration plan registered in `ModelContainer` initialization\n- [ ] Tested on real device (not just simulator)\n- [ ] Tested upgrade path (v1 → v2), not just fresh install\n- [ ] SwiftData debug logging enabled (`-com.apple.coredata.swiftdata.debug 1`)\n- [ ] Data transformation logic in `willMigrate` (not `didMigrate`)\n\n---\n\n## When You're Stuck After 30 Minutes\n\nIf you've spent >30 minutes and the migration issue persists:\n\n#### STOP. You either\n1. Skipped mandatory diagnostics (most common)\n2. Misidentified the actual problem\n3. Applied wrong pattern for your symptom\n4. Haven't tested on real device\u002Freal data\n5. Have complex edge case requiring two-stage migration\n\n#### MANDATORY checklist before claiming \"skill didn't work\"\n\n- [ ] I ran all Mandatory First Steps diagnostics\n- [ ] I identified the problem type (relationship, schema mismatch, data loss, testing gap)\n- [ ] I enabled SwiftData debug logging and examined SQL output\n- [ ] I tested on real device with real data (not simulator)\n- [ ] I applied the FIRST matching pattern from Decision Tree\n- [ ] I verified all models included in VersionedSchema\n- [ ] I checked relationship inverse declarations\n\n#### If ALL boxes are checked and still broken\n- You need two-stage migration (covered in `axiom-swiftdata-migration` skill)\n- Time cost: 30-60 minutes for complex type change migration\n- Ask: \"What data transformation is actually needed?\" and implement two-stage pattern\n\n---\n\n## Time Cost Transparency\n\n- Pattern 1 (relationship inverse): 2-3 minutes\n- Pattern 2 (schema version): 2-5 minutes\n- Pattern 3 (willMigrate fix): 5-10 minutes\n- Pattern 4 (real device testing): 15-30 minutes\n- Pattern 5 (relationship prefetching): 3-5 minutes\n\n---\n\n## Real-World Impact\n\n**Before** SwiftData migration debugging 2-8 hours per issue\n- App crashes on launch in production\n- Data loss for existing users\n- Relationships broken after migration\n- Simulator success, device failure\n- Customer trust damaged\n\n**After** 15-45 minutes with systematic diagnosis\n- Identify problem type with diagnostics (5 min)\n- Apply correct pattern (5-10 min)\n- Test on real device (15-30 min)\n- Deploy with confidence\n\n**Key insight** SwiftData has well-established patterns for every common migration issue. The problem is developers don't know which diagnostic applies to their error.\n\n---\n\n## Resources\n\n**WWDC**: 2025-291, 2023-10195\n\n**Docs**: \u002Fswiftdata\n\n**Skills**: axiom-swiftdata-migration, axiom-swiftdata, axiom-database-migration\n\n---\n\n**Created** 2025-12-09\n**Status** Production-ready diagnostic patterns\n**Framework** SwiftData (Apple)\n**Swift** 5.9+\n\n",{"name":5,"license":15,"metadata":40,"description":7},{"version":41},"1.0.0","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FCharlesWiltgen\u002FAxiom\u002Faxiom-swiftdata-migration-diag",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill axiom-swiftdata-migration-diag",{"tool":57,"command":58},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill axiom-swiftdata-migration-diag",{"tool":60,"command":61},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill axiom-swiftdata-migration-diag","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FCharlesWiltgen\u002FAxiom\u002Faxiom-swiftdata-migration-diag\u002FSKILL.md",true,[],[66,75,84,93,99,105],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":35},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[72,73,74],"model","model hierarchy","model hierarchy skill",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":35},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[81,82,83],"MCP","zoom","zoom mcp",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":35},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[90,91,92,82],"sdk","zoom apps sdk","apps",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":35},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[95],{"skillNo":100,"name":101,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":35},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[101],{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":35},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[107]]