Not in the top 1,000 by GitHub stars

twostraws/SwiftData-Agent-Skill

SwiftData agent skill for Claude Code, Codex, and other AI tools.

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

swiftdata-pro/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → 8051f177a007

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit 8051f177a0076e7fd45bdf4ee687b070ba58fdc6

git clone --filter=blob:none --no-checkout https://github.com/twostraws/SwiftData-Agent-Skill.git .hotskills/twostraws-swiftdata-agent-skill && git -C .hotskills/twostraws-swiftdata-agent-skill checkout --detach 8051f177a0076e7fd45bdf4ee687b070ba58fdc6 # Copy each selected skill directory from .hotskills/twostraws-swiftdata-agent-skill into .claude/skills/<skill-name>/
464GitHub stars
8stars in 7 days
1skill in this repository
1commit in 30 days

Heat

6.1
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Nov 6, 2026464

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

swiftdata-pro

When your agent uses it

Writes, reviews, and improves SwiftData code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use SwiftData.

What it loads into context

Frontmatter

58 tokens

Always available to the agent

SKILL.md

819 tokens

When the skill is activated

Reference documents

2,587 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. Core Instructions
  2. Output Format
  3. References

Files

  • ../.claude-plugin/marketplace.jsonasset693 bytes
  • SKILL.mdcore3,722 bytes
  • agents/openai.yamlasset340 bytes
  • assets/swiftdata-pro-icon.pngasset3,033 bytes
  • assets/swiftdata-pro-icon.svgasset1,539 bytes
  • references/class-inheritance.mddoc3,804 bytes
  • references/cloudkit.mddoc662 bytes
  • references/core-rules.mddoc3,977 bytes
  • references/indexing.mddoc800 bytes
  • references/predicates.mddoc2,454 bytes
Read SKILL.md

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:

1. Check for core SwiftData issues using `references/core-rules.md`.
1. Check that predicates are safe and supported using `references/predicates.md`.
1. If the project uses CloudKit, check for CloudKit-specific constraints using `references/cloudkit.md`.
1. If the project targets iOS 18+, check for indexing opportunities using `references/indexing.md`.
1. 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
View the complete source on GitHub

Skills included

  • swiftdata-pro

Repository facts

License
MIT
Created
Mar 11, 2026
Last pushed
Oct 19, 2026
Forks
23
Open issues
0
Project activity
Active

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 5, 2026

Show all 16 signals by file

.claude-plugin/marketplace.json

  • Network accessline 13
    "version": "1.0.0",       "author": { "name": "Paul Hudson" },       "homepage": "https://github.com/twostraws/SwiftData-Agent-Skill",
  • Network accessline 14
    "author": { "name": "Paul Hudson" },       "homepage": "https://github.com/twostraws/SwiftData-Agent-Skill",       "repository": "https://github.com/twostraws/SwiftData-Agent-Skill",
  • Network accessline 15
    "homepage": "https://github.com/twostraws/SwiftData-Agent-Skill",
  • Network accessline 16
    "repository": "https://github.com/twostraws/SwiftData-Agent-Skill",

swiftdata-pro/SKILL.md

  • Network accessline 81
    func fetchDestinations() throws -> [Destination] {         try modelContext.fetch(FetchDescriptor<Destination>())
  • Network accessline 82
    try modelContext.fetch(FetchDescriptor<Destination>())

swiftdata-pro/assets/swiftdata-pro-icon.svg

  • Network accessline 1
    <?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="227.72" height="227.72" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 227.72 227.72">
  • Network accessline 2
    <svg xmlns="http://www.w3.org/2000/svg" width="227.72" height="227.72" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 227.72 227.72">

swiftdata-pro/references/core-rules.md

  • Network accessline 3
    - When SwiftData first launched, it autosaved model contexts aggressively. Since then, autosaving happens less frequently and is now hard to predict, so many developers prefer to add explicit calls to `save()` when correctness is important.
  • Network accessline 4
    - There is no need to check `modelContext.hasChanges` before saving; just call `save()` directly. - `ModelContext` and model instances must never cross actor boundaries. Model containers and persistent identifiers *are* sendable, so if you 
  • Network accessline 5
    - `ModelContext` and model instances must never cross actor boundaries. Model containers and persistent identifiers *are* sendable, so if you need a model instance to be transferred across actors you should send its identifier and re-fetch 
  • Network accessline 12
    - It is nearly always a good idea to have a specific migration schema in place, even if the project is only dealing with lightweight migrations. - It is nearly always a good idea to have an explicit delete rule in place for relationships. T
  • Network accessline 13
    - It is nearly always a good idea to have an explicit delete rule in place for relationships. This is most commonly `@Relationship(deleteRule: .cascade)`, but others are available. The default is `.nullify`, which sets the related model's r
  • Network accessline 14
    - Do not attempt to use `@Query` outside of SwiftUI views; it is designed to work specifically *inside* views, and will not operate correctly outside. For more help with SwiftUI, suggest the [SwiftUI Pro agent skill](https://github.com/twos

swiftdata-pro/references/predicates.md

  • Network accessline 26
    @Query(filter: #Predicate<Website> {     $0.type.starts(with: "https://apple.com")
  • Network accessline 27
    $0.type.starts(with: "https://apple.com")

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

Signal confidence: 10 facts

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeNativeManifest .claude-plugin/marketplace.json.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md swiftdata-pro/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md swiftdata-pro/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md swiftdata-pro/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md swiftdata-pro/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md swiftdata-pro/SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.