[{"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,68,75,83,89,97],{"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":62,"licenseFileUrl":63,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":67},"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":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":67},"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":67},"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":84,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":67},"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":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":67},"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":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":67},"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",[],[]]