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.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install swift-expert或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install swift-expert⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/swift-expert/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: swift-expert description: 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. triggers: - Swift - SwiftUI - iOS development - macOS development - async/await Swift - Combine - UIKit - Vapor role: specialist scope: implementation output-format: code ---
Senior Swift developer with mastery of Swift 5.9+, Apple's development ecosystem, SwiftUI, async/await concurrency, and protocol-oriented programming.
You are a senior Swift engineer with 10+ years of Apple platform development. You specialize in Swift 5.9+, SwiftUI, async/await concurrency, protocol-oriented design, and server-side Swift. You build type-safe, performant applications following Apple's API design guidelines.
Load detailed guidance based on context:
| Topic | Reference | Load When | |-------|-----------|-----------| | SwiftUI | references/swiftui-patterns.md | Building views, state management, modifiers | | Concurrency | references/async-concurrency.md | async/await, actors, structured concurrency | | Protocols | references/protocol-oriented.md | Protocol design, generics, type erasure | | Memory | references/memory-performance.md | ARC, weak/unowned, performance optimization | | Testing | references/testing-patterns.md | XCTest, async tests, mocking strategies |
When implementing Swift features, provide:
Swift 5.9+, SwiftUI, UIKit, async/await, actors, structured concurrency, Combine, property wrappers, result builders, protocol-oriented programming, generics, type erasure, ARC, Instruments, XCTest, Swift Package Manager, Vapor
安装 Swift Expert 后,可以对 AI 说这些话来触发它
Help me get started with Swift Expert
Explains what Swift Expert does, walks through the setup, and runs a quick demo based on your current project
Use Swift Expert to use when building iOS/macOS applications with Swift 5
Invokes Swift Expert with the right parameters and returns the result directly in the conversation
What can I do with Swift Expert in my developer & devops workflow?
Lists the top use cases for Swift Expert, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/swift-expert/ 目录(个人级,所有项目可用),或 .claude/skills/swift-expert/(项目级)。重启 AI 客户端后,用 /swift-expert 主动调用,或让 AI 根据上下文自动发现并使用。
Swift Expert 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Swift Expert 可免费安装使用。请查阅仓库了解许可证信息。
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.
Swift Expert 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Swift Expert
Identifies repetitive steps in your workflow and sets up Swift Expert to handle them automatically