01
It starts by itself
Swift pull request opened. Runs in GitHub Actions or Claude Code routine.
- ↻ Swift pull request opened
pull_request.opened with changed .swift files
SwiftData bugs caught before merge.
Install the SwiftData Pro skill and make it a habit: follow https://gethabit.dev/skills/twostraws/swiftdata-pro.md
9K installs451 starsMIT licenceSource on GitHub ↗

SwiftData Pro
by twostraws · 9K installs
The skill
The swiftdata pro skill writes and reviews SwiftData code with modern APIs: relationships, delete rules, safe predicates, CloudKit limits and indexing.
Only when you ask.
The habit
SwiftData bugs caught before merge.
↻ Runs by itselfSwift pull request opened
When does it start? How does it check its work? What does it remember?
Stops after one pull request per run.
The agent checks the changed code against references/core-rules.md.
It checks predicates for unsafe or unsupported patterns with references/predicates.md.
It loads references/cloudkit.md, references/indexing.md or references/class-inheritance.md only when the project needs them.
It lists each real issue with file, line, rule and a short before and after fix.
It ends with the most important changes first.
It adds the broken rules to the log for the next review.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the SwiftData Pro skill helps.
Only for a feature SwiftData cannot solve.
No. The skill asks first before any third-party framework.
Copy the prompt at the top into your agent. It installs the skill from twostraws/swiftdata-agent-skill and sets up the habit. Or run npx skills add twostraws/swiftdata-agent-skill --skill swiftdata-pro.
Yes. It is published under MIT. Habit is free too.
Install the SwiftData Pro skill and make it a habit: follow https://gethabit.dev/skills/twostraws/swiftdata-pro.md
All twostraws skills →More code skills →
Works in
Made by twostraws, published under MIT. Habit links to the original and never changes it. Is this your skill?