Last commit on March 11, 2026·Created on March 11, 2026
twostraws/SwiftData-Agent-Skill
“Checks SwiftData code for unsafe predicates, missing delete rules, and misplaced @Query.”
Combined rank
#322
across all skills
In Software Engineering
#29
category rank
Stars
384
+0.5% in last 7d
Forks
17
0.0% in last 7d
Watchers
9
-10.0% in last 7d
Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of real attention, adoption, and active maintenance.
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.
WHO IT'S FOR
Apple SwiftData Developers
write and review SwiftData code
AI-Assisted Development Teams
integrate SwiftData coding standards into AI workflows
Apple Platform Code Reviewers
review SwiftData code for issues
Technical Leads on Apple Projects
establish SwiftData coding standards and conventions