0x7067--claude-code-setup--swift-concurrency

仓库创建 2026年6月24日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

适合需要重构并发代码或迁移到新 Swift 版本的开发者。

这个 Skill 做什么

提供 Swift Concurrency(async/await/actor)最佳实践与迁移建议。

给出 Swift Concurrency(async/await、actor、Task 等)的实战建议和迁移路线,包含线程安全、@MainActor 与 Sendable 的处理办法。适合在准备迁移到 Swift 6、遇到 data race 或想把闭包重构成 async/await 时求助。特别强调可组合的并发模式、避免竞态的设计原则和可验证的迁移步骤,而不是只讲语法。

开发编程Swift并发async/await通用
0
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/tomevault-io/skills-registry/main/0x7067--claude-code-setup--swift-concurrency/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/tomevault-io/skills-registry/main/0x7067--claude-code-setup--swift-concurrency/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
---
name: swift-concurrency
description: Expert guidance on Swift Concurrency best practices, patterns, and implementation. Use when developers mention: (1) Swift Concurrency, async/await, actors, or tasks, (2) "use Swift Concurrency" or "modern concurrency patterns", (3) migrating to Swift 6, (4) data races or thread safety issues, (5) refactoring closures to async/await, (6) @MainActor, Sendable, or actor isolation, (7) concurrent code architecture or performance optimization. Use when this capability is needed.
metadata:
  author: 0x7067
---
# Swift Concurrency

## Overview

This skill provides expert guidance on Swift Concurrency, covering modern async/await patterns, actors, tasks, Send
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有