[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EBWEQKCWVXM8DM6CMWHEZW":3,"skill-same:01M6EBWEQKCWVXM8DM6CMWHEZW":76},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6EBWEQKCWVXM8DM6CMWHEZW","swift-concurrency",null,"Standards for async\u002Fawait, Actors, Task Groups, and MainActor. Use when implementing Swift async\u002Fawait, Actors, or structured concurrency in iOS\u002FmacOS. (triggers: **\u002F*.swift, async, await, actor, Task, MainActor)","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Fswift-concurrency\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"swift","concurrency","swift concurrency","macos","ios","use","standards","async","task","structured","triggers","2026-11-10 10:12:30",false,"---\nname: swift-concurrency\ndescription: 'Standards for async\u002Fawait, Actors, Task Groups, and MainActor. Use when implementing Swift async\u002Fawait, Actors, or structured concurrency in iOS\u002FmacOS. (triggers: **\u002F*.swift, async, await, actor, Task, MainActor)'\n---\n\n# Swift Concurrency\n\n## **Priority: P0**\n\n## Implementation Guidelines\n\n### async\u002Fawait (Structured Concurrency)\n\n- **Async Functions**: Mark with **`async`** and call with **`await`**.\n- **`async let`**: Use **`async let`** for parallel execution when multiple tasks are independent.\n- **Task Groups**: Use **`withTaskGroup`** or `withThrowingTaskGroup` for spawning a dynamic number of tasks.\n- **Error Handling**: Combine with **`throws`**. Always handle `CancellationError`.\n\n### Actors (Thread Safety)\n\n- **Data Isolation**: Use **`actor`** for shared mutable state to avoid data races.\n- **`@MainActor`**: Annotate UI classes (Views, ViewModels) with **`@MainActor`** for main thread execution. Use **`MainActor.run { ... }`** for inline UI updates in async blocks.\n- **Global Actors**: Use **`@GlobalActor`** for specific thread-bound resources.\n- **nonisolated**: Use **`nonisolated`** for methods that don't access actor state to avoid unnecessary hops.\n\n### Task Management\n\n- **Task Hierarchy**: Inherit isolation by using **`Task { ... }`**.\n- **Cancellation**: Explicitly check **`Task.isCancelled`** in long loops. Use **`try Task.checkCancellation()`** for throwing functions.\n- **Detached Tasks**: Avoid **`Task.detached`** unless you explicitly want to break context inheritance.\n\n## Anti-Patterns\n\n- **No synchronous work in @MainActor**: Do not block the main thread.\n- **No UI updates off @MainActor**: Always dispatch back to main via **`MainActor`**.\n- **No ignored cancellation**: Always check and propagate cancellation.\n\n## References\n\n- [async\u002Fawait & Actors](references\u002Fimplementation.md)\n\n","# Swift Concurrency\n\n## **Priority: P0**\n\n## Implementation Guidelines\n\n### async\u002Fawait (Structured Concurrency)\n\n- **Async Functions**: Mark with **`async`** and call with **`await`**.\n- **`async let`**: Use **`async let`** for parallel execution when multiple tasks are independent.\n- **Task Groups**: Use **`withTaskGroup`** or `withThrowingTaskGroup` for spawning a dynamic number of tasks.\n- **Error Handling**: Combine with **`throws`**. Always handle `CancellationError`.\n\n### Actors (Thread Safety)\n\n- **Data Isolation**: Use **`actor`** for shared mutable state to avoid data races.\n- **`@MainActor`**: Annotate UI classes (Views, ViewModels) with **`@MainActor`** for main thread execution. Use **`MainActor.run { ... }`** for inline UI updates in async blocks.\n- **Global Actors**: Use **`@GlobalActor`** for specific thread-bound resources.\n- **nonisolated**: Use **`nonisolated`** for methods that don't access actor state to avoid unnecessary hops.\n\n### Task Management\n\n- **Task Hierarchy**: Inherit isolation by using **`Task { ... }`**.\n- **Cancellation**: Explicitly check **`Task.isCancelled`** in long loops. Use **`try Task.checkCancellation()`** for throwing functions.\n- **Detached Tasks**: Avoid **`Task.detached`** unless you explicitly want to break context inheritance.\n\n## Anti-Patterns\n\n- **No synchronous work in @MainActor**: Do not block the main thread.\n- **No UI updates off @MainActor**: Always dispatch back to main via **`MainActor`**.\n- **No ignored cancellation**: Always check and propagate cancellation.\n\n## References\n\n- [async\u002Fawait & Actors](references\u002Fimplementation.md)\n\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Fswift-concurrency",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill swift-concurrency",{"tool":50,"command":51},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill swift-concurrency",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill swift-concurrency","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Fswift-concurrency\u002FSKILL.md",true,[58,64,70],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"LICENSE.txt","LICENSE","许可证",11345,"https:\u002F\u002Fgithub.com\u002Fa1627418541\u002F-\u002Fblob\u002Fmain\u002F.qoder\u002Fskills\u002Falgorithmic-art\u002FLICENSE.txt",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"templates\u002Fgenerator_template.js","SCRIPT","脚本",7826,"https:\u002F\u002Fgithub.com\u002Fa1627418541\u002F-\u002Fblob\u002Fmain\u002F.qoder\u002Fskills\u002Falgorithmic-art\u002Ftemplates\u002Fgenerator_template.js",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"templates\u002Fviewer.html","REFERENCE","参考文档",20844,"https:\u002F\u002Fgithub.com\u002Fa1627418541\u002F-\u002Fblob\u002Fmain\u002F.qoder\u002Fskills\u002Falgorithmic-art\u002Ftemplates\u002Fviewer.html",[77,91,101,110,116,123],{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":87,"publishedAt":30},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[82],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[88,89,90],"model","model hierarchy","model hierarchy skill",{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":97,"publishedAt":30},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[96],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},[98,99,100],"MCP","zoom","zoom mcp",{"skillNo":102,"name":103,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":30},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[107,108,109,99],"sdk","zoom apps sdk","apps",{"skillNo":111,"name":112,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":30},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[112],{"skillNo":117,"name":118,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":122,"publishedAt":30},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[121],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},[118],{"skillNo":124,"name":125,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":30},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[125]]