From ios-development
Migration guide for Swift and iOS. Use when migrating ObservableObject to @Observable (iOS 17), enabling Swift 6/6.2 Strict Concurrency, fixing @MainActor/Sendable warnings, adopting Approachable Concurrency (Swift 6.2), or handling iPadOS 26 windowing system changes (UIRequiresFullScreen deprecation). Covers breaking changes and version upgrade tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ios-development:swift-ios-migrationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
既存コードの移行作業やバージョンアップに伴う破壊的変更への対応ガイド。
既存コードの移行作業やバージョンアップに伴う破壊的変更への対応ガイド。
swift-ios-migration/
├── SKILL.md (このファイル)
└── references/
├── ios17-observable.md # @Observable移行パターン
├── swift6-concurrency.md # Swift 6並行処理対応
├── swift62-changes.md # Swift 6.2 / Xcode 26
└── ipados26-windowing.md # iPadOS 26ウィンドウシステム
iOS 17+ @Observableマクロへの移行ガイド:
Swift 6並行処理対応ガイド:
Swift 6.2 / Xcode 26 移行ガイド:
iPadOS 26 ウィンドウシステム移行ガイド:
references/ios17-observable.mdで移行パターン確認@Observableを使用開始references/swift6-concurrency.mdでチェックリスト確認@MainActorを追加Sendableに対応references/swift62-changes.mdで新機能確認@concurrentを追加references/ipados26-windowing.mdで移行チェックリスト確認UIRequiresFullScreenをInfo.plistから削除UISceneSizeRestrictionsで最小サイズを設定@concurrentを追加@MainActorを追加Sendableに対応async/awaitに統一@Observableを使用| 機能 | Swift 5.9 | Swift 6 | Swift 6.2 |
|---|---|---|---|
| Strict Concurrency | Opt-in | Default | Default |
| @MainActor | ✅ | ✅ | ✅ |
| Default Actor Isolation | - | - | ✅ |
| @concurrent | - | - | ✅ |
| Approachable Concurrency | - | - | ✅ |
| 機能 | iOS 16 | iOS 17 | iOS 18 | iOS 26 |
|---|---|---|---|---|
| @Observable | - | ✅ | ✅ | ✅ |
| iPadOS新ウィンドウシステム | - | - | - | ✅ |
npx claudepluginhub xtone/ai_development_tools --plugin ios-developmentSwift 6 fundamentals for all Apple platforms. Use when implementing concurrency, architecture, testing, i18n, or performance optimization across iOS, macOS, iPadOS, watchOS, visionOS.
Guides iOS app architecture using Swift 6, iOS 18+, SwiftUI, SwiftData, Observation framework, and concurrency. Modernizes legacy patterns like Core Data, ObservableObject, and GCD.
Applies Swift 6+ best practices for iOS/macOS code including concurrency (async/await, actors, MainActor, Sendable), API design, typed throws, and Swift 6 migration.