[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M713ZPC73NG352G1JMJ1ENCT":3,"skill-same:01M713ZPC73NG352G1JMJ1ENCT":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},"01M713ZPC73NG352G1JMJ1ENCT","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\u002Fcopilot\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\u002Fcopilot\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\u002Fcopilot\u002Fmakepad-dsl\u002FSKILL.md",true,[],[62,72,79,87,93,101],{"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":66,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":71},"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":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":71},"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":71},"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":88,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":71},"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":71},"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":71},"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",[],[]]