guide-swiftdata
SwiftData patterns — autosave, relationships, dangerous predicates, CloudKit constraints, indexing, class inheritance.
Skill by Prisma-Labs-Dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/prisma-labs-dev-guide-swiftdata
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/guide-swiftdata
What's inside
- Skill name
guide-swiftdata- Description
- SwiftData patterns — autosave, relationships, dangerous predicates, CloudKit constraints, indexing, class inheritance. Use when writing, reviewing, or debugging SwiftData code.
- License
- MIT
- Instructions
- 34 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- class-inheritance.md · references/
- cloudkit.md · references/
- core-rules.md · references/
- indexing.md · references/
- predicates.md · references/
SKILL.md (first lines)
> **Guide Skill** — This is an expert workflow/pattern guide, not API reference documentation. > Originally from [twostraws/SwiftData-Agent-Skill](https://github.com/twostraws/SwiftData-Agent-Skill) by Paul Hudson. MIT License. # SwiftData Patterns Write and review SwiftData code for correctness, modern API usage, and adherence to project conventions. Report only genuine problems — do not nitpick or invent issues. ## Core Instructions - Target Swift 6.2 or later, using modern Swift concurrency. - Prefer SwiftData across the board. Do not suggest Core Data unless the feature cannot be solved with SwiftData. - Do not introduce third-party frameworks without asking first. ## Review Process 1. Check for core SwiftData issues using `references/core-rules.md`. 2. Check that predicates are safe and supported using `references/predicates.md`. 3. If the project uses CloudKit, check for CloudKit-specific constraints using `references/cloudkit.md`. 4. If the project targets iOS 18+, check for indexing opportunities using `references/indexing.md`. 5. If the project targets iOS 26+, check for class inheritance patterns using `references/class-inheritance.md`. If doing partial work, load only the relevant reference files. ## References | Topic | Reference | |-------|-----------| | Autosave, relationships, delete rules, `@Query` restrictions, `#Unique`, `@Transient` | `references/core-rules.md` | | Supported predicates, dangerous patterns that crash at runtime, unsupported methods | `references/predicates.md` | | CloudKit constraints: no `#Unique`, optional requirements, eventual consistency | `references/cloudkit.md` | | Database indexing (iOS 18+), single and compound property indexes | `references/indexing.md` | | Model subclassing (iOS 26+), `@available` requirements, predicate filtering | `references/class-inheritance.md` |
From Prisma-Labs-Dev/apple-skills, MIT.
More from Prisma-Labs-Dev/apple-skills
- 0.797score
ios-dev
Prisma-Labs-Dev
Start here for any iOS or SwiftUI task.
SkillAFreshness: A★ 349Claude Code +9 - 0.760score
guide-swiftui-ui-patterns
Prisma-Labs-Dev
Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive…
SkillBFreshness: B★ 349Claude Code +9 - 0.754score
guide-swiftui-animations
Prisma-Labs-Dev
SwiftUI animation patterns — implicit/explicit animations, transitions, phase/keyframe animations, the Animatable protocol, and the @Animatable macro.
SkillBFreshness: B★ 349Claude Code +9 - 0.751score
core-animation
Prisma-Labs-Dev
API reference: Core Animation (QuartzCore).
SkillBFreshness: B★ 349Claude Code +9 - 0.703score
guide-swiftui-view-refactor
Prisma-Labs-Dev
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency…
SkillCFreshness: C★ 349Claude Code +9 - 0.697score
apple-docs-index
Prisma-Labs-Dev
Index of Apple developer documentation for iOS, macOS, and related frameworks.
SkillCFreshness: C★ 349Claude Code +9 - 0.697score
ios-design-consultant
Prisma-Labs-Dev
UX and visual design consultant for iOS apps using Apple's Liquid Glass design system (iOS 26+).
SkillCFreshness: C★ 349Claude Code +9 - 0.697score
ios-ui-craft
Prisma-Labs-Dev
Production-grade SwiftUI with Apple Design Award-quality aesthetics.
SkillCFreshness: C★ 349Claude Code +9 - 0.693score
hig
Prisma-Labs-Dev
Fact lookup: Apple Human Interface Guidelines corpus (greppable markdown).
SkillCFreshness: C★ 349Claude Code +9 - 0.693score
ios-liquid-glass
Prisma-Labs-Dev
API reference: Liquid Glass (iOS 26+).
SkillCFreshness: C★ 349Claude Code +9 - 0.693score
uikit
Prisma-Labs-Dev
API reference: UIKit.
SkillCFreshness: C★ 349Claude Code +9 - 0.693score
swiftui
Prisma-Labs-Dev
API reference: SwiftUI.
SkillCFreshness: C★ 349Claude Code +9
Signals
- Stars
- 349
- Forks
- 21
- Open issues
- 1
- Last commit (this folder)
- Sep 10, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Prisma-Labs-Dev/apple-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Prisma-Labs-Dev
- 0.797score
ios-dev
Prisma-Labs-Dev
Start here for any iOS or SwiftUI task.
SkillAFreshness: A★ 349Claude Code +9 - 0.760score
guide-swiftui-ui-patterns
Prisma-Labs-Dev
Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive…
SkillBFreshness: B★ 349Claude Code +9 - 0.754score
guide-swiftui-animations
Prisma-Labs-Dev
SwiftUI animation patterns — implicit/explicit animations, transitions, phase/keyframe animations, the Animatable protocol, and the @Animatable macro.
SkillBFreshness: B★ 349Claude Code +9 - 0.751score
core-animation
Prisma-Labs-Dev
API reference: Core Animation (QuartzCore).
SkillBFreshness: B★ 349Claude Code +9 - 0.703score
guide-swiftui-view-refactor
Prisma-Labs-Dev
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency…
SkillCFreshness: C★ 349Claude Code +9 - 0.697score
ios-design-consultant
Prisma-Labs-Dev
UX and visual design consultant for iOS apps using Apple's Liquid Glass design system (iOS 26+).
SkillCFreshness: C★ 349Claude Code +9
Cite this page
guide-swiftdata skill. Agent Mart. https://agentmart.dev/skills/prisma-labs-dev-guide-swiftdata (last updated 2026-10-24)