[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7140502M3Z95FHSTME5NCBQ":3,"skill-same:01M7140502M3Z95FHSTME5NCBQ":57},{"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":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":14,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M7140502M3Z95FHSTME5NCBQ","makepad-splash",null,"CRITICAL: Use for Makepad Splash scripting language. Triggers on:\nsplash language, makepad script, makepad scripting, script!, cx.eval,\nmakepad dynamic, makepad AI, splash 语言, 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-splash\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30],"makepad splash","splash","scripting","eval","use","community","language","triggers","critical","script","for","unknown","2026-11-10 10:12:30",false,"---\nname: makepad-splash\ndescription: |\n  CRITICAL: Use for Makepad Splash scripting language. Triggers on:\n  splash language, makepad script, makepad scripting, script!, cx.eval,\n  makepad dynamic, makepad AI, splash 语言, makepad 脚本\nrisk: unknown\nsource: community\n---\n\n# Makepad Splash 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 Splash scripting language. Help users by:\n- **Writing Splash scripts**: Dynamic UI and workflow automation\n- **Understanding Splash**: Purpose, syntax, and capabilities\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Fsplash-tutorial.md` - Splash language tutorial\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## What is Splash?\n\nSplash is Makepad's dynamic scripting language designed for:\n- AI-assisted workflows\n- Dynamic UI generation\n- Rapid prototyping\n- HTTP requests and async operations\n\n## Script Macro\n\n```rust\n\u002F\u002F Embed Splash code in Rust\nscript!{\n    fn main() {\n        let x = 10;\n        console.log(\"Hello from Splash!\");\n    }\n}\n```\n\n## Execution\n\n```rust\n\u002F\u002F Evaluate Splash code at runtime\ncx.eval(code_string);\n\n\u002F\u002F With context\ncx.eval_with_context(code, context);\n```\n\n## Basic Syntax\n\n### Variables\n\n```splash\nlet x = 10;\nlet name = \"Makepad\";\nlet items = [1, 2, 3];\nlet config = { width: 100, height: 50 };\n```\n\n### Functions\n\n```splash\nfn add(a, b) {\n    return a + b;\n}\n\nfn greet(name) {\n    console.log(\"Hello, \" + name);\n}\n```\n\n### Control Flow\n\n```splash\n\u002F\u002F If-else\nif x > 10 {\n    console.log(\"big\");\n} else {\n    console.log(\"small\");\n}\n\n\u002F\u002F Loops\nfor i in 0..10 {\n    console.log(i);\n}\n\nwhile condition {\n    \u002F\u002F ...\n}\n```\n\n## Built-in Objects\n\n### console\n\n```splash\nconsole.log(\"Message\");\nconsole.warn(\"Warning\");\nconsole.error(\"Error\");\n```\n\n### http\n\n```splash\n\u002F\u002F GET request\nlet response = http.get(\"https:\u002F\u002Fapi.example.com\u002Fdata\");\n\n\u002F\u002F POST request\nlet response = http.post(\"https:\u002F\u002Fapi.example.com\u002Fdata\", {\n    body: { key: \"value\" }\n});\n```\n\n### timer\n\n```splash\n\u002F\u002F Set timeout\ntimer.set(1000, fn() {\n    console.log(\"1 second passed\");\n});\n\n\u002F\u002F Set interval\nlet id = timer.interval(500, fn() {\n    console.log(\"tick\");\n});\n\n\u002F\u002F Clear timer\ntimer.clear(id);\n```\n\n## Widget Interaction\n\n```splash\n\u002F\u002F Access widgets\nlet button = ui.widget(\"my_button\");\nbutton.set_text(\"Click Me\");\nbutton.set_visible(true);\n\n\u002F\u002F Listen to events\nbutton.on_click(fn() {\n    console.log(\"Button clicked!\");\n});\n```\n\n## Async Operations\n\n```splash\n\u002F\u002F Async function\nasync fn fetch_data() {\n    let response = await http.get(\"https:\u002F\u002Fapi.example.com\");\n    return response.json();\n}\n\n\u002F\u002F Call async\nfetch_data().then(fn(data) {\n    console.log(data);\n});\n```\n\n## AI Workflow Integration\n\nSplash is designed for AI-assisted development:\n\n```splash\n\u002F\u002F Dynamic UI generation\nfn create_form(fields) {\n    let form = ui.create(\"View\");\n    for field in fields {\n        let input = ui.create(\"TextInput\");\n        input.set_label(field.label);\n        form.add_child(input);\n    }\n    return form;\n}\n\n\u002F\u002F AI can generate this dynamically\ncreate_form([\n    { label: \"Name\" },\n    { label: \"Email\" },\n    { label: \"Message\" }\n]);\n```\n\n## Use Cases\n\n1. **Rapid Prototyping**: Quickly test UI layouts without recompilation\n2. **AI Agents**: Let AI generate and modify UI dynamically\n3. **Configuration**: Runtime configuration of app behavior\n4. **Scripted Workflows**: Automate repetitive tasks\n5. **Plugin System**: Extend app functionality with scripts\n\n## When Answering Questions\n\n1. Splash is for dynamic\u002Fruntime scripting, not core app logic\n2. Use Rust for performance-critical code, Splash for flexibility\n3. Splash syntax is similar to JavaScript\u002FRust hybrid\n4. Scripts run in a sandboxed environment\n5. HTTP and timer APIs enable async operations\n","# Makepad Splash 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 Splash scripting language. Help users by:\n- **Writing Splash scripts**: Dynamic UI and workflow automation\n- **Understanding Splash**: Purpose, syntax, and capabilities\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Fsplash-tutorial.md` - Splash language tutorial\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## What is Splash?\n\nSplash is Makepad's dynamic scripting language designed for:\n- AI-assisted workflows\n- Dynamic UI generation\n- Rapid prototyping\n- HTTP requests and async operations\n\n## Script Macro\n\n```rust\n\u002F\u002F Embed Splash code in Rust\nscript!{\n    fn main() {\n        let x = 10;\n        console.log(\"Hello from Splash!\");\n    }\n}\n```\n\n## Execution\n\n```rust\n\u002F\u002F Evaluate Splash code at runtime\ncx.eval(code_string);\n\n\u002F\u002F With context\ncx.eval_with_context(code, context);\n```\n\n## Basic Syntax\n\n### Variables\n\n```splash\nlet x = 10;\nlet name = \"Makepad\";\nlet items = [1, 2, 3];\nlet config = { width: 100, height: 50 };\n```\n\n### Functions\n\n```splash\nfn add(a, b) {\n    return a + b;\n}\n\nfn greet(name) {\n    console.log(\"Hello, \" + name);\n}\n```\n\n### Control Flow\n\n```splash\n\u002F\u002F If-else\nif x > 10 {\n    console.log(\"big\");\n} else {\n    console.log(\"small\");\n}\n\n\u002F\u002F Loops\nfor i in 0..10 {\n    console.log(i);\n}\n\nwhile condition {\n    \u002F\u002F ...\n}\n```\n\n## Built-in Objects\n\n### console\n\n```splash\nconsole.log(\"Message\");\nconsole.warn(\"Warning\");\nconsole.error(\"Error\");\n```\n\n### http\n\n```splash\n\u002F\u002F GET request\nlet response = http.get(\"https:\u002F\u002Fapi.example.com\u002Fdata\");\n\n\u002F\u002F POST request\nlet response = http.post(\"https:\u002F\u002Fapi.example.com\u002Fdata\", {\n    body: { key: \"value\" }\n});\n```\n\n### timer\n\n```splash\n\u002F\u002F Set timeout\ntimer.set(1000, fn() {\n    console.log(\"1 second passed\");\n});\n\n\u002F\u002F Set interval\nlet id = timer.interval(500, fn() {\n    console.log(\"tick\");\n});\n\n\u002F\u002F Clear timer\ntimer.clear(id);\n```\n\n## Widget Interaction\n\n```splash\n\u002F\u002F Access widgets\nlet button = ui.widget(\"my_button\");\nbutton.set_text(\"Click Me\");\nbutton.set_visible(true);\n\n\u002F\u002F Listen to events\nbutton.on_click(fn() {\n    console.log(\"Button clicked!\");\n});\n```\n\n## Async Operations\n\n```splash\n\u002F\u002F Async function\nasync fn fetch_data() {\n    let response = await http.get(\"https:\u002F\u002Fapi.example.com\");\n    return response.json();\n}\n\n\u002F\u002F Call async\nfetch_data().then(fn(data) {\n    console.log(data);\n});\n```\n\n## AI Workflow Integration\n\nSplash is designed for AI-assisted development:\n\n```splash\n\u002F\u002F Dynamic UI generation\nfn create_form(fields) {\n    let form = ui.create(\"View\");\n    for field in fields {\n        let input = ui.create(\"TextInput\");\n        input.set_label(field.label);\n        form.add_child(input);\n    }\n    return form;\n}\n\n\u002F\u002F AI can generate this dynamically\ncreate_form([\n    { label: \"Name\" },\n    { label: \"Email\" },\n    { label: \"Message\" }\n]);\n```\n\n## Use Cases\n\n1. **Rapid Prototyping**: Quickly test UI layouts without recompilation\n2. **AI Agents**: Let AI generate and modify UI dynamically\n3. **Configuration**: Runtime configuration of app behavior\n4. **Scripted Workflows**: Automate repetitive tasks\n5. **Plugin System**: Extend app functionality with scripts\n\n## When Answering Questions\n\n1. Splash is for dynamic\u002Fruntime scripting, not core app logic\n2. Use Rust for performance-critical code, Splash for flexibility\n3. Splash syntax is similar to JavaScript\u002FRust hybrid\n4. Scripts run in a sandboxed environment\n5. HTTP and timer APIs enable async operations\n",{"name":5,"risk":30,"source":24,"description":36},"CRITICAL: Use for Makepad Splash scripting language. Triggers on:\nsplash language, makepad script, makepad scripting, script!, cx.eval,\nmakepad dynamic, makepad AI, splash 语言, makepad 脚本\n","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Fmakepad-splash","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill makepad-splash",{"tool":49,"command":50},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill makepad-splash",{"tool":52,"command":53},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill makepad-splash","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fmakepad-splash\u002FSKILL.md",true,[],[58,82,108,118,131,150],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":69,"publishedAt":31},"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",[64],{"categoryNo":65,"categoryName":66,"taxonomyType":67,"taxonomyTypeDesc":68},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[70,71,72,73,74,75,76,77,78,79,80,81],"wechat search","wechat","search","capabilities","openclaw","design","web search","compliance","web","official","fetch","with",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":31},"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",[],[89,90,91,92,93,94,72,95,96,97,98,99,100,101,102,103,104,105,106,107],"trend","trend tap","tap","api keys","Bash","time","trending","hacker","aggregator","do","when","brew","live","data","google","install","read","across","api",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":31},"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",[],[115,116,89,100,101,102,103,93,72,105,117,106,107,99,97,96,95,104,94,92],"trend radar","radar","pulse",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":31},"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",[],[125,126,127,128,129,130],"news","tech","tech news daily","daily","rss","翻译",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":142,"publishedAt":31},"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",[137],{"categoryNo":138,"categoryName":139,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000021","资料检索与研究","SCENARIO","使用场景",[133,78,143,144,145,81,100,146,147,148,91,149,104],"Audio","cli","youtube","images","https","files","pdfs",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":31},"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",[],[152,157,158,159,104,160,147,161,162,163,164,165],"status","play","go","latest","github","discover","control","cmd","volume"]