[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M716GP3CJX9PZ395KDYA3ABG":3,"skill-same:01M716GP3CJX9PZ395KDYA3ABG":61},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":14,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M716GP3CJX9PZ395KDYA3ABG","makepad-dsl",null,"CRITICAL: Use for Makepad DSL syntax and inheritance. Triggers on:\nmakepad dsl, live_design, makepad inheritance, makepad prototype,\n\"\u003CWidget>\", \"Foo = { }\", makepad object, makepad property,\nmakepad DSL 语法, 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-dsl\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"makepad dsl","dsl","design","prototype","syntax","use","community","widget","inheritance","live","triggers","critical","object","for","unknown","foo","2026-11-10 10:12:30",false,"---\nname: makepad-dsl\ndescription: |\n  CRITICAL: Use for Makepad DSL syntax and inheritance. Triggers on:\n  makepad dsl, live_design, makepad inheritance, makepad prototype,\n  \"\u003CWidget>\", \"Foo = { }\", makepad object, makepad property,\n  makepad DSL 语法, makepad 继承, makepad 原型, 如何定义 makepad 组件\nrisk: unknown\nsource: community\n---\n\n# Makepad DSL 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 DSL. Help users by:\n- **Writing code**: Generate DSL code following the patterns below\n- **Answering questions**: Explain DSL syntax, inheritance, property overriding\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Fdsl-syntax.md` - Complete DSL syntax reference\n- `.\u002Freferences\u002Finheritance.md` - Inheritance patterns and examples\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. Anonymous Object\n\n```rust\n{\n    width: 100.0\n    height: 50.0\n    color: #FF0000\n}\n```\n\n### 2. Named Object (Prototype)\n\n```rust\nMyButton = {\n    width: Fit\n    height: 40.0\n    padding: 10.0\n    draw_bg: { color: #333333 }\n}\n```\n\n### 3. Inheritance with Override\n\n```rust\nPrimaryButton = \u003CMyButton> {\n    draw_bg: { color: #0066CC }  \u002F\u002F Override parent color\n    draw_text: { color: #FFFFFF }  \u002F\u002F Add new property\n}\n```\n\n### 4. Widget Instantiation\n\n```rust\n\u003CView> {\n    \u002F\u002F Inherits from View prototype\n    width: Fill\n    height: Fill\n\n    \u003CButton> { text: \"Click Me\" }  \u002F\u002F Child widget\n    \u003CLabel> { text: \"Hello\" }      \u002F\u002F Another child\n}\n```\n\n### 5. Linking Rust Struct to DSL\n\n```rust\n\u002F\u002F In live_design!\nMyWidget = {{MyWidget}} {\n    \u002F\u002F DSL properties\n    width: 100.0\n}\n\n\u002F\u002F In Rust\n#[derive(Live, LiveHook, Widget)]\npub struct MyWidget {\n    #[deref] view: View,\n    #[live] width: f64,\n}\n```\n\n## DSL Syntax Reference\n\n| Syntax | Description | Example |\n|--------|-------------|---------|\n| `{ ... }` | Anonymous object | `{ width: 100.0 }` |\n| `Name = { ... }` | Named prototype | `MyStyle = { color: #FFF }` |\n| `\u003CName> { ... }` | Inherit from prototype | `\u003CMyStyle> { size: 10.0 }` |\n| `{{RustType}}` | Link to Rust struct | `App = {{App}} { ... }` |\n| `name = \u003CWidget>` | Named child widget | `btn = \u003CButton> { }` |\n| `dep(\"...\")` | Resource dependency | `dep(\"crate:\u002F\u002Fself\u002Fimg.png\")` |\n\n## Property Types\n\n| Type | Example | Description |\n|------|---------|-------------|\n| Number | `width: 100.0` | Float value |\n| Color | `color: #FF0000FF` | RGBA hex color |\n| String | `text: \"Hello\"` | Text string |\n| Enum | `flow: Down` | Enum variant |\n| Size | `width: Fit` | Fit, Fill, or numeric |\n| Object | `padding: { top: 10.0 }` | Nested object |\n| Array | `labels: [\"A\", \"B\"]` | List of values |\n\n## Inheritance Rules\n\n1. **Eager Copy**: All parent properties are copied immediately\n2. **Override**: Child can override any parent property\n3. **Extend**: Child can add new properties\n4. **Nested Override**: Override nested objects partially\n\n```rust\nParent = {\n    a: 1\n    nested: { x: 10, y: 20 }\n}\n\nChild = \u003CParent> {\n    a: 2              \u002F\u002F Override a\n    b: 3              \u002F\u002F Add new property\n    nested: { x: 30 } \u002F\u002F Override only x, y remains 20\n}\n```\n\n## When Writing Code\n\n1. Use `\u003CWidget>` syntax to inherit from built-in widgets\n2. Define reusable styles as named prototypes\n3. Use `{{RustType}}` to link DSL to Rust structs\n4. Override only properties that need to change\n5. Use meaningful names for child widget references\n\n## When Answering Questions\n\n1. Explain inheritance as \"eager copy\" - properties are copied at definition time\n2. Emphasize that DSL is embedded in Rust via `live_design!` macro\n3. Highlight that changes to DSL are live-reloaded without recompilation\n4. Distinguish between named objects (prototypes) and widget instances\n","# Makepad DSL 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 DSL. Help users by:\n- **Writing code**: Generate DSL code following the patterns below\n- **Answering questions**: Explain DSL syntax, inheritance, property overriding\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Fdsl-syntax.md` - Complete DSL syntax reference\n- `.\u002Freferences\u002Finheritance.md` - Inheritance patterns and examples\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. Anonymous Object\n\n```rust\n{\n    width: 100.0\n    height: 50.0\n    color: #FF0000\n}\n```\n\n### 2. Named Object (Prototype)\n\n```rust\nMyButton = {\n    width: Fit\n    height: 40.0\n    padding: 10.0\n    draw_bg: { color: #333333 }\n}\n```\n\n### 3. Inheritance with Override\n\n```rust\nPrimaryButton = \u003CMyButton> {\n    draw_bg: { color: #0066CC }  \u002F\u002F Override parent color\n    draw_text: { color: #FFFFFF }  \u002F\u002F Add new property\n}\n```\n\n### 4. Widget Instantiation\n\n```rust\n\u003CView> {\n    \u002F\u002F Inherits from View prototype\n    width: Fill\n    height: Fill\n\n    \u003CButton> { text: \"Click Me\" }  \u002F\u002F Child widget\n    \u003CLabel> { text: \"Hello\" }      \u002F\u002F Another child\n}\n```\n\n### 5. Linking Rust Struct to DSL\n\n```rust\n\u002F\u002F In live_design!\nMyWidget = {{MyWidget}} {\n    \u002F\u002F DSL properties\n    width: 100.0\n}\n\n\u002F\u002F In Rust\n#[derive(Live, LiveHook, Widget)]\npub struct MyWidget {\n    #[deref] view: View,\n    #[live] width: f64,\n}\n```\n\n## DSL Syntax Reference\n\n| Syntax | Description | Example |\n|--------|-------------|---------|\n| `{ ... }` | Anonymous object | `{ width: 100.0 }` |\n| `Name = { ... }` | Named prototype | `MyStyle = { color: #FFF }` |\n| `\u003CName> { ... }` | Inherit from prototype | `\u003CMyStyle> { size: 10.0 }` |\n| `{{RustType}}` | Link to Rust struct | `App = {{App}} { ... }` |\n| `name = \u003CWidget>` | Named child widget | `btn = \u003CButton> { }` |\n| `dep(\"...\")` | Resource dependency | `dep(\"crate:\u002F\u002Fself\u002Fimg.png\")` |\n\n## Property Types\n\n| Type | Example | Description |\n|------|---------|-------------|\n| Number | `width: 100.0` | Float value |\n| Color | `color: #FF0000FF` | RGBA hex color |\n| String | `text: \"Hello\"` | Text string |\n| Enum | `flow: Down` | Enum variant |\n| Size | `width: Fit` | Fit, Fill, or numeric |\n| Object | `padding: { top: 10.0 }` | Nested object |\n| Array | `labels: [\"A\", \"B\"]` | List of values |\n\n## Inheritance Rules\n\n1. **Eager Copy**: All parent properties are copied immediately\n2. **Override**: Child can override any parent property\n3. **Extend**: Child can add new properties\n4. **Nested Override**: Override nested objects partially\n\n```rust\nParent = {\n    a: 1\n    nested: { x: 10, y: 20 }\n}\n\nChild = \u003CParent> {\n    a: 2              \u002F\u002F Override a\n    b: 3              \u002F\u002F Add new property\n    nested: { x: 30 } \u002F\u002F Override only x, y remains 20\n}\n```\n\n## When Writing Code\n\n1. Use `\u003CWidget>` syntax to inherit from built-in widgets\n2. Define reusable styles as named prototypes\n3. Use `{{RustType}}` to link DSL to Rust structs\n4. Override only properties that need to change\n5. Use meaningful names for child widget references\n\n## When Answering Questions\n\n1. Explain inheritance as \"eager copy\" - properties are copied at definition time\n2. Emphasize that DSL is embedded in Rust via `live_design!` macro\n3. Highlight that changes to DSL are live-reloaded without recompilation\n4. Distinguish between named objects (prototypes) and widget instances\n",{"name":5,"risk":33,"source":25,"description":40},"CRITICAL: Use for Makepad DSL syntax and inheritance. Triggers on:\nmakepad dsl, live_design, makepad inheritance, makepad prototype,\n\"\u003CWidget>\", \"Foo = { }\", makepad object, makepad property,\nmakepad DSL 语法, makepad 继承, makepad 原型, 如何定义 makepad 组件\n","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcursor\u002Fmakepad-dsl","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill makepad-dsl",{"tool":53,"command":54},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill makepad-dsl",{"tool":56,"command":57},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill makepad-dsl","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fmakepad-dsl\u002FSKILL.md",true,[],[62,85,110,120,133,152],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":73,"publishedAt":35},"01M71ATQRKG48SH06FQ697T5G9","wechat-search","Search WeChat Official Account articles using OpenClaw's web search and fetch capabilities with compliance-focused design.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fwechat-search-release\u002FSKILL.md",[68],{"categoryNo":69,"categoryName":70,"taxonomyType":71,"taxonomyTypeDesc":72},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[74,75,76,77,78,21,79,80,81,82,83,84],"wechat search","wechat","search","capabilities","openclaw","web search","compliance","web","official","fetch","with",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":35},"01M71ATNAVGZB35PFYM2GC5N00","trend-tap","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend tap', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-tap\u002FSKILL.md",[],[92,93,94,95,96,97,76,98,99,100,101,102,103,28,104,105,106,107,108,109],"trend","trend tap","tap","api keys","Bash","time","trending","hacker","aggregator","do","when","brew","data","google","install","read","across","api",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":35},"01M71ATJ9AM5KM15AA8PS302EB","trend-radar","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend pulse', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-radar\u002FSKILL.md",[],[117,118,92,103,28,104,105,96,76,107,119,108,109,102,100,99,98,106,97,95],"trend radar","radar","pulse",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":35},"01M71ATGF095N3EJM9G8SD0BB5","tech-news-daily","每日科技新闻汇——从全球多个 RSS 源抓取最新科技新闻，翻译（英→中）、去重、排版成每日简报。当用户询问科技新闻、科技新鲜事、每日科技、技术动态、Daily Tech News 或类似表达时触发此技能。","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftech-news-daily\u002FSKILL.md",[],[127,128,129,130,131,132],"news","tech","tech news daily","daily","rss","翻译",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":144,"publishedAt":35},"01M71ATFAEAMQ17M70NQNY7SR8","summarize","Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsummarize\u002FSKILL.md",[139],{"categoryNo":140,"categoryName":141,"taxonomyType":142,"taxonomyTypeDesc":143},"01JBSEEDCAT000000000000021","资料检索与研究","SCENARIO","使用场景",[135,81,145,146,147,84,103,148,149,150,94,151,106],"Audio","cli","youtube","images","https","files","pdfs",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":35},"01M71ATDNS3R0M4H936PACQAWZ","sonoscli","Control Sonos speakers (discover\u002Fstatus\u002Fplay\u002Fvolume\u002Fgroup).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsonoscli\u002FSKILL.md",[],[154,159,160,161,106,162,149,163,164,165,166,167],"status","play","go","latest","github","discover","control","cmd","volume"]