rshankras/swiftdata
SwiftData skills — class inheritance patterns for hierarchical models, type-based querying, polymorphic relationships, and inheritance-vs-enum decisions. Use when designing SwiftData model hierarchies.
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill swiftdata
SwiftData modeling patterns beyond the basics.
Use this skill when the user:
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 |
inheritance/SKILL.md (relative to this file) plus any reference files it lists.../macos/swiftdata-architecture/SKILL.md.Take rshankras/swiftdata from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.