🧩
AI EngineeringSwift

SwiftData

by rshankras

SwiftData is an AI Engineering skill for Claude Code, published by rshankras in claude-code-apple-skills.

659 stars60 forkson rshankras/claude-code-apple-skillsAdded 2026/08/24+3% in starsRepository updated 2026/07/24
agent-skillsai-toolsanthropicapp-storeappleasoclaudeclaude-codecode-generationdeveloper-toolsindie-developeriosipadosmacosswiftswiftuivisionoswatchosxcode
Install in seconds
Install SwiftData
Copy SwiftData into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/swiftdata ~/.claude/skills/swiftdata

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/rshankras/claude-code-apple-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/swiftdata/SKILL.md in rshankras/claude-code-apple-skills
Installs to
~/.claude/skills/swiftdata
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering2451 skills

What SwiftData does

SwiftData covers class inheritance patterns for hierarchical models, type-based querying, polymorphic relationships, and inheritance-vs-enum decisions. Use it when designing SwiftData model hierarchies.

SwiftData is cataloged under AI Engineering on DirSkills. SwiftData comes from a repository tagged agent-skills, ai-tools, anthropic, app-store and apple.

Documentation

README

SwiftData Skills

SwiftData modeling patterns beyond the basics.

When This Skill Activates

Use this skill when the user:

  • Designs hierarchical SwiftData models (class inheritance)
  • Needs type-based or polymorphic queries
  • Weighs inheritance vs enum for model variants

Available Skills

Paths are relative to THIS file's directory — skills run with cwd set to the user's project, so resolve each path from this SKILL.md's own location.

Skill Read Covers
inheritance inheritance/SKILL.md Class inheritance, polymorphic relationships, type-based querying, inheritance-vs-enum

How to Route

This is the opening of the README. Read the full README on GitHub.

Frequently asked about SwiftData

  • What else does rshankras publish alongside SwiftData?

    SwiftData is one of 25 skills that DirSkills catalogs from rshankras/claude-code-apple-skills, the repository it ships in. Its siblings there include Ad Attribution, App Description Writer and App Store Optimization. Each one is a separate skill with its own page in this directory, installs the same way SwiftData does, and is maintained by rshankras in that same repository. The rest of the collection is listed on the rshankras/claude-code-apple-skills page.

  • How does SwiftData compare to other AI Engineering skills?

    SwiftData ranks #1853 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of SwiftData against them. Open each page to compare what they document and how they install.

More from rshankras/claude-code-apple-skills

SwiftData is one of 25 skills cataloged on DirSkills from rshankras/claude-code-apple-skills.

See all 25 skills
📣
1w ago

Ad Attribution

Ad Attribution helps you implement Apple's AdAttributionKit for install and re-engagement measurement outside Apple Ads. Use it to design conversion values, configure postbacks, and test attribution end to end.
Automation
65960
📝
1w ago

App Description Writer

App Description Writer generates App Store promotional text, full descriptions, and What's New copy. Use it when writing new listings, revising existing copy, or preparing update notes.
Writing
65960
🏪
1w ago

App Store Optimization

App Store Optimization helps write App Store descriptions, screenshots, keywords, review responses, and marketing plans. Use it when improving app discoverability, promotion, or customer communication in the App Store.
SEO
65960
🍎
1w ago

Apple Intelligence

Apple Intelligence helps implement on-device AI features such as Foundation Models, Visual Intelligence, and App Intents. Use it when adding structured outputs, prompt handling, Siri, Shortcuts, or Spotlight integration.
AI Engineering
65960
🛠️
1w ago

Code Generators

Code Generators produce production-ready Swift code for common iOS and macOS app components. Use it when you need to add infrastructure like analytics, onboarding, paywalls, persistence, deep linking, tests, widgets, or CI/CD.
AI Engineering
65960
🤖
1w ago

Core ML

Core ML integrates Apple machine learning frameworks into apps for image classification, text analysis, object detection, sound classification, and custom model inference. Use it when choosing between Core ML, Vision, NaturalLanguage, Create ML, or Foundation Models.
AI Engineering
65960