重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
npx skills add https://github.com/pproenca/dot-skills --skill ios-xcode关于 Xcode 项目配置、SwiftData 持久化、测试、调试、性能分析和应用分发的综合指南。包含 6 大类共 19 条规则。
本技能中的所有指南均假设采用诊所模块化 MVVM-C 架构:
Domain 和 DesignSystem(绝不导入 Data,也绝不导入同级功能模块)DependencyContainer、具体协调器和路由外壳的连线Domain 保持纯 Swift,并定义模型以及仓库、*Coordinating、ErrorRouting 和 AppError 契约Data 拥有 SwiftData/网络/同步/重试/后台 I/O 并实现 Domain 协议广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
在以下情况下参考这些指南:
| 优先级 | 类别 | 影响 | 前缀 |
|---|---|---|---|
| 1 | SwiftData 与持久化 | 关键 | data- |
| 2 | 项目与平台 | 高 | platform- |
| 3 | 测试 | 高 | test- |
| 4 | 调试与分析 | 中高 | debug-, perf- |
| 5 | 分发 | 中 | dist- |
| 6 | 专业平台 | 中 | ml-, spatial- |
platform-app-storage - 使用 AppStorage 存储用户偏好设置platform-scene-phase - 使用 ScenePhase 响应应用生命周期platform-widget-integration - 为小组件和实时活动集成进行设计platform-system-features - 原生集成系统功能data-model-macro - 使用 @Model 宏定义模型data-query-for-fetching - 使用 @Query 获取数据data-model-container - 配置模型容器data-relationships - 定义模型关系data-crud-operations - 实现 CRUD 操作test-swift-testing - 使用 Swift Testing 框架test-preview-sample-data - 创建预览样本数据test-preview-macro - 使用 #Preview 宏进行快速迭代debug-breakpoints - 使用断点进行调试debug-console-output - 使用控制台输出进行调试perf-instruments-profiling - 使用 Instruments 分析 SwiftUI 性能dist-testflight - 通过 TestFlight 分发dist-app-icons - 为分发设计应用图标ml-natural-language - 集成自然语言机器学习spatial-visionos-windows - 为 visionOS 空间计算构建应用阅读各个参考文件以获取详细解释和代码示例:
| 文件 | 描述 |
|---|---|
| references/_sections.md | 类别定义和排序 |
| assets/templates/_template.md | 新规则模板 |
每周安装数
62
代码仓库
GitHub 星标数
85
首次出现
2026年2月8日
安全审计
安装于
codex58
gemini-cli57
opencode56
claude-code55
github-copilot55
cursor54
Comprehensive guide for Xcode project configuration, SwiftData persistence, testing, debugging, profiling, and app distribution. Contains 19 rules across 6 categories.
All guidance in this skill assumes the clinic modular MVVM-C architecture:
Domain + DesignSystem only (never Data, never sibling features)DependencyContainer, concrete coordinators, and Route Shell wiringDomain stays pure Swift and defines models plus repository, *Coordinating, ErrorRouting, and AppError contractsData owns SwiftData/network/sync/retry/background I/O and implements Domain protocolsReference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | SwiftData & Persistence | CRITICAL | data- |
| 2 | Project & Platform | HIGH | platform- |
| 3 | Testing | HIGH | test- |
| 4 | Debugging & Profiling | MEDIUM-HIGH | debug-, perf- |
platform-app-storage - Use AppStorage for user preferencesplatform-scene-phase - Respond to app lifecycle with ScenePhaseplatform-widget-integration - Design for widget and Live Activity integrationplatform-system-features - Integrate system features nativelydata-model-macro - Define models with @Model macrodata-query-for-fetching - Use @Query for fetching datadata-model-container - Configure model containersdata-relationships - Define model relationshipsdata-crud-operations - Implement CRUD operationstest-swift-testing - Use Swift Testing frameworktest-preview-sample-data - Create preview sample datatest-preview-macro - Use #Preview macro for rapid iterationdebug-breakpoints - Use breakpoints for debuggingdebug-console-output - Use console output for debuggingperf-instruments-profiling - Profile SwiftUI with Instrumentsdist-testflight - Distribute via TestFlightdist-app-icons - Design app icons for distributionml-natural-language - Integrate Natural Language MLspatial-visionos-windows - Build for visionOS spatial computingRead individual reference files for detailed explanations and code examples:
| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
Weekly Installs
62
Repository
GitHub Stars
85
First Seen
Feb 8, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex58
gemini-cli57
opencode56
claude-code55
github-copilot55
cursor54
VueUse 函数使用指南:Vue.js/Nuxt 开发必备组合式函数决策与实现
1,300 周安装
3D网页开发指南:Three.js、React Three Fiber与WebGL性能优化实战
1,300 周安装
Sanity内容建模最佳实践:结构化内容设计原则与无头CMS指南
1,400 周安装
Chrome CDP 命令行工具:轻量级浏览器自动化,支持截图、执行JS、无障碍快照
1,300 周安装
template-skill 技能模板:快速构建AI技能,含触发词、输入输出与工作流
1,300 周安装
TanStack Start 全栈开发:基于 Cloudflare 的 React 19 + D1 数据库应用构建指南
1,300 周安装
| 5 | Distribution | MEDIUM | dist- |
| 6 | Specialty Platforms | MEDIUM | ml-, spatial- |