スキル swift-concurrency-expert
📦

swift-concurrency-expert

コンテンツリビジョン r1 安全 ⚙️ 外部コマンド

修正 Swift 並行問題

Swift 6.2 並行診斷可能很難對應到 actor 隔離與 Sendable 規則。此技能會引導針對 Swift 和 SwiftUI 程式碼進行聚焦審查與最小修正。

対応: Claude Codex Code(CC)
Maintain this Skill? Claim it 📊 75 十分

自分のエージェントでインストール

このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。

エージェントリクエスト
Review the Skillstore skill "swift-concurrency-expert" from https://skillstore.io/skills/dimillian-swift-concurrency-expert.md and its manifest at https://skillstore.io/api/skills/dimillian-swift-concurrency-expert/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。

エージェントが読めるリソース

AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。

テストする

「swift-concurrency-expert」を使用しています。 編譯器診斷指出 main actor model 將可變 helper 傳送到 nonisolated async method。

期待される結果:

  • 解釋造成該診斷的 actor 邊界。
  • 建議在行為應保持序列化時,將 UI 擁有的狀態保留在 main actor 上。
  • 建議只卸載必須平行執行的高成本工作。

「swift-concurrency-expert」を使用しています。 SwiftUI visual effect closure 透過 self 讀取實例屬性。

期待される結果:

  • 標示 Sendable closure 捕獲風險。
  • 建議捕獲所需的值,而不是整個實例。
  • 解釋為什麼該 closure 可能在 main actor 之外執行。

「swift-concurrency-expert」を使用しています。 團隊想為現有 app 啟用 Swift 6.2 approachable concurrency。

期待される結果:

  • 檢查 default actor isolation 和 strict concurrency 設定。
  • 識別可依賴 main actor 預設值的 UI 綁定程式碼。
  • 列出仍需要明確 actors 或 Sendable 審查的區域。

セキュリティ監査

安全

All 13 static findings are false positives caused by Markdown inline code and Swift concurrency prose. I found no evidence of shell execution, system reconnaissance, prompt injection, network access, or data exfiltration in the cited files.

4
スキャンされたファイル
409
解析済み行数
0
レビュー項目
0
誤検知を無視
最新の完了済み静的・セマンティック監査では、確認済みのセキュリティ検出事項は見つかりませんでした。これは、スキルに副作用がないことを証明するものではありません。
監査者: codex 監査履歴を表示 →
このレポートを共有・引用

バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。

バージョン別レポートを開く
セキュリティ評価

レポートリンクをコピー

https://skillstore.io/skills/dimillian-swift-concurrency-expert/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdownバッジ

[![Skillstore security assessment](https://skillstore.io/badges/skills/dimillian-swift-concurrency-expert/security.svg)](https://skillstore.io/skills/dimillian-swift-concurrency-expert?utm_source=security_passport_badge)

HTMLバッジ

<a href="https://skillstore.io/skills/dimillian-swift-concurrency-expert?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/dimillian-swift-concurrency-expert/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

埋め込みカード

<iframe src="https://skillstore.io/embed/skills/dimillian-swift-concurrency-expert.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学術引用 (APA · BibTeX · CFF)

APA形式の引用

Dimillian. (2026). swift-concurrency-expert security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/dimillian-swift-concurrency-expert/audits/8

BibTeX形式の引用

@techreport{dimillian-dimillian-swift-concurrency-expert-2026, author = {Dimillian}, title = {swift-concurrency-expert security audit report (audit version 8)}, institution = {Skillstore}, year = {2026}, number = {8}, url = {https://skillstore.io/skills/dimillian-swift-concurrency-expert/audits/8}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "swift-concurrency-expert security audit report (audit version 8)" version: "unspecified" type: report authors: - name: "Dimillian" date-released: "2026-07-06" url: "https://skillstore.io/skills/dimillian-swift-concurrency-expert/audits/8" identifiers: - type: other value: "skillstore:dimillian-swift-concurrency-expert:audit:8" description: "Skillstore immutable audit report identifier"

Skillstore スコア

このスコアの理由 証拠の信頼度: 高
45
アーキテクチャ
85
保守性
87
コンテンツ
72
コミュニティ
83
仕様準拠

作成できるもの

修正編譯器錯誤

iOS 開發者將 Swift 並行診斷對應到最小的 actor 隔離或 Sendable 變更。

規劃 Swift 6 遷移

工程主管在啟用更嚴格的並行檢查前,審查專案設定與遷移風險。

審查 SwiftUI 回應性

SwiftUI 工程師檢查閉包、async tasks 與背景工作,以確保資料競爭安全性和平順的 UI 更新。

これらのプロンプトを試す

解釋診斷
用簡單的方式解釋這個 Swift 並行診斷。識別 actor 隔離問題,並建議最小且安全的修正:[paste diagnostic and code]。
修正檔案
審查這個 Swift 檔案是否有 Swift 6.2 並行問題。針對 @MainActor、Sendable、nonisolated 和 actor 邊界提出最小編輯:[paste file]。
遷移功能
稽核此功能以進行 approachable concurrency 遷移。使用這些專案設定,並識別能保留行為的變更:[settings and files]。
評估架構取捨
評估此 async 架構的資料競爭安全性與回應性。比較 actor、@MainActor、@concurrent 和 Sendable 選項:[context]。

ベストプラクティス

  • 從精確的編譯器診斷與最小受影響程式碼區域開始。
  • 在加入新的並行之前,優先採用可保留目前行為的 actor 隔離變更。
  • 在每個請求中說明專案 Swift 版本與 strict concurrency 設定。

回避

  • 加入 @unchecked Sendable,卻沒有解釋執行緒安全性的證明。
  • 只為了滿足單一診斷,就將 UI 綁定狀態移出 main actor。
  • 在沒有編譯器診斷或行為需求的情況下,請求大範圍重寫。

よくある質問

此技能針對哪些 Swift 版本?
它以 Swift 6.2+ 並行行為為目標,包括 approachable concurrency 和 default actor isolation。
它可以修正 SwiftUI 並行警告嗎?
可以。它包含 SwiftUI actor 隔離、Sendable closures、Task 用法,以及具回應性的背景工作指引。
它能取代編譯器檢查嗎?
不能。套用任何建議變更後,你仍應建置專案並執行測試。
它可以在 actor 和 @MainActor 之間做選擇嗎?
它可以解釋取捨,並根據所有權、UI 使用情境與共享可變狀態推薦隔離模型。
它會使用外部命令嗎?
不會。此技能是參考指引,不需要 shell commands。
我應該在 prompt 中包含什麼?
請包含診斷文字、相關 Swift 程式碼、Swift 版本、strict concurrency 設定,以及預期行為。

開発者情報

作成者

Dimillian

ライセンス

MIT

Skillstore リビジョン

r1

バージョンに関する注意

作者はバージョンを宣言していません。

参照

72d5025b022c77f7a51bdf5c1637c689c80e89d1

メンテナンスの新しさ

2026/7/18

利用状況

5 ダウンロード · 338 閲覧