[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M716GHE4P1XZG24ZM670795E":3,"skill-same:01M716GHE4P1XZG24ZM670795E":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":31,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M716GHE4P1XZG24ZM670795E","makepad-basics",null,"CRITICAL: Use for Makepad getting started and app structure. Triggers on:\nmakepad, makepad getting started, makepad tutorial, live_design!, app_main!,\nmakepad project setup, makepad hello world, \"how to create makepad app\",\nmakepad 入门, 创建 makepad 应用, makepad 教程, 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\u002Fcursor\u002Fmakepad-basics\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"basics","makepad basics","world","unknown","for","how to","critical","app","triggers","project","structure","design","main","use","tutorial","getting started","how","create","github","hello world","2026-11-10 10:12:30",false,"---\nname: makepad-basics\ndescription: |\n  CRITICAL: Use for Makepad getting started and app structure. Triggers on:\n  makepad, makepad getting started, makepad tutorial, live_design!, app_main!,\n  makepad project setup, makepad hello world, \"how to create makepad app\",\n  makepad 入门, 创建 makepad 应用, makepad 教程, makepad 项目结构\nrisk: unknown\nsource: \"https:\u002F\u002Fgithub.com\u002Fmakepad\u002Fmakepad\"\n---\n\n# Makepad Basics 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 the Rust `makepad-widgets` crate. Help users by:\n- **Writing code**: Generate Rust code following the patterns below\n- **Answering questions**: Explain concepts, troubleshoot issues, reference documentation\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Fapp-structure.md` - Complete app boilerplate and structure\n- `.\u002Freferences\u002Fevent-handling.md` - Event handling patterns\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## Key Patterns\n\n### 1. Basic App Structure\n\n```rust\nuse makepad_widgets::*;\n\nlive_design! {\n    use link::theme::*;\n    use link::shaders::*;\n    use link::widgets::*;\n\n    App = {{App}} {\n        ui: \u003CRoot> {\n            main_window = \u003CWindow> {\n                body = \u003CView> {\n                    width: Fill, height: Fill\n                    flow: Down\n\n                    \u003CLabel> { text: \"Hello Makepad!\" }\n                }\n            }\n        }\n    }\n}\n\napp_main!(App);\n\n#[derive(Live, LiveHook)]\npub struct App {\n    #[live] ui: WidgetRef,\n}\n\nimpl LiveRegister for App {\n    fn live_register(cx: &mut Cx) {\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        self.ui.handle_event(cx, event, &mut Scope::empty());\n    }\n}\n```\n\n### 2. Cargo.toml Setup\n\n```toml\n[package]\nname = \"my_app\"\nversion = \"0.1.0\"\nedition = \"2024\"\n\n[dependencies]\nmakepad-widgets = { git = \"https:\u002F\u002Fgithub.com\u002Fmakepad\u002Fmakepad\", branch = \"dev\" }\n```\n\n### 3. Handling Button Clicks\n\n```rust\nimpl AppMain for App {\n    fn handle_event(&mut self, cx: &mut Cx, event: &Event) {\n        let actions = self.ui.handle_event(cx, event, &mut Scope::empty());\n\n        if self.ui.button(id!(my_button)).clicked(&actions) {\n            log!(\"Button clicked!\");\n        }\n    }\n}\n```\n\n### 4. Accessing and Modifying Widgets\n\n```rust\n\u002F\u002F Get widget references\nlet label = self.ui.label(id!(my_label));\nlabel.set_text(\"Updated text\");\n\nlet input = self.ui.text_input(id!(my_input));\nlet text = input.text();\n```\n\n## API Reference Table\n\n| Macro\u002FType | Description | Example |\n|------------|-------------|---------|\n| `live_design!` | Defines UI in DSL | `live_design! { App = {{App}} { ... } }` |\n| `app_main!` | Entry point macro | `app_main!(App);` |\n| `#[derive(Live)]` | Derive live data | `#[derive(Live, LiveHook)]` |\n| `WidgetRef` | Reference to UI tree | `#[live] ui: WidgetRef` |\n| `Cx` | Context for rendering | `fn handle_event(&mut self, cx: &mut Cx, ...)` |\n| `id!()` | Widget ID macro | `self.ui.button(id!(my_button))` |\n\n## Platform Setup\n\n| Platform | Requirements |\n|----------|--------------|\n| macOS | Works out of the box |\n| Windows | Works out of the box |\n| Linux | `apt-get install clang libaudio-dev libpulse-dev libx11-dev libxcursor-dev` |\n| Web | `cargo install wasm-pack` |\n\n## When Writing Code\n\n1. Always include required imports: `use makepad_widgets::*;`\n2. Use `live_design!` macro for all UI definitions\n3. Implement `LiveRegister` and `AppMain` traits\n4. Use `id!()` macro for widget references\n5. Handle events through `handle_event` method\n\n## When Answering Questions\n\n1. Emphasize live design - changes in DSL reflect instantly without recompilation\n2. Makepad is GPU-first - all rendering is shader-based\n3. Cross-platform: same code runs on Android, iOS, Linux, macOS, Windows, Web\n4. Recommend UI Zoo example for widget exploration\n","# Makepad Basics 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 the Rust `makepad-widgets` crate. Help users by:\n- **Writing code**: Generate Rust code following the patterns below\n- **Answering questions**: Explain concepts, troubleshoot issues, reference documentation\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Fapp-structure.md` - Complete app boilerplate and structure\n- `.\u002Freferences\u002Fevent-handling.md` - Event handling patterns\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## Key Patterns\n\n### 1. Basic App Structure\n\n```rust\nuse makepad_widgets::*;\n\nlive_design! {\n    use link::theme::*;\n    use link::shaders::*;\n    use link::widgets::*;\n\n    App = {{App}} {\n        ui: \u003CRoot> {\n            main_window = \u003CWindow> {\n                body = \u003CView> {\n                    width: Fill, height: Fill\n                    flow: Down\n\n                    \u003CLabel> { text: \"Hello Makepad!\" }\n                }\n            }\n        }\n    }\n}\n\napp_main!(App);\n\n#[derive(Live, LiveHook)]\npub struct App {\n    #[live] ui: WidgetRef,\n}\n\nimpl LiveRegister for App {\n    fn live_register(cx: &mut Cx) {\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        self.ui.handle_event(cx, event, &mut Scope::empty());\n    }\n}\n```\n\n### 2. Cargo.toml Setup\n\n```toml\n[package]\nname = \"my_app\"\nversion = \"0.1.0\"\nedition = \"2024\"\n\n[dependencies]\nmakepad-widgets = { git = \"https:\u002F\u002Fgithub.com\u002Fmakepad\u002Fmakepad\", branch = \"dev\" }\n```\n\n### 3. Handling Button Clicks\n\n```rust\nimpl AppMain for App {\n    fn handle_event(&mut self, cx: &mut Cx, event: &Event) {\n        let actions = self.ui.handle_event(cx, event, &mut Scope::empty());\n\n        if self.ui.button(id!(my_button)).clicked(&actions) {\n            log!(\"Button clicked!\");\n        }\n    }\n}\n```\n\n### 4. Accessing and Modifying Widgets\n\n```rust\n\u002F\u002F Get widget references\nlet label = self.ui.label(id!(my_label));\nlabel.set_text(\"Updated text\");\n\nlet input = self.ui.text_input(id!(my_input));\nlet text = input.text();\n```\n\n## API Reference Table\n\n| Macro\u002FType | Description | Example |\n|------------|-------------|---------|\n| `live_design!` | Defines UI in DSL | `live_design! { App = {{App}} { ... } }` |\n| `app_main!` | Entry point macro | `app_main!(App);` |\n| `#[derive(Live)]` | Derive live data | `#[derive(Live, LiveHook)]` |\n| `WidgetRef` | Reference to UI tree | `#[live] ui: WidgetRef` |\n| `Cx` | Context for rendering | `fn handle_event(&mut self, cx: &mut Cx, ...)` |\n| `id!()` | Widget ID macro | `self.ui.button(id!(my_button))` |\n\n## Platform Setup\n\n| Platform | Requirements |\n|----------|--------------|\n| macOS | Works out of the box |\n| Windows | Works out of the box |\n| Linux | `apt-get install clang libaudio-dev libpulse-dev libx11-dev libxcursor-dev` |\n| Web | `cargo install wasm-pack` |\n\n## When Writing Code\n\n1. Always include required imports: `use makepad_widgets::*;`\n2. Use `live_design!` macro for all UI definitions\n3. Implement `LiveRegister` and `AppMain` traits\n4. Use `id!()` macro for widget references\n5. Handle events through `handle_event` method\n\n## When Answering Questions\n\n1. Emphasize live design - changes in DSL reflect instantly without recompilation\n2. Makepad is GPU-first - all rendering is shader-based\n3. Cross-platform: same code runs on Android, iOS, Linux, macOS, Windows, Web\n4. Recommend UI Zoo example for widget exploration\n",{"name":5,"risk":22,"source":44,"description":45},"https:\u002F\u002Fgithub.com\u002Fmakepad\u002Fmakepad","CRITICAL: Use for Makepad getting started and app structure. Triggers on:\nmakepad, makepad getting started, makepad tutorial, live_design!, app_main!,\nmakepad project setup, makepad hello world, \"how to create makepad app\",\nmakepad 入门, 创建 makepad 应用, makepad 教程, makepad 项目结构\n","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcursor\u002Fmakepad-basics","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-basics",{"tool":57,"command":58},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill makepad-basics",{"tool":60,"command":61},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill makepad-basics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fmakepad-basics\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",[],[]]