swift-concurrency 是做什麼的?
診斷 Swift 並發問題,將基於回呼的程式碼重構為 async/await,並在處理任務、Actor、@MainActor、Sendable、資料競爭、執行緒安全或與並發相關的編譯器和 Lint 警告時,引導 Swift 6 遷移。
診斷 Swift 並發問題,將基於回呼的程式碼重構為 async/await,並在處理任務、Actor、@MainActor、Sendable、資料競爭、執行緒安全或與並發相關的編譯器和 Lint 警告時,引導 Swift 6 遷移。
此技能專為 Swift 開發者設計,用於診斷並修正在 Swift 並發模型中常見的問題。它能自動識別基於回呼(callback)的程式碼模式,並將其重構為現代化的 async/await 語法,從而減少程式碼複雜度並提高可讀性。對於正在遷移至 Swift 6 的專案,此技能提供具體的指導,幫助處理 Tasks、Actors、@MainActor 和 Sendable 等機制,並有效解決資料競爭與執行緒安全問題。此外,它還能解讀並建議修復方法,針對編譯器或 Lint 工具(如 Xcode 的靜態分析)所產生的並發相關警告。此技能支援 macOS 與 iOS 平台上的 Swift 開發,並與主流程式碼編輯器(如 Xcode、VS Code)中的 AI 代理整合,透過分析專案上下文提供精確的程式碼建議。
npx skills add https://github.com/avdlee/swift-concurrency-agent-skill/tree/main/skills/swift-concurrencyInstalled? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
診斷 Swift 並發問題,將基於回呼的程式碼重構為 async/await,並在處理任務、Actor、@MainActor、Sendable、資料競爭、執行緒安全或與並發相關的編譯器和 Lint 警告時,引導 Swift 6 遷移。
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.