[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E6H0424BRFG009X844F8WN":3,"skill-same:01M7E6H0424BRFG009X844F8WN":68},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7E6H0424BRFG009X844F8WN","appkit-interop",null,"Bridge macOS SwiftUI into AppKit narrowly. Use when implementing representables, reaching NSWindow or panels, handling menus, or using the responder chain.","wxdwu\u002Fnew-api","wxdwu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F80968397?v=4","01M7E6AEMB59N90BKXD77EC83D","Xudong Wu","01M7E6AEMY2BXCDVZ9MJJHFQ4C",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fbuild-macos-apps\u002Fskills\u002Fappkit-interop\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: appkit-interop\ndescription: Bridge macOS SwiftUI into AppKit narrowly. Use when implementing representables, reaching NSWindow or panels, handling menus, or using the responder chain.\n---\n\n# AppKit Interop\n\n## Quick Start\n\nUse this skill when SwiftUI is close but not quite enough for native macOS behavior.\nKeep the bridge as small and explicit as possible. SwiftUI should usually remain\nthe source of truth, while AppKit handles the imperative edge.\n\n## Choose The Smallest Bridge\n\n- Use pure SwiftUI when the required behavior already exists in scenes, toolbars, commands, inspectors, or standard controls.\n- Use `NSViewRepresentable` when you need a specific AppKit view with lightweight lifecycle needs.\n- Use `NSViewControllerRepresentable` when you need controller lifecycle, delegation, or presentation coordination.\n- Use direct AppKit window or app hooks when you need `NSWindow`, responder-chain, menu validation, panels, or app-level behavior.\n\n## Workflow\n\n1. Name the capability gap precisely.\n   - Window behavior\n   - Text system behavior\n   - Menu validation\n   - Drag and drop\n   - File open\u002Fsave panels\n   - First responder control\n\n2. Pick the smallest boundary that solves it.\n   - Avoid porting a whole screen to AppKit when one wrapped control or coordinator would do.\n\n3. Keep ownership explicit.\n   - SwiftUI owns value state, selection, and observable models.\n   - AppKit objects stay inside the representable, coordinator, or bridge object.\n\n4. Expose a narrow interface back to SwiftUI.\n   - Bindings for editable state\n   - Small callbacks for events\n   - Focused bridge services only when necessary\n\n5. Validate lifecycle assumptions.\n   - SwiftUI may recreate representables.\n   - Coordinators exist to hold delegate and target-action glue, not as a second app architecture.\n\n## References\n\n- `references\u002Frepresentables.md`: choosing between view and view-controller wrappers, plus coordinator patterns.\n- `references\u002Fwindow-panels.md`: window access, utility windows, and open\u002Fsave panels.\n- `references\u002Fresponder-menus.md`: first responder, command routing, and menu validation.\n- `references\u002Fdrag-drop-pasteboard.md`: pasteboard, file URLs, and desktop drag\u002Fdrop edges.\n\n## Guardrails\n\n- Do not duplicate the source of truth between SwiftUI and AppKit.\n- Do not let `Coordinator` become an unstructured dumping ground.\n- Do not store long-lived `NSView` or `NSWindow` instances globally without a strong ownership reason.\n- Prefer a tiny tested bridge over rewriting the feature in raw AppKit.\n- If a pattern can remain entirely in `swiftui-patterns`, keep it there.\n\n## Output Expectations\n\nProvide:\n- the exact SwiftUI limitation being crossed\n- the smallest recommended bridge type\n- the data-flow boundary between SwiftUI and AppKit\n- the lifecycle or validation risks to watch\n","# AppKit Interop\n\n## Quick Start\n\nUse this skill when SwiftUI is close but not quite enough for native macOS behavior.\nKeep the bridge as small and explicit as possible. SwiftUI should usually remain\nthe source of truth, while AppKit handles the imperative edge.\n\n## Choose The Smallest Bridge\n\n- Use pure SwiftUI when the required behavior already exists in scenes, toolbars, commands, inspectors, or standard controls.\n- Use `NSViewRepresentable` when you need a specific AppKit view with lightweight lifecycle needs.\n- Use `NSViewControllerRepresentable` when you need controller lifecycle, delegation, or presentation coordination.\n- Use direct AppKit window or app hooks when you need `NSWindow`, responder-chain, menu validation, panels, or app-level behavior.\n\n## Workflow\n\n1. Name the capability gap precisely.\n   - Window behavior\n   - Text system behavior\n   - Menu validation\n   - Drag and drop\n   - File open\u002Fsave panels\n   - First responder control\n\n2. Pick the smallest boundary that solves it.\n   - Avoid porting a whole screen to AppKit when one wrapped control or coordinator would do.\n\n3. Keep ownership explicit.\n   - SwiftUI owns value state, selection, and observable models.\n   - AppKit objects stay inside the representable, coordinator, or bridge object.\n\n4. Expose a narrow interface back to SwiftUI.\n   - Bindings for editable state\n   - Small callbacks for events\n   - Focused bridge services only when necessary\n\n5. Validate lifecycle assumptions.\n   - SwiftUI may recreate representables.\n   - Coordinators exist to hold delegate and target-action glue, not as a second app architecture.\n\n## References\n\n- `references\u002Frepresentables.md`: choosing between view and view-controller wrappers, plus coordinator patterns.\n- `references\u002Fwindow-panels.md`: window access, utility windows, and open\u002Fsave panels.\n- `references\u002Fresponder-menus.md`: first responder, command routing, and menu validation.\n- `references\u002Fdrag-drop-pasteboard.md`: pasteboard, file URLs, and desktop drag\u002Fdrop edges.\n\n## Guardrails\n\n- Do not duplicate the source of truth between SwiftUI and AppKit.\n- Do not let `Coordinator` become an unstructured dumping ground.\n- Do not store long-lived `NSView` or `NSWindow` instances globally without a strong ownership reason.\n- Prefer a tiny tested bridge over rewriting the feature in raw AppKit.\n- If a pattern can remain entirely in `swiftui-patterns`, keep it there.\n\n## Output Expectations\n\nProvide:\n- the exact SwiftUI limitation being crossed\n- the smallest recommended bridge type\n- the data-flow boundary between SwiftUI and AppKit\n- the lifecycle or validation risks to watch\n",{"name":5,"description":7},"main","dde9a06ab10bce3fe52058c783826590231f7df3","plugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fbuild-macos-apps\u002Fskills\u002Fappkit-interop","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api","https:\u002F\u002Fgithub.com\u002Fwxdwu","24120128@bjtu.edu.cn","I am Xudong Wu，a student in beijing jiaotong University, \"I am eager to learn on GitHub and contribute my part to this community.","2026-10-05 17:26:50",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add wxdwu\u002Fnew-api --skill appkit-interop",{"tool":38,"command":39},"bunx","bunx skills add wxdwu\u002Fnew-api --skill appkit-interop",{"tool":41,"command":42},"pnpm","pnpm dlx skills add wxdwu\u002Fnew-api --skill appkit-interop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fbuild-macos-apps\u002Fskills\u002Fappkit-interop\u002FSKILL.md",true,[46,52,56,60,64],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",310,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fbuild-macos-apps\u002Fskills\u002Fappkit-interop\u002Fagents\u002Fopenai.yaml",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fdrag-drop-pasteboard.md",784,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fbuild-macos-apps\u002Fskills\u002Fappkit-interop\u002Freferences\u002Fdrag-drop-pasteboard.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Frepresentables.md",1567,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fbuild-macos-apps\u002Fskills\u002Fappkit-interop\u002Freferences\u002Frepresentables.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fresponder-menus.md",834,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fbuild-macos-apps\u002Fskills\u002Fappkit-interop\u002Freferences\u002Fresponder-menus.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fwindow-panels.md",1104,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fbuild-macos-apps\u002Fskills\u002Fappkit-interop\u002Freferences\u002Fwindow-panels.md",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7E8SVA2N0JA09RW1XJYXCWX","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzotero\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"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":82,"publishedAt":19},"01M7E8ST1FJAD5PWTW2FN1NSK0","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7E8SRW074NNNCZRCZA5T3Z1","setup-zoom-websockets","Use when building Zoom WebSockets.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"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":96,"publishedAt":19},"01M7E8SPCFMD3YVPRX2MW8X3RA","setup-zoom-webhooks","Use when building Zoom webhooks.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fwebhooks\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7E8SMCH4RPCX8YSBNGWQCMP","zoom-virtual-agent-web","Zoom Virtual Agent SDK for web embeds. Use for campaign or entry ID chat launch, event-driven controls, user context updates, and CSP-safe deployment.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fvirtual-agent\u002Fweb\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7E8SJCAY323E36Z8SAP8H4M","zoom-virtual-agent-ios","Zoom Virtual Agent iOS integration via WKWebView. Use for Swift\u002FObjective-C script injection, message handlers, support_handoff relay, and URL routing policies.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fvirtual-agent\u002Fios\u002FSKILL.md",[],[]]