[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FE19HMRN4MSHJSQH4NEB6":3,"skill-same:01M78FE19HMRN4MSHJSQH4NEB6":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M78FE19HMRN4MSHJSQH4NEB6","swift-concurrency-expert",null,"Review and fix Swift concurrency issues such as actor isolation and Sendable violations.","princepatel04477-web\u002Ftrivoxa-group","princepatel04477-web","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F227740714?v=4","01M788ZAJ2KECD5KXVP55PZXKS","Prince Patel","01M788ZAJTCN8YSD737MRSKC5Q",0,"MIT","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fswift-concurrency-expert\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: swift-concurrency-expert\ndescription: Review and fix Swift concurrency issues such as actor isolation and Sendable violations.\nrisk: safe\nsource: \"Dimillian\u002FSkills (MIT)\"\ndate_added: \"2026-03-25\"\n---\n\n# Swift Concurrency Expert\n\n## Overview\n\nReview and fix Swift Concurrency issues in Swift 6.2+ codebases by applying actor isolation, Sendable safety, and modern concurrency patterns with minimal behavior changes.\n\n## When to Use\n- When the user asks to review Swift concurrency usage or fix compiler diagnostics.\n- When you need guidance on actor isolation, `Sendable`, `@MainActor`, or async migration.\n\n## Workflow\n\n### 1. Triage the issue\n\n- Capture the exact compiler diagnostics and the offending symbol(s).\n- Check project concurrency settings: Swift language version (6.2+), strict concurrency level, and whether approachable concurrency (default actor isolation \u002F main-actor-by-default) is enabled.\n- Identify the current actor context (`@MainActor`, `actor`, `nonisolated`) and whether a default actor isolation mode is enabled.\n- Confirm whether the code is UI-bound or intended to run off the main actor.\n\n### 2. Apply the smallest safe fix\n\nPrefer edits that preserve existing behavior while satisfying data-race safety.\n\nCommon fixes:\n- **UI-bound types**: annotate the type or relevant members with `@MainActor`.\n- **Protocol conformance on main actor types**: make the conformance isolated (e.g., `extension Foo: @MainActor SomeProtocol`).\n- **Global\u002Fstatic state**: protect with `@MainActor` or move into an actor.\n- **Background work**: move expensive work into a `@concurrent` async function on a `nonisolated` type or use an `actor` to guard mutable state.\n- **Sendable errors**: prefer immutable\u002Fvalue types; add `Sendable` conformance only when correct; avoid `@unchecked Sendable` unless you can prove thread safety.\n\n### 3. Verify the fix\n\n- Rebuild and confirm all concurrency diagnostics are resolved with no new warnings introduced.\n- Run the test suite to check for regressions — concurrency changes can introduce subtle runtime issues even when the build is clean.\n- If the fix surfaces new warnings, treat each one as a fresh triage (return to step 1) and resolve iteratively until the build is clean and tests pass.\n\n### Examples\n\n**UI-bound type — adding `@MainActor`**\n\n```swift\n\u002F\u002F Before: data-race warning because ViewModel is accessed from the main thread\n\u002F\u002F but has no actor isolation\nclass ViewModel: ObservableObject {\n    @Published var title: String = \"\"\n    func load() { title = \"Loaded\" }\n}\n\n\u002F\u002F After: annotate the whole type so all stored state and methods are\n\u002F\u002F automatically isolated to the main actor\n@MainActor\nclass ViewModel: ObservableObject {\n    @Published var title: String = \"\"\n    func load() { title = \"Loaded\" }\n}\n```\n\n**Protocol conformance isolation**\n\n```swift\n\u002F\u002F Before: compiler error — SomeProtocol method is nonisolated but the\n\u002F\u002F conforming type is @MainActor\n@MainActor\nclass Foo: SomeProtocol {\n    func protocolMethod() { \u002F* accesses main-actor state *\u002F }\n}\n\n\u002F\u002F After: scope the conformance to @MainActor so the requirement is\n\u002F\u002F satisfied inside the correct isolation context\n@MainActor\nextension Foo: SomeProtocol {\n    func protocolMethod() { \u002F* safely accesses main-actor state *\u002F }\n}\n```\n\n**Background work with `@concurrent`**\n\n```swift\n\u002F\u002F Before: expensive computation blocks the main actor\n@MainActor\nfunc processData(_ input: [Int]) -> [Int] {\n    input.map { heavyTransform($0) }   \u002F\u002F runs on main thread\n}\n\n\u002F\u002F After: hop off the main actor for the heavy work, then return the result\n\u002F\u002F The caller awaits the result and stays on its own actor\nnonisolated func processData(_ input: [Int]) async -> [Int] {\n    await Task.detached(priority: .userInitiated) {\n        input.map { heavyTransform($0) }\n    }.value\n}\n\n\u002F\u002F Or, using a @concurrent async function (Swift 6.2+):\n@concurrent\nfunc processData(_ input: [Int]) async -> [Int] {\n    input.map { heavyTransform($0) }\n}\n```\n\n## Reference material\n\n- See `references\u002Fswift-6-2-concurrency.md` for Swift 6.2 changes, patterns, and examples.\n- See `references\u002Fapproachable-concurrency.md` when the project is opted into approachable concurrency mode.\n- See `references\u002Fswiftui-concurrency-tour-wwdc.md` for SwiftUI-specific concurrency guidance.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# Swift Concurrency Expert\n\n## Overview\n\nReview and fix Swift Concurrency issues in Swift 6.2+ codebases by applying actor isolation, Sendable safety, and modern concurrency patterns with minimal behavior changes.\n\n## When to Use\n- When the user asks to review Swift concurrency usage or fix compiler diagnostics.\n- When you need guidance on actor isolation, `Sendable`, `@MainActor`, or async migration.\n\n## Workflow\n\n### 1. Triage the issue\n\n- Capture the exact compiler diagnostics and the offending symbol(s).\n- Check project concurrency settings: Swift language version (6.2+), strict concurrency level, and whether approachable concurrency (default actor isolation \u002F main-actor-by-default) is enabled.\n- Identify the current actor context (`@MainActor`, `actor`, `nonisolated`) and whether a default actor isolation mode is enabled.\n- Confirm whether the code is UI-bound or intended to run off the main actor.\n\n### 2. Apply the smallest safe fix\n\nPrefer edits that preserve existing behavior while satisfying data-race safety.\n\nCommon fixes:\n- **UI-bound types**: annotate the type or relevant members with `@MainActor`.\n- **Protocol conformance on main actor types**: make the conformance isolated (e.g., `extension Foo: @MainActor SomeProtocol`).\n- **Global\u002Fstatic state**: protect with `@MainActor` or move into an actor.\n- **Background work**: move expensive work into a `@concurrent` async function on a `nonisolated` type or use an `actor` to guard mutable state.\n- **Sendable errors**: prefer immutable\u002Fvalue types; add `Sendable` conformance only when correct; avoid `@unchecked Sendable` unless you can prove thread safety.\n\n### 3. Verify the fix\n\n- Rebuild and confirm all concurrency diagnostics are resolved with no new warnings introduced.\n- Run the test suite to check for regressions — concurrency changes can introduce subtle runtime issues even when the build is clean.\n- If the fix surfaces new warnings, treat each one as a fresh triage (return to step 1) and resolve iteratively until the build is clean and tests pass.\n\n### Examples\n\n**UI-bound type — adding `@MainActor`**\n\n```swift\n\u002F\u002F Before: data-race warning because ViewModel is accessed from the main thread\n\u002F\u002F but has no actor isolation\nclass ViewModel: ObservableObject {\n    @Published var title: String = \"\"\n    func load() { title = \"Loaded\" }\n}\n\n\u002F\u002F After: annotate the whole type so all stored state and methods are\n\u002F\u002F automatically isolated to the main actor\n@MainActor\nclass ViewModel: ObservableObject {\n    @Published var title: String = \"\"\n    func load() { title = \"Loaded\" }\n}\n```\n\n**Protocol conformance isolation**\n\n```swift\n\u002F\u002F Before: compiler error — SomeProtocol method is nonisolated but the\n\u002F\u002F conforming type is @MainActor\n@MainActor\nclass Foo: SomeProtocol {\n    func protocolMethod() { \u002F* accesses main-actor state *\u002F }\n}\n\n\u002F\u002F After: scope the conformance to @MainActor so the requirement is\n\u002F\u002F satisfied inside the correct isolation context\n@MainActor\nextension Foo: SomeProtocol {\n    func protocolMethod() { \u002F* safely accesses main-actor state *\u002F }\n}\n```\n\n**Background work with `@concurrent`**\n\n```swift\n\u002F\u002F Before: expensive computation blocks the main actor\n@MainActor\nfunc processData(_ input: [Int]) -> [Int] {\n    input.map { heavyTransform($0) }   \u002F\u002F runs on main thread\n}\n\n\u002F\u002F After: hop off the main actor for the heavy work, then return the result\n\u002F\u002F The caller awaits the result and stays on its own actor\nnonisolated func processData(_ input: [Int]) async -> [Int] {\n    await Task.detached(priority: .userInitiated) {\n        input.map { heavyTransform($0) }\n    }.value\n}\n\n\u002F\u002F Or, using a @concurrent async function (Swift 6.2+):\n@concurrent\nfunc processData(_ input: [Int]) async -> [Int] {\n    input.map { heavyTransform($0) }\n}\n```\n\n## Reference material\n\n- See `references\u002Fswift-6-2-concurrency.md` for Swift 6.2 changes, patterns, and examples.\n- See `references\u002Fapproachable-concurrency.md` when the project is opted into approachable concurrency mode.\n- See `references\u002Fswiftui-concurrency-tour-wwdc.md` for SwiftUI-specific concurrency guidance.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"safe","Dimillian\u002FSkills (MIT)","2026-03-25","master","877653a671c51fae6476bd9f0d34ee6c408d68b9",".github\u002Fskills\u002Fswift-concurrency-expert","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group","https:\u002F\u002Ftrivoxa-group.vercel.app","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web","2026-08-01 17:29:31",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add princepatel04477-web\u002Ftrivoxa-group --skill swift-concurrency-expert",{"tool":40,"command":41},"bunx","bunx skills add princepatel04477-web\u002Ftrivoxa-group --skill swift-concurrency-expert",{"tool":43,"command":44},"pnpm","pnpm dlx skills add princepatel04477-web\u002Ftrivoxa-group --skill swift-concurrency-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fswift-concurrency-expert\u002FSKILL.md",true,[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"agents\u002Fopenai.yaml","REFERENCE","参考文档",243,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fswift-concurrency-expert\u002Fagents\u002Fopenai.yaml",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fapproachable-concurrency.md",2471,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fswift-concurrency-expert\u002Freferences\u002Fapproachable-concurrency.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fswift-6-2-concurrency.md",10673,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fswift-concurrency-expert\u002Freferences\u002Fswift-6-2-concurrency.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fswiftui-concurrency-tour-wwdc.md",1645,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fswift-concurrency-expert\u002Freferences\u002Fswiftui-concurrency-tour-wwdc.md",[67,74,81,88,95,102],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M78G4Z5RFJ72G536XYPC77PG","zustand-store-ts","Create Zustand stores following established patterns with proper TypeScript types and middleware.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M78G4WQMHRST36KDP7AV3NR3","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M78G4T37F4SPS7M4KT0A8JJB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M78G4QAJMF71KD1G38MNDQYK","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M78G4MS3WE96MH5P561KFY95","zipai-optimizer","Adaptive token optimizer: intelligent filtering, surgical output, ambiguity-first, context-window-aware, VCS-aware, MCP-aware.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzipai-optimizer\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M78G4GZ0T47C6929V9CVH1AK","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[]]