Claude Skill

twostraws/SwiftData-Agent-Skill

A SwiftData agent skill for Claude Code, Codex, and other AI tools. Helps AI understand SwiftData models and generate compatible code.

Overview

Stars367
Forks17
LanguageUnknown
Last pushed2026-03-11
Last synced2026-07-02
View on GitHub

Repository

Ownertwostraws
RepositorySwiftData-Agent-Skill
Full nametwostraws/SwiftData-Agent-Skill
Repo ID1,178,984,677

Install this Skill

npx skills add https://github.com/twostraws/swiftdata-agent-skill --skill swiftdata-pro

Registry

Typecursor_rule
Quality score70/100
Verificationreadme_parsed
Last verified2026-06-14
Platforms
ClaudeCodexCursor
Capabilities
video
Detected files
README.md

Summary

A SwiftData agent skill designed for Claude Code, Codex, and other AI tools, enabling them to understand and work with SwiftData models and operations.

Chinese description

用于Claude Code、Codex及其他AI工具的SwiftData代理技能(Claude Skill)。

Key features

  • Provides SwiftData schema and model definitions for AI agents
  • Optimized for Claude Code and Codex integration
  • Enables AI to generate SwiftData-compatible code
  • Lightweight and focused on SwiftData tasks

Use cases

  • Assisting developers with SwiftData model creation
  • Automating SwiftData query and persistence code generation
  • Integrating SwiftData knowledge into AI coding assistants

README excerpt

<p align="center"> <img src="assets/logo.svg" alt="SwiftData Pro - Agent Skill for Claude Code, Codex, and Gemini" height="100" /> </p> <h1 align="center">SwiftData Agent Skill for AI Coding Assistants</h1> <p align="center"> <img src="https://img.shields.io/badge/iOS-26+-2980b9.svg" alt="Designed for iOS 26 and later." /> <img src="https://img.shields.io/badge/swift-6.2+-8e44ad.svg" alt="Designed for Swift 6.2 and later." /> <a href="https://twitter.com/twostraws"> <img src="https://img.shields.io/badge/Contact-@twostraws-95a5a6.svg?style=flat" alt="Twitter: @twostraws" /> </a> </p> An agent skill that helps AI coding assistants like Claude Code, Codex, Cursor, and Gemini write better SwiftData code. Covers `@Model`, `@Query`, predicates, indexes, migrations, relationships, iCloud sync, and more, targeting the mistakes LLMs actually make. Also available: - [SwiftUI Pro](https://github.com/twostraws/SwiftUI-Agent-Skill) - [Swift Concurrency Pro](https://github.com/twostraws/Swift-Concurrency-Agent-Skill) - [Swift Testing Pro](https://github.com/twostraws/Swift-Testing-Agent-Skill) Find more agent skills for Swift and Apple platform development at [Swift Agent Skills](https://github.com/twostraws/Swift-Agent-Skills). ## Installing SwiftData Pro You can install this skill into Claude Code, Codex, Gemini, Cursor, and more by using `npx`: ```bash npx skills add https://github.com/twostraws/swiftdata-agent-skill --skill swiftdata-pro ``` If you get the error `npx: command not found`, it means you don’t currently have Node installed. You need to run this command to install Node through Homebrew: ```bash brew install node ``` And if *that* fails it usually means you need to [install Homebrew](https://brew.sh) first. When using `npx`, y

Topics

No topics yet.

Explore more

Data from GitHub. Synced on 2026-07-02