重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
swift-concurrency-expert by steipete/agent-scripts
npx skills add https://github.com/steipete/agent-scripts --skill swift-concurrency-expert来源:复制自 @Dimillian 的 Dimillian/Skills (2025-12-31)。
通过应用 Actor 隔离、Sendable 安全性以及现代并发模式,以最小的行为变更来审查和修复 Swift 6.2+ 代码库中的并发问题。
@MainActor、actor、nonisolated)以及是否启用了默认的 Actor 隔离模式。优先选择在满足数据竞争安全性的同时保留现有行为的编辑方案。
常见修复方法:
@MainActor 注解类型或相关成员。extension Foo: @MainActor SomeProtocol)。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
@MainActor 保护或移动到 Actor 中。nonisolated 类型的 @concurrent 异步函数中,或使用 actor 来保护可变状态。Sendable 一致性;除非能证明线程安全,否则避免使用 @unchecked Sendable。references/swift-6-2-concurrency.md。references/swiftui-concurrency-tour-wwdc.md。每周安装量
60
代码仓库
GitHub 星标数
2.3K
首次出现时间
2026年1月23日
安全审计
已安装于
opencode52
gemini-cli50
codex50
cursor50
claude-code49
github-copilot45
Attribution: copied from @Dimillian’sDimillian/Skills (2025-12-31).
Review and fix Swift Concurrency issues in Swift 6.2+ codebases by applying actor isolation, Sendable safety, and modern concurrency patterns with minimal behavior changes.
@MainActor, actor, nonisolated) and whether a default actor isolation mode is enabled.Prefer edits that preserve existing behavior while satisfying data-race safety.
Common fixes:
@MainActor.extension Foo: @MainActor SomeProtocol).@MainActor or move into an actor.@concurrent async function on a nonisolated type or use an actor to guard mutable state.Sendable conformance only when correct; avoid @unchecked Sendable unless you can prove thread safety.references/swift-6-2-concurrency.md for Swift 6.2 changes, patterns, and examples.references/swiftui-concurrency-tour-wwdc.md for SwiftUI-specific concurrency guidance.Weekly Installs
60
Repository
GitHub Stars
2.3K
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode52
gemini-cli50
codex50
cursor50
claude-code49
github-copilot45
Flutter/Dart代码审查最佳实践:提升应用性能与质量的完整检查清单
1,000 周安装