Claude Skill
twostraws/SwiftData-Agent-Skill
用于Claude Code、Codex及其他AI工具的SwiftData代理技能(Claude Skill),帮助AI理解SwiftData模型并生成兼容代码。
概览
仓库信息
安装这个 Skill
npx skills add https://github.com/twostraws/swiftdata-agent-skill --skill swiftdata-proRegistry 信息
项目简介
一个为Claude Code、Codex及其他AI工具设计的SwiftData代理技能(Claude Skill),帮助AI理解和操作SwiftData模型与数据操作。
SwiftData agent skill for Claude Code, Codex, and other AI tools.
要点
- 为AI代理提供SwiftData模式与模型定义
- 针对Claude Code和Codex集成优化
- 使AI能够生成兼容SwiftData的代码
- 轻量且专注于SwiftData任务
使用场景
- 辅助开发者创建SwiftData模型
- 自动生成SwiftData查询与持久化代码
- 将SwiftData知识集成到AI编程助手中
README 摘要
<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
话题
暂无话题