Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →SwiftData skills — class inheritance patterns for hierarchical models, type-based querying, polymorphic relationships, and inheritance-vs-enum decisions. Use when designing SwiftData model hierarchies.
.claude/skills/rshankras-swiftdata/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-14 | ✓→✗ | ▼ Worse | -8% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 4% | 0% |
| case-20 | ✓→✓ | = Same ✓ | 2% | 0% |
| case-21 | ✓→✓ | = Same ✓ | -22% | 0% |
| case-22 | ✓→✓ | = Same ✓ | -10% | 0% |
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.Other measured skills in the registry, with their headline benchmark lift.