Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

migration-patterns

Skill by rshankras

Provides migration guides for moving Apple platform code to newer framework generations. Covers CoreData to SwiftData, UIKit to SwiftUI, and StoreKit 1 to StoreKit 2, among others. Aimed at iOS and macOS developers.

  • Score 82
  • 917 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install migration-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills /tmp/claude-code-apple-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-apple-skills/skills/ios/migration-patterns ~/.claude/skills/migration-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install migration-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

migration-patterns is an agent skill that gives an assistant guides for moving code between Apple framework generations. It covers CoreData to SwiftData, UIKit to SwiftUI, ObservableObject to @Observable, XCTest to Swift Testing, Objective-C to Swift, and StoreKit 1 to StoreKit 2. Each guide is described as covering the before and after mapping, coexistence strategies, and common pitfalls.

The skill starts with a decision tree and a quick reference table that lists minimum OS versions and risk levels. It tells the assistant to assess the migration, load the matching reference file, review the user's code for old-framework patterns, and recommend a full, incremental, or no migration. It is aimed at developers who are deciding whether and how to migrate an Apple platform app. Its declared tools are Read, Glob and Grep.

Written from the project's SKILL.md and checked against it.

What it can do

  • Migration assessmentChecks deployment target, surface area, incremental options and third-party dependencies before migrating.
  • CoreData to SwiftDataMaps NSManagedObject to @Model, with migration stages and coexistence guidance.
  • UIKit to SwiftUICovers UIHostingController, Representable views and incremental adoption.
  • ObservableObject to @ObservableCovers the @Observable macro, @Environment injection and AsyncSequence in place of Combine publishers.
  • Objective-C to SwiftCovers bridging headers, @objc and file-by-file migration.
  • StoreKit 1 to StoreKit 2Covers async/await purchases, Transaction.currentEntitlements and JWS.
  • XCTest to Swift TestingCovers @Test, #expect, #require and parameterized tests.
  • Migration strategy recommendationHelps choose between full migration, incremental migration or staying on the old framework.

What you need

  • Xcode 16 and Swift 6.0 for the XCTest to Swift Testing migration
  • iOS 17 or macOS 14 for the CoreData to SwiftData and @Observable migrations
  • iOS 15 for the StoreKit 2 migration
  • Apple platform project code to review

Try asking

  • Help me plan a migration from CoreData to SwiftData in my app.
  • Review my ObservableObject view models and suggest @Observable equivalents.
  • Convert my XCTest test class to Swift Testing with #expect and @Test.

Good to know

  • The reference files it points to, such as coredata-to-swiftdata.md, are not included in the source provided.
  • Minimum OS versions differ by migration, and many need iOS 17 or newer.
  • Its declared tools are read and search only: Read, Glob and Grep.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/ios/migration-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadGlobGrep

Alternatives to migration-patterns

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

migration-patterns: common questions

What migrations does migration-patterns cover?

It covers CoreData to SwiftData, UIKit to SwiftUI, ObservableObject to @Observable, XCTest to Swift Testing, Objective-C to Swift, and StoreKit 1 to StoreKit 2.

Does it recommend migrating everything at once?

No. The source says incremental migration is almost always better for UIKit to SwiftUI, and it offers full, incremental or no migration as options.

Which OS version does the skill target?

The skill metadata lists iOS 27 and macOS 27. Each migration also states its own minimum version, such as iOS 17 for CoreData to SwiftData.

How do I install migration-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is migration-patterns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is migration-patterns safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to migration-patterns?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

migration-patterns Install

Add to stack

Loading.