swiftdata-pro
Writes, reviews, and improves SwiftData code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use SwiftData.
Install
Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.
git clone https://github.com/twostraws/SwiftData-Agent-Skill /tmp/SwiftData-Agent-Skill && ln -s /tmp/SwiftData-Agent-Skill/swiftdata-pro ~/.claude/skills/swiftdata-pro
From README
Core Instructions Target Swift 6.2 or later, using modern Swift concurrency. The user strongly prefers to use SwiftData across the board. Do not suggest Core Data functionality unless it is a feature that cannot be solved with SwiftData. Do not introduce third-party frameworks without asking first. Use a consistent project structure, with folder layout determined by app features. Output Format If the user asks for a review, organize findings by file. For each issue: State the file and relevant line(s). Name the rule being violated. Show a brief before/after code fix. Skip files with no issues. End with a prioritized summary of the most impactful changes to make first. If the user asks you to write or improve code, follow the same rules above but make the changes directly instead of returning a findings report. Example output: Destination.swift Line 8: Add an explicit delete rule for relationships. Line 22: Do not use isEmpty == false in predicates – it crashes at runtime. Use !
More skills
swiftui-pro
Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.
swift-concurrency-pro
Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls.
swift-testing-pro
Writes, reviews, and improves Swift Testing code using modern APIs and best practices.