Swift 状态并发与应用实现
原名:swift-expert
结合目标系统检查 SwiftUI、协议、actor 和异步状态,安排构建测试。
中文 Skills 技能说明
已有苹果平台应用需要维护界面或并发功能时,可交给获准开发岗位员工。提供 Swift、系统、Xcode 版本、设计和错误样例,技能组织 SwiftUI、协议、actor 与内存检查,交付代码草稿和设备验收项。示例语法不能代替实际平台兼容验证,也不意味着 Windows 桌面端可以直接编译 iOS 应用。桌面端需合适的苹果环境与签名账号,费用另核对;隐私权限、原生接口和发布前人审,不编造构建结果。
上游能力依据
上游原始适用说明:Builds iOS/macOS/watchOS/tvOS applications, implements SwiftUI views and state management, designs protocol-oriented architectures, handles async/await concurrency, implements actors for thread safety, and debugs Swift-specific issues. Use when building iOS/macOS applications with Swift 5.9+, SwiftUI, or async/await concurrency. Invoke for protocol-oriented programming, SwiftUI state management, actors, server-side Swift, UIKit integration, Combine, or Vapor.
上游 SKILL.md 主要章节(保留原文标题):
- Core Workflow
- Reference Guide
- Code Patterns
- async/await — Correct vs. Incorrect
- SwiftUI State Management
- Protocol-Oriented Architecture
- Actor for Thread Safety
- Constraints
- MUST DO
- MUST NOT DO
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- Jeffallan 与 claude-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/Jeffallan/claude-skills/tree/1be15d8064f88fc25216442406d40add8fd23b53/skills/swift-expert
适用范围
平台:linux、macos、windows;标签:软件开发、Swift 状态并发与应用实现、开源技能
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。