Check SwiftData code for modern API usage
Uses swiftdata-pro
- A SwiftData project or the Swift source files to review
/swiftdata-pro Check my code for latest API usage

This skill walks through a structured review process for SwiftData code: core rules, predicate safety, CloudKit constraints, indexing for iOS 18+, and class inheritance for iOS 26+. For each issue it reports the file, line, rule violated, and a before/after fix, then ends with a prioritized summary. It helps SwiftData developers and Apple platform engineers catch patterns that crash at runtime—like isEmpty in predicates or @Query outside SwiftUI views—before merging.
Follow the documented setup, then try a first task.
Installs: Installs the SwiftData Pro skill; during installation, choose either one-project availability or availability across all projects. · Claude Code, Codex, Gemini, Cursor
Platform: iOS 26 or later
Run this terminal command. During the interactive installation, select the desired supported agents and choose whether SwiftData Pro should be available only in one project or across all projects.
npx skills add https://github.com/twostraws/swiftdata-agent-skill --skill swiftdata-pro
Uses swiftdata-pro
/swiftdata-pro Check my code for latest API usage
Uses swiftdata-pro
$swiftdata-pro Check where indexes should be added to my SwiftData models
Uses SwiftData Pro
Use the SwiftData Pro skill to enable iCloud support in this project.