[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M713ZYYAHX9ZHDJFHC432R3C":3,"skill-same:01M713ZYYAHX9ZHDJFHC432R3C":65},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M713ZYYAHX9ZHDJFHC432R3C","makepad-platform",null,"CRITICAL: Use for Makepad cross-platform support. Triggers on:\nmakepad platform, makepad os, makepad macos, makepad windows, makepad linux,\nmakepad android, makepad ios, makepad web, makepad wasm, makepad metal,\nmakepad d3d11, makepad opengl, makepad webgl, OsType, CxOs,\nmakepad 跨平台, makepad 平台支持","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fmakepad-platform\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"platform","makepad platform","use","unknown","for","critical","os","triggers","cross-platform","community","android","ios","windows","web","support","linux","webgl","wasm","opengl","metal","2026-11-10 10:12:30",false,"---\nname: makepad-platform\ndescription: |\n  CRITICAL: Use for Makepad cross-platform support. Triggers on:\n  makepad platform, makepad os, makepad macos, makepad windows, makepad linux,\n  makepad android, makepad ios, makepad web, makepad wasm, makepad metal,\n  makepad d3d11, makepad opengl, makepad webgl, OsType, CxOs,\n  makepad 跨平台, makepad 平台支持\nrisk: unknown\nsource: community\n---\n\n# Makepad Platform Skill\n\n> **Version:** makepad-widgets (dev branch) | **Last Updated:** 2026-01-19\n>\n> Check for updates: https:\u002F\u002Fcrates.io\u002Fcrates\u002Fmakepad-widgets\n\nYou are an expert at Makepad cross-platform development. Help users by:\n- **Understanding platforms**: Explain supported platforms and backends\n- **Platform-specific code**: Help with conditional compilation and platform APIs\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Fplatform-support.md` - Platform details and OsType\n\n## IMPORTANT: Documentation Completeness Check\n\n**Before answering questions, Claude MUST:**\n\n1. Read the relevant reference file(s) listed above\n2. If file read fails or file is empty:\n   - Inform user: \"本地文档不完整，建议运行 `\u002Fsync-crate-skills makepad --force` 更新文档\"\n   - Still answer based on SKILL.md patterns + built-in knowledge\n3. If reference file exists, incorporate its content into the answer\n\n## Supported Platforms\n\n| Platform | Graphics Backend | OS Module |\n|----------|------------------|-----------|\n| macOS | Metal | `apple\u002Fmetal_*.rs`, `apple\u002Fcocoa_*.rs` |\n| iOS | Metal | `apple\u002Fmetal_*.rs`, `apple\u002Fios_*.rs` |\n| Windows | D3D11 | `mswindows\u002Fd3d11_*.rs`, `mswindows\u002Fwin32_*.rs` |\n| Linux | OpenGL | `linux\u002Fopengl_*.rs`, `linux\u002Fx11*.rs`, `linux\u002Fwayland*.rs` |\n| Web | WebGL2 | `web\u002F*.rs`, `web_browser\u002F*.rs` |\n| Android | OpenGL ES | `android\u002F*.rs` |\n| OpenHarmony | OHOS | `open_harmony\u002F*.rs` |\n| OpenXR | VR\u002FAR | `open_xr\u002F*.rs` |\n\n## OsType Enum\n\n```rust\npub enum OsType {\n    Unknown,\n    Windows,\n    Macos,\n    Linux { custom_window_chrome: bool },\n    Ios,\n    Android(AndroidParams),\n    OpenHarmony,\n    Web(WebParams),\n    OpenXR,\n}\n\n\u002F\u002F Check platform in code\nfn handle_event(&mut self, cx: &mut Cx, event: &Event) {\n    match cx.os_type() {\n        OsType::Macos => { \u002F* macOS-specific *\u002F }\n        OsType::Windows => { \u002F* Windows-specific *\u002F }\n        OsType::Web(_) => { \u002F* Web-specific *\u002F }\n        _ => {}\n    }\n}\n```\n\n## Platform Detection\n\n```rust\n\u002F\u002F In Cx\nimpl Cx {\n    pub fn os_type(&self) -> OsType;\n    pub fn gpu_info(&self) -> &GpuInfo;\n    pub fn xr_capabilities(&self) -> &XrCapabilities;\n    pub fn cpu_cores(&self) -> usize;\n}\n```\n\n## Conditional Compilation\n\n```rust\n\u002F\u002F Compile-time platform detection\n#[cfg(target_os = \"macos\")]\nfn macos_only() { }\n\n#[cfg(target_os = \"windows\")]\nfn windows_only() { }\n\n#[cfg(target_os = \"linux\")]\nfn linux_only() { }\n\n#[cfg(target_arch = \"wasm32\")]\nfn web_only() { }\n\n#[cfg(target_os = \"android\")]\nfn android_only() { }\n\n#[cfg(target_os = \"ios\")]\nfn ios_only() { }\n```\n\n## Platform-Specific Features\n\n### Desktop (macOS\u002FWindows\u002FLinux)\n- Window management (resize, minimize, maximize)\n- File dialogs\n- System menu\n- Drag and drop\n- Multiple monitors\n\n### Mobile (iOS\u002FAndroid)\n- Touch input\n- Virtual keyboard\n- Screen orientation\n- App lifecycle (foreground\u002Fbackground)\n\n### Web (WebGL2)\n- DOM integration\n- Browser events\n- Local storage\n- HTTP requests\n\n## Entry Point\n\n```rust\n\u002F\u002F App entry macro\napp_main!(App);\n\npub struct App {\n    ui: WidgetRef,\n}\n\nimpl LiveRegister for App {\n    fn live_register(cx: &mut Cx) {\n        \u002F\u002F Register components\n        crate::makepad_widgets::live_design(cx);\n    }\n}\n\nimpl AppMain for App {\n    fn handle_event(&mut self, cx: &mut Cx, event: &Event) {\n        \u002F\u002F Handle app events\n        self.ui.handle_event(cx, event, &mut Scope::empty());\n    }\n}\n```\n\n## When Answering Questions\n\n1. Makepad compiles to native code for each platform (no runtime interpreter)\n2. Shaders are compiled at build time for each graphics backend\n3. Platform-specific code is in `platform\u002Fsrc\u002Fos\u002F` directory\n4. Use `cx.os_type()` for runtime platform detection\n5. Use `#[cfg(target_os = \"...\")]` for compile-time platform detection\n","# Makepad Platform Skill\n\n> **Version:** makepad-widgets (dev branch) | **Last Updated:** 2026-01-19\n>\n> Check for updates: https:\u002F\u002Fcrates.io\u002Fcrates\u002Fmakepad-widgets\n\nYou are an expert at Makepad cross-platform development. Help users by:\n- **Understanding platforms**: Explain supported platforms and backends\n- **Platform-specific code**: Help with conditional compilation and platform APIs\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Fplatform-support.md` - Platform details and OsType\n\n## IMPORTANT: Documentation Completeness Check\n\n**Before answering questions, Claude MUST:**\n\n1. Read the relevant reference file(s) listed above\n2. If file read fails or file is empty:\n   - Inform user: \"本地文档不完整，建议运行 `\u002Fsync-crate-skills makepad --force` 更新文档\"\n   - Still answer based on SKILL.md patterns + built-in knowledge\n3. If reference file exists, incorporate its content into the answer\n\n## Supported Platforms\n\n| Platform | Graphics Backend | OS Module |\n|----------|------------------|-----------|\n| macOS | Metal | `apple\u002Fmetal_*.rs`, `apple\u002Fcocoa_*.rs` |\n| iOS | Metal | `apple\u002Fmetal_*.rs`, `apple\u002Fios_*.rs` |\n| Windows | D3D11 | `mswindows\u002Fd3d11_*.rs`, `mswindows\u002Fwin32_*.rs` |\n| Linux | OpenGL | `linux\u002Fopengl_*.rs`, `linux\u002Fx11*.rs`, `linux\u002Fwayland*.rs` |\n| Web | WebGL2 | `web\u002F*.rs`, `web_browser\u002F*.rs` |\n| Android | OpenGL ES | `android\u002F*.rs` |\n| OpenHarmony | OHOS | `open_harmony\u002F*.rs` |\n| OpenXR | VR\u002FAR | `open_xr\u002F*.rs` |\n\n## OsType Enum\n\n```rust\npub enum OsType {\n    Unknown,\n    Windows,\n    Macos,\n    Linux { custom_window_chrome: bool },\n    Ios,\n    Android(AndroidParams),\n    OpenHarmony,\n    Web(WebParams),\n    OpenXR,\n}\n\n\u002F\u002F Check platform in code\nfn handle_event(&mut self, cx: &mut Cx, event: &Event) {\n    match cx.os_type() {\n        OsType::Macos => { \u002F* macOS-specific *\u002F }\n        OsType::Windows => { \u002F* Windows-specific *\u002F }\n        OsType::Web(_) => { \u002F* Web-specific *\u002F }\n        _ => {}\n    }\n}\n```\n\n## Platform Detection\n\n```rust\n\u002F\u002F In Cx\nimpl Cx {\n    pub fn os_type(&self) -> OsType;\n    pub fn gpu_info(&self) -> &GpuInfo;\n    pub fn xr_capabilities(&self) -> &XrCapabilities;\n    pub fn cpu_cores(&self) -> usize;\n}\n```\n\n## Conditional Compilation\n\n```rust\n\u002F\u002F Compile-time platform detection\n#[cfg(target_os = \"macos\")]\nfn macos_only() { }\n\n#[cfg(target_os = \"windows\")]\nfn windows_only() { }\n\n#[cfg(target_os = \"linux\")]\nfn linux_only() { }\n\n#[cfg(target_arch = \"wasm32\")]\nfn web_only() { }\n\n#[cfg(target_os = \"android\")]\nfn android_only() { }\n\n#[cfg(target_os = \"ios\")]\nfn ios_only() { }\n```\n\n## Platform-Specific Features\n\n### Desktop (macOS\u002FWindows\u002FLinux)\n- Window management (resize, minimize, maximize)\n- File dialogs\n- System menu\n- Drag and drop\n- Multiple monitors\n\n### Mobile (iOS\u002FAndroid)\n- Touch input\n- Virtual keyboard\n- Screen orientation\n- App lifecycle (foreground\u002Fbackground)\n\n### Web (WebGL2)\n- DOM integration\n- Browser events\n- Local storage\n- HTTP requests\n\n## Entry Point\n\n```rust\n\u002F\u002F App entry macro\napp_main!(App);\n\npub struct App {\n    ui: WidgetRef,\n}\n\nimpl LiveRegister for App {\n    fn live_register(cx: &mut Cx) {\n        \u002F\u002F Register components\n        crate::makepad_widgets::live_design(cx);\n    }\n}\n\nimpl AppMain for App {\n    fn handle_event(&mut self, cx: &mut Cx, event: &Event) {\n        \u002F\u002F Handle app events\n        self.ui.handle_event(cx, event, &mut Scope::empty());\n    }\n}\n```\n\n## When Answering Questions\n\n1. Makepad compiles to native code for each platform (no runtime interpreter)\n2. Shaders are compiled at build time for each graphics backend\n3. Platform-specific code is in `platform\u002Fsrc\u002Fos\u002F` directory\n4. Use `cx.os_type()` for runtime platform detection\n5. Use `#[cfg(target_os = \"...\")]` for compile-time platform detection\n",{"name":5,"risk":22,"source":28,"description":44},"CRITICAL: Use for Makepad cross-platform support. Triggers on:\nmakepad platform, makepad os, makepad macos, makepad windows, makepad linux,\nmakepad android, makepad ios, makepad web, makepad wasm, makepad metal,\nmakepad d3d11, makepad opengl, makepad webgl, OsType, CxOs,\nmakepad 跨平台, makepad 平台支持\n","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Fmakepad-platform","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill makepad-platform",{"tool":57,"command":58},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill makepad-platform",{"tool":60,"command":61},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill makepad-platform","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fmakepad-platform\u002FSKILL.md",true,[],[66,76,83,91,97,105],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":75},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"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":75},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\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":70,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":75},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":92,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":75},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\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":70,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":75},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":75},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]