[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72BCH7YCQWHZHXDG0DJF8MY":3,"skill-same:01M72BCH7YCQWHZHXDG0DJF8MY":83},{"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":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M72BCH7YCQWHZHXDG0DJF8MY","swiftdata-pro",null,"Writes, reviews, and improves SwiftData code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use SwiftData.","guhans6\u002Fagent-workbench","guhans6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104162539?v=4","01M72B46KNSP1Y4W32NAP9HSCS","Guhan","01M72B46MCE81N1B04M3PWX3P7",0,"MIT","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: swiftdata-pro\ndescription: Writes, reviews, and improves SwiftData code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use SwiftData.\nlicense: MIT\nmetadata:\n  author: Paul Hudson\n  version: \"1.0\"\n---\n\nWrite and review SwiftData code for correctness, modern API usage, and adherence to project conventions. Report only genuine problems - do not nitpick or invent issues.\n\nReview process:\n\n1. Check for core SwiftData issues using `references\u002Fcore-rules.md`.\n1. Check that predicates are safe and supported using `references\u002Fpredicates.md`.\n1. If the project uses CloudKit, check for CloudKit-specific constraints using `references\u002Fcloudkit.md`.\n1. If the project targets iOS 18+, check for indexing opportunities using `references\u002Findexing.md`.\n1. If the project targets iOS 26+, check for class inheritance patterns using `references\u002Fclass-inheritance.md`.\n\nIf doing partial work, load only the relevant reference files.\n\n\n## Core Instructions\n\n- Target Swift 6.2 or later, using modern Swift concurrency.\n- The user strongly prefers to use SwiftData across the board. Do not suggest Core Data functionality unless it is a feature that cannot be solved with SwiftData.\n- Do not introduce third-party frameworks without asking first.\n- Use a consistent project structure, with folder layout determined by app features.\n\n\n## Output Format\n\nIf the user asks for a review, organize findings by file. For each issue:\n\n1. State the file and relevant line(s).\n2. Name the rule being violated.\n3. Show a brief before\u002Fafter code fix.\n\nSkip files with no issues. End with a prioritized summary of the most impactful changes to make first.\n\nIf the user asks you to write or improve code, follow the same rules above but make the changes directly instead of returning a findings report.\n\nExample output:\n\n### Destination.swift\n\n**Line 8: Add an explicit delete rule for relationships.**\n\n```swift\n\u002F\u002F Before\nvar sights: [Sight]\n\n\u002F\u002F After\n@Relationship(deleteRule: .cascade, inverse: \\Sight.destination) var sights: [Sight]\n```\n\n**Line 22: Do not use `isEmpty == false` in predicates – it crashes at runtime. Use `!` instead.**\n\n```swift\n\u002F\u002F Before\n#Predicate\u003CDestination> { $0.sights.isEmpty == false }\n\n\u002F\u002F After\n#Predicate\u003CDestination> { !$0.sights.isEmpty }\n```\n\n### DestinationListView.swift\n\n**Line 5: `@Query` must only be used inside SwiftUI views.**\n\n```swift\n\u002F\u002F Before\nclass DestinationStore {\n    @Query var destinations: [Destination]\n}\n\n\u002F\u002F After\nclass DestinationStore {\n    var modelContext: ModelContext\n\n    func fetchDestinations() throws -> [Destination] {\n        try modelContext.fetch(FetchDescriptor\u003CDestination>())\n    }\n}\n```\n\n### Summary\n\n1. **Data loss (high):** Missing delete rule on line 8 of Destination.swift means sights will be orphaned when a destination is deleted.\n2. **Crash (high):** `isEmpty == false` on line 22 will crash at runtime – use `!isEmpty` instead.\n3. **Incorrect behavior (high):** `@Query` on line 5 of DestinationListView.swift only works inside SwiftUI views.\n\nEnd of example.\n\n\n## References\n\n- `references\u002Fcore-rules.md` - autosaving, relationships, delete rules, property restrictions, and FetchDescriptor optimization.\n- `references\u002Fpredicates.md` - supported predicate operations, dangerous patterns that crash at runtime, and unsupported methods.\n- `references\u002Fcloudkit.md` - CloudKit-specific constraints including uniqueness, optionality, and eventual consistency.\n- `references\u002Findexing.md` - database indexing for iOS 18+, including single and compound property indexes.\n- `references\u002Fclass-inheritance.md` - model subclassing for iOS 26+, including @available requirements, schema setup, and predicate filtering.\n","Write and review SwiftData code for correctness, modern API usage, and adherence to project conventions. Report only genuine problems - do not nitpick or invent issues.\n\nReview process:\n\n1. Check for core SwiftData issues using `references\u002Fcore-rules.md`.\n1. Check that predicates are safe and supported using `references\u002Fpredicates.md`.\n1. If the project uses CloudKit, check for CloudKit-specific constraints using `references\u002Fcloudkit.md`.\n1. If the project targets iOS 18+, check for indexing opportunities using `references\u002Findexing.md`.\n1. If the project targets iOS 26+, check for class inheritance patterns using `references\u002Fclass-inheritance.md`.\n\nIf doing partial work, load only the relevant reference files.\n\n\n## Core Instructions\n\n- Target Swift 6.2 or later, using modern Swift concurrency.\n- The user strongly prefers to use SwiftData across the board. Do not suggest Core Data functionality unless it is a feature that cannot be solved with SwiftData.\n- Do not introduce third-party frameworks without asking first.\n- Use a consistent project structure, with folder layout determined by app features.\n\n\n## Output Format\n\nIf the user asks for a review, organize findings by file. For each issue:\n\n1. State the file and relevant line(s).\n2. Name the rule being violated.\n3. Show a brief before\u002Fafter code fix.\n\nSkip files with no issues. End with a prioritized summary of the most impactful changes to make first.\n\nIf the user asks you to write or improve code, follow the same rules above but make the changes directly instead of returning a findings report.\n\nExample output:\n\n### Destination.swift\n\n**Line 8: Add an explicit delete rule for relationships.**\n\n```swift\n\u002F\u002F Before\nvar sights: [Sight]\n\n\u002F\u002F After\n@Relationship(deleteRule: .cascade, inverse: \\Sight.destination) var sights: [Sight]\n```\n\n**Line 22: Do not use `isEmpty == false` in predicates – it crashes at runtime. Use `!` instead.**\n\n```swift\n\u002F\u002F Before\n#Predicate\u003CDestination> { $0.sights.isEmpty == false }\n\n\u002F\u002F After\n#Predicate\u003CDestination> { !$0.sights.isEmpty }\n```\n\n### DestinationListView.swift\n\n**Line 5: `@Query` must only be used inside SwiftUI views.**\n\n```swift\n\u002F\u002F Before\nclass DestinationStore {\n    @Query var destinations: [Destination]\n}\n\n\u002F\u002F After\nclass DestinationStore {\n    var modelContext: ModelContext\n\n    func fetchDestinations() throws -> [Destination] {\n        try modelContext.fetch(FetchDescriptor\u003CDestination>())\n    }\n}\n```\n\n### Summary\n\n1. **Data loss (high):** Missing delete rule on line 8 of Destination.swift means sights will be orphaned when a destination is deleted.\n2. **Crash (high):** `isEmpty == false` on line 22 will crash at runtime – use `!isEmpty` instead.\n3. **Incorrect behavior (high):** `@Query` on line 5 of DestinationListView.swift only works inside SwiftUI views.\n\nEnd of example.\n\n\n## References\n\n- `references\u002Fcore-rules.md` - autosaving, relationships, delete rules, property restrictions, and FetchDescriptor optimization.\n- `references\u002Fpredicates.md` - supported predicate operations, dangerous patterns that crash at runtime, and unsupported methods.\n- `references\u002Fcloudkit.md` - CloudKit-specific constraints including uniqueness, optionality, and eventual consistency.\n- `references\u002Findexing.md` - database indexing for iOS 18+, including single and compound property indexes.\n- `references\u002Fclass-inheritance.md` - model subclassing for iOS 26+, including @available requirements, schema setup, and predicate filtering.\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"version":26},"Paul Hudson","1.0","main","46b2e9493d75c07ea357cf5ac24ec104afb55500","shared\u002Fskills\u002Fswiftdata-pro","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench","https:\u002F\u002Fgithub.com\u002Fguhans6","2026-10-11 17:12:57",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add guhans6\u002Fagent-workbench --skill swiftdata-pro",{"tool":39,"command":40},"bunx","bunx skills add guhans6\u002Fagent-workbench --skill swiftdata-pro",{"tool":42,"command":43},"pnpm","pnpm dlx skills add guhans6\u002Fagent-workbench --skill swiftdata-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002FSKILL.md",true,[47,53,59,63,67,71,75,79],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",340,"https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"assets\u002Fswiftdata-pro-icon.png","ASSET","资产文件",3033,"https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002Fassets\u002Fswiftdata-pro-icon.png",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"assets\u002Fswiftdata-pro-icon.svg",1539,"https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002Fassets\u002Fswiftdata-pro-icon.svg",{"path":64,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fclass-inheritance.md",3804,"https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002Freferences\u002Fclass-inheritance.md",{"path":68,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fcloudkit.md",662,"https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002Freferences\u002Fcloudkit.md",{"path":72,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fcore-rules.md",3977,"https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002Freferences\u002Fcore-rules.md",{"path":76,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Findexing.md",800,"https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002Freferences\u002Findexing.md",{"path":80,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fpredicates.md",2454,"https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftdata-pro\u002Freferences\u002Fpredicates.md",[84,93,101,109,117,124],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M72BDFZ4DSFCX7RHGN6NTMMB","winui-app","Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fwinui-app\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fwinui-app\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M72BD9EFCTBR28FEBJQQRVS8","vercel-deploy","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fvercel-deploy\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M72BD5GWQYR251PE9T29GXFR","transcribe","Transcribe audio files to text with optional diarization and known-speaker hints. Use when a user asks to transcribe speech from audio\u002Fvideo, extract text from recordings, or label speakers in interviews or meetings.","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Ftranscribe\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Ftranscribe\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M72BD2GFD6AS2J1J24940AN4","to-tickets","Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fto-tickets\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fto-tickets\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M72BCN5R8AD3FQKFXRXKETJC","swiftui-pro","Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftui-pro\u002Fskills\u002Fswiftui-pro\u002FSKILL.md",[],[],{"skillNo":125,"name":119,"nameZh":6,"description":120,"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":19},"01M72BCJXF6ZWD25F8FGASNSAK","https:\u002F\u002Fgithub.com\u002Fguhans6\u002Fagent-workbench\u002Fblob\u002Fmain\u002Fshared\u002Fskills\u002Fswiftui-pro\u002FSKILL.md",[],[]]