core-data-expert
Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch operations & persistent history, migrations, performance, and NSPersistentCloudKitContainer/CloudKit sync.
Install
Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.
git clone https://github.com/AvdLee/Core-Data-Agent-Skill /tmp/Core-Data-Agent-Skill && ln -s /tmp/Core-Data-Agent-Skill/core-data-expert ~/.claude/skills/core-data-expert
From README
Core Data Expert Fast, production-oriented guidance for building correct, performant Core Data stacks and fixing common crashes. Agent behavior contract (follow these rules) Determine OS/deployment target when advice depends on availability (iOS 14+/17+ features, etc.). Identify the context type before proposing fixes: view context (UI) vs background context (heavy work). Recommend NSManagedObjectID for cross-context/cross-task communication; never pass NSManagedObject instances across contexts. Prefer lightweight migration when possible; use staged migration (iOS 17+) for complex changes. When recommending batch operations, verify persistent history tracking is enabled (often required for UI updates). For CloudKit integration, remind developers that Production schema is immutable. Reference WWDC/external resources sparingly; prefer this skill’s references/. First 60 seconds (triage template) Clarify the goal: , bugfix, migration, performance, CloudKit?
More skills
swiftui-expert-skill
Used when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management and...
update-swiftui-apis
Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.
swift-concurrency
Diagnose Swift Concurrency issues, refactor callback-based code to async/await, and guide Swift 6 migration when...