用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Prisma-Labs-Dev/apple-skills --skill swiftdata命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive layouts with stacks and grids. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens with VStack/HStack, managing @State or @Binding, building declarative iOS interfaces, or needing component-specific patterns and examples.
Fact lookup: Apple Human Interface Guidelines corpus (greppable markdown). Query on demand for accessibility and ergonomic minimums (hit-target sizes, Dynamic Type), platform terminology, system component capabilities, and App-Review-relevant conventions. Not design direction.
Start here for any iOS or SwiftUI task. Coordinates best-practice guides, correctness checks, and full Apple API references. Use before navigating to other Apple skills — for building, reviewing, refactoring, or debugging iOS apps.
基于 SOC 职业分类
正在显示 SKILL.md
| name | swiftdata |
| user-invocable | true |
| description | API reference: SwiftData. Query for @Model, ModelContext, @Query, schema migrations. |
| context | fork |
| agent | Explore |
Search these docs to answer questions about SwiftData APIs.
Always include:
swiftdata-model.md for @Model macroswiftdata-query.md for @Query usageswiftdata-index.md - Framework overview and all available APIsswiftdata-model.md - @Model macro and model definitionswiftdata-modelcontext.md - ModelContext for CRUD operationsswiftdata-query.md - @Query property wrapper for fetching data