Core Data Expert

Core Data skill by Antoine van der Lee: modelling, fetch requests, CloudKit sync, migrations and performance.

View on GitHub ↗
Stars
★ 318
Last commit
2 Mar 2026
Maintenance
Slowing
Licence
MIT
Category
Agent Skills
GitHub
AvdLee/Core-Data-Agent-Skill

Overview

An agent skill that gives AI coding tools expert guidance on Core Data. It helps with stack setup, thread safety, performance, schema migrations and CloudKit sync. It draws mainly on SwiftLee's Core Data articles and tries to stay neutral on architecture.

Features

  • Helps choose between NSPersistentContainer and NSPersistentCloudKitContainer setups
  • Avoids threading mistakes using NSManagedObjectID and proper contexts
  • Writes efficient fetch requests with batching and property limits
  • Guides lightweight and staged schema migrations
  • Covers CloudKit integration and schema limits
  • Includes a triage playbook that points to the right reference file for an error

Requirements

The source doesn't list any requirements, so check the project's own docs before you install.

Install

  1. Install with the skills CLI

    npx skills add https://github.com/avdlee/core-data-agent-skill --skill core-data-expert
  2. Or install as a Claude Code plugin

    /plugin marketplace add AvdLee/Core-Data-Agent-Skill
    /plugin install core-data-expert@core-data-agent-skill
  3. Or clone the repo and copy the core-data-expert folder into your tool's skills directory

Example

Ask your agent: "Use the core data skill and analyze the current project for Core Data improvements."

Works with

Claude CodeCursorCodex

Listed in

swiftskills.devtwostraws/Swift-Agent-Skillsawesome-ios-ai

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

More in this category