Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
avdlee avatar

Core Data Expert

  • 2.1k installs
  • 288 repo stars
  • Updated March 2, 2026
  • avdlee/core-data-agent-skill

core-data-expert is an agent skill that Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts,.

About

Fast production oriented guidance for building correct performant Core Data stacks and fixing common crashes Agent behavior contract follow these rules 1 Determine OS deployment target when advice depends on availability iOS 14 17 features etc 2 Identify the context type before proposing fixes view context UI vs background context heavy work 3 Recommend NSManagedObjectID for cross context cross task communication never pass NSManagedObject instances across contexts 4 Prefer lightweight migration when possible use staged migration iOS 17 for complex changes 5 When recommending batch operations verify persistent history tracking is enabled often required for UI updates 6 For CloudKit integration remind developers that Production schema is immutable 7 Reference WWDC external resources sparingly prefer this skill s references Clarify the goal setup bugfix migration performance CloudKit Collect minimal facts platform deployment target store type SQLite in memory and whether CloudKit is enabled context involved view vs background and whether Swift Concurrency is in use exact error message stack trace logs Branch immediately threading crash focus on context confinement NSManagedObjectID

  • description: 'Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/me
  • Fast, production-oriented guidance for building **correct**, **performant** Core Data stacks and fixing common crashes.
  • 1. Determine OS/deployment target when advice depends on availability (iOS 14+/17+ features, etc.).
  • Follow core-data-expert SKILL.md steps and documented constraints.
  • Follow core-data-expert SKILL.md steps and documented constraints.

Core Data Expert by the numbers

  • 2,058 all-time installs (skills.sh)
  • +38 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #553 of 16,659 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

core-data-expert capabilities & compatibility

Capabilities
description: 'expert core data guidance (ios/mac · fast, production oriented guidance for building · 1. determine os/deployment target when advice de · follow core data expert skill.md steps and docum
Use cases
orchestration
From the docs

What core-data-expert says it does

description: 'Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch operations & persistent hist
SKILL.md
Fast, production-oriented guidance for building **correct**, **performant** Core Data stacks and fixing common crashes.
SKILL.md
1. Determine OS/deployment target when advice depends on availability (iOS 14+/17+ features, etc.).
SKILL.md
npx skills add https://github.com/avdlee/core-data-agent-skill --skill core-data-expert

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.1k
repo stars288
Security audit3 / 3 scanners passed
Last updatedMarch 2, 2026
Repositoryavdlee/core-data-agent-skill

When should an agent use core-data-expert and what problem does it solve?

Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch operations & persistent history, migration

Who is it for?

Developers invoking core-data-expert as documented in the skill source.

Skip if: Skip when requirements fall outside core-data-expert documented scope.

When should I use this skill?

Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch operations & persistent history, migration

What you get

Outputs aligned with the core-data-expert SKILL.md workflow and stated deliverables.

  • Stack configuration guidance
  • Migration and sync fix plan

Files

SKILL.mdMarkdownGitHub ↗

Core Data Expert

Fast, production-oriented guidance for building correct, performant Core Data stacks and fixing common crashes.

Agent behavior contract (follow these rules)

1. Determine OS/deployment target when advice depends on availability (iOS 14+/17+ features, etc.). 2. Identify the context type before proposing fixes: view context (UI) vs background context (heavy work). 3. Recommend NSManagedObjectID for cross-context/cross-task communication; never pass `NSManagedObject` instances across contexts. 4. Prefer lightweight migration when possible; use staged migration (iOS 17+) for complex changes. 5. When recommending batch operations, verify persistent history tracking is enabled (often required for UI updates). 6. For CloudKit integration, remind developers that Production schema is immutable. 7. Reference WWDC/external resources sparingly; prefer this skill’s references/.

First 60 seconds (triage template)

  • Clarify the goal: setup, bugfix, migration, performance, CloudKit?
  • Collect minimal facts:
  • platform + deployment target
  • store type (SQLite / in-memory) and whether CloudKit is enabled
  • context involved (view vs background) and whether Swift Concurrency is in use
  • exact error message + stack trace/logs
  • Branch immediately:
  • threading/crash → focus on context confinement + NSManagedObjectID handoff
  • migration error → identify model versions + migration strategy
  • batch ops not updating UI → persistent history tracking + merge pipeline

Routing map (pick the right reference fast)

  • Stack setup / merge policies / contextsreferences/stack-setup.md
  • Saving patternsreferences/saving.md
  • Fetch requests / list updates / aggregatesreferences/fetch-requests.md
  • Traditional threading (perform/performAndWait, object IDs)references/threading.md
  • Swift Concurrency (async/await, actors, Sendable, DAOs)references/concurrency.md
  • Batch insert/delete/updatereferences/batch-operations.md
  • Persistent history tracking + “batch ops not updating UI”references/persistent-history.md
  • Model configuration (constraints, validation, derived/composite, transformables)references/model-configuration.md
  • Schema migration (lightweight/staged/deferred)references/migration.md
  • CloudKit integration & debuggingreferences/cloudkit-integration.md
  • Performance profiling & memoryreferences/performance.md
  • Testing patternsreferences/testing.md
  • Terminologyreferences/glossary.md

Common errors → next best move

  • “Failed to find a unique match for an NSEntityDescription”references/testing.md (shared NSManagedObjectModel)
  • `NSPersistentStoreIncompatibleVersionHashError`references/migration.md (versioning + migration)
  • Cross-context/threading exceptions (e.g. delete/update from wrong context) → references/threading.md and/or references/concurrency.md (use NSManagedObjectID)
  • Sendable / actor-isolation warnings around Core Datareferences/concurrency.md (don’t “paper over” with @unchecked Sendable)
  • `NSMergeConflict` / constraint violationsreferences/model-configuration.md + references/stack-setup.md (constraints + merge policy)
  • Batch operations not updating UIreferences/persistent-history.md + references/batch-operations.md
  • CloudKit schema/sync issuesreferences/cloudkit-integration.md
  • Memory grows during fetchreferences/performance.md + references/fetch-requests.md

Verification checklist (when changing Core Data code)

  • Confirm the context matches the work (UI vs background).
  • Ensure NSManagedObject instances never cross contexts; pass NSManagedObjectID instead.
  • If using batch ops, confirm persistent history tracking + merge pipeline.
  • If using constraints, confirm merge policy and conflict resolution strategy.
  • If performance-related, profile with Instruments and validate fetch batching/limits.

Reference files

  • references/_index.md (navigation)
  • references/stack-setup.md
  • references/saving.md
  • references/fetch-requests.md
  • references/threading.md
  • references/concurrency.md
  • references/batch-operations.md
  • references/persistent-history.md
  • references/model-configuration.md
  • references/migration.md
  • references/cloudkit-integration.md
  • references/performance.md
  • references/testing.md
  • references/glossary.md

Related skills

FAQ

What is core-data-expert?

Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch operations & persisten

When should I use core-data-expert?

Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch operations & persisten

Is core-data-expert safe to install?

Review the Security Audits panel on this page before production use.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.