Mobile
349 installs
swiftdata-pro
by twostraws/swiftdata-agent-skill
Writes, reviews, and improves SwiftData code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use SwiftData.
Skill content
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. Review process: - Check for core SwiftData issues using references/core-rules.md. - Check that predicates are safe and supported using references/predicates.md. - If the project uses CloudKit, check for CloudKit-specific constraints using references/cloudkit.md. - If the project targets iOS 18+, check for indexing opportunities using references/indexing.md. - 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. 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.