[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M716GWEX974A244C52AXXDM8":3,"skill-same:01M716GWEX974A244C52AXXDM8":62},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M716GWEX974A244C52AXXDM8","makepad-layout",null,"CRITICAL: Use for Makepad layout system. Triggers on:\nmakepad layout, makepad width, makepad height, makepad flex,\nmakepad padding, makepad margin, makepad flow, makepad align,\nFit, Fill, Size, Walk, \"how to center in makepad\",\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-layout\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"makepad layout","layout","fill","flow","unknown","for","size","how to","fit","critical","triggers","align","community","use","margin","system","how","2026-11-10 10:12:30",false,"---\nname: makepad-layout\ndescription: |\n  CRITICAL: Use for Makepad layout system. Triggers on:\n  makepad layout, makepad width, makepad height, makepad flex,\n  makepad padding, makepad margin, makepad flow, makepad align,\n  Fit, Fill, Size, Walk, \"how to center in makepad\",\n  makepad 布局, makepad 宽度, makepad 对齐, makepad 居中\nrisk: unknown\nsource: community\n---\n\n# Makepad Layout 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 layout system. Help users by:\n- **Writing code**: Generate layout code following the patterns below\n- **Answering questions**: Explain layout concepts, sizing, flow directions\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Flayout-system.md` - Complete layout reference\n- `.\u002Freferences\u002Fcore-types.md` - Walk, Align, Margin, Padding types\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 Layout Container\n\n```rust\n\u003CView> {\n    width: Fill\n    height: Fill\n    flow: Down\n    padding: 16.0\n    spacing: 8.0\n\n    \u003CLabel> { text: \"Item 1\" }\n    \u003CLabel> { text: \"Item 2\" }\n}\n```\n\n### 2. Centering Content\n\n```rust\n\u003CView> {\n    width: Fill\n    height: Fill\n    align: { x: 0.5, y: 0.5 }\n\n    \u003CLabel> { text: \"Centered\" }\n}\n```\n\n### 3. Horizontal Row Layout\n\n```rust\n\u003CView> {\n    width: Fill\n    height: Fit\n    flow: Right\n    spacing: 10.0\n    align: { y: 0.5 }  \u002F\u002F Vertically center items\n\n    \u003CButton> { text: \"Left\" }\n    \u003CView> { width: Fill }  \u002F\u002F Spacer\n    \u003CButton> { text: \"Right\" }\n}\n```\n\n### 4. Fixed + Flexible Layout\n\n```rust\n\u003CView> {\n    width: Fill\n    height: Fill\n    flow: Down\n\n    \u002F\u002F Fixed header\n    \u003CView> {\n        width: Fill\n        height: 60.0\n    }\n\n    \u002F\u002F Flexible content\n    \u003CView> {\n        width: Fill\n        height: Fill  \u002F\u002F Takes remaining space\n    }\n}\n```\n\n## Layout Properties Reference\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `width` | Size | Width of element |\n| `height` | Size | Height of element |\n| `padding` | Padding | Inner spacing |\n| `margin` | Margin | Outer spacing |\n| `flow` | Flow | Child layout direction |\n| `spacing` | f64 | Gap between children |\n| `align` | Align | Child alignment |\n| `clip_x` | bool | Clip horizontal overflow |\n| `clip_y` | bool | Clip vertical overflow |\n\n## Size Values\n\n| Value | Description |\n|-------|-------------|\n| `Fit` | Size to fit content |\n| `Fill` | Fill available space |\n| `100.0` | Fixed size in pixels |\n| `Fixed(100.0)` | Explicit fixed size |\n\n## Flow Directions\n\n| Value | Description |\n|-------|-------------|\n| `Down` | Top to bottom (column) |\n| `Right` | Left to right (row) |\n| `Overlay` | Stack on top |\n\n## Align Values\n\n| Value | Position |\n|-------|----------|\n| `{ x: 0.0, y: 0.0 }` | Top-left |\n| `{ x: 0.5, y: 0.0 }` | Top-center |\n| `{ x: 1.0, y: 0.0 }` | Top-right |\n| `{ x: 0.0, y: 0.5 }` | Middle-left |\n| `{ x: 0.5, y: 0.5 }` | Center |\n| `{ x: 1.0, y: 0.5 }` | Middle-right |\n| `{ x: 0.0, y: 1.0 }` | Bottom-left |\n| `{ x: 0.5, y: 1.0 }` | Bottom-center |\n| `{ x: 1.0, y: 1.0 }` | Bottom-right |\n\n## Box Model\n\n```\n+---------------------------+\n|         margin            |\n|  +---------------------+  |\n|  |      padding        |  |\n|  |  +---------------+  |  |\n|  |  |   content     |  |  |\n|  |  +---------------+  |  |\n|  +---------------------+  |\n+---------------------------+\n```\n\n## When Writing Code\n\n1. Use `Fill` for flexible containers, `Fit` for content-sized elements\n2. Set `flow: Down` for vertical, `flow: Right` for horizontal\n3. Use empty `\u003CView> { width: Fill }` as spacer in row layouts\n4. Always set explicit dimensions on fixed-size elements\n5. Use `align` to position children within container\n\n## When Answering Questions\n\n1. Makepad uses a \"turtle\" layout model - elements laid out sequentially\n2. `Fill` takes all available space, `Fit` shrinks to content\n3. Unlike CSS flexbox, there's no flex-grow\u002Fshrink - use Fill\u002FFit\n4. Alignment applies to children, not the element itself\n","# Makepad Layout 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 layout system. Help users by:\n- **Writing code**: Generate layout code following the patterns below\n- **Answering questions**: Explain layout concepts, sizing, flow directions\n\n## Documentation\n\nRefer to the local files for detailed documentation:\n- `.\u002Freferences\u002Flayout-system.md` - Complete layout reference\n- `.\u002Freferences\u002Fcore-types.md` - Walk, Align, Margin, Padding types\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 Layout Container\n\n```rust\n\u003CView> {\n    width: Fill\n    height: Fill\n    flow: Down\n    padding: 16.0\n    spacing: 8.0\n\n    \u003CLabel> { text: \"Item 1\" }\n    \u003CLabel> { text: \"Item 2\" }\n}\n```\n\n### 2. Centering Content\n\n```rust\n\u003CView> {\n    width: Fill\n    height: Fill\n    align: { x: 0.5, y: 0.5 }\n\n    \u003CLabel> { text: \"Centered\" }\n}\n```\n\n### 3. Horizontal Row Layout\n\n```rust\n\u003CView> {\n    width: Fill\n    height: Fit\n    flow: Right\n    spacing: 10.0\n    align: { y: 0.5 }  \u002F\u002F Vertically center items\n\n    \u003CButton> { text: \"Left\" }\n    \u003CView> { width: Fill }  \u002F\u002F Spacer\n    \u003CButton> { text: \"Right\" }\n}\n```\n\n### 4. Fixed + Flexible Layout\n\n```rust\n\u003CView> {\n    width: Fill\n    height: Fill\n    flow: Down\n\n    \u002F\u002F Fixed header\n    \u003CView> {\n        width: Fill\n        height: 60.0\n    }\n\n    \u002F\u002F Flexible content\n    \u003CView> {\n        width: Fill\n        height: Fill  \u002F\u002F Takes remaining space\n    }\n}\n```\n\n## Layout Properties Reference\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `width` | Size | Width of element |\n| `height` | Size | Height of element |\n| `padding` | Padding | Inner spacing |\n| `margin` | Margin | Outer spacing |\n| `flow` | Flow | Child layout direction |\n| `spacing` | f64 | Gap between children |\n| `align` | Align | Child alignment |\n| `clip_x` | bool | Clip horizontal overflow |\n| `clip_y` | bool | Clip vertical overflow |\n\n## Size Values\n\n| Value | Description |\n|-------|-------------|\n| `Fit` | Size to fit content |\n| `Fill` | Fill available space |\n| `100.0` | Fixed size in pixels |\n| `Fixed(100.0)` | Explicit fixed size |\n\n## Flow Directions\n\n| Value | Description |\n|-------|-------------|\n| `Down` | Top to bottom (column) |\n| `Right` | Left to right (row) |\n| `Overlay` | Stack on top |\n\n## Align Values\n\n| Value | Position |\n|-------|----------|\n| `{ x: 0.0, y: 0.0 }` | Top-left |\n| `{ x: 0.5, y: 0.0 }` | Top-center |\n| `{ x: 1.0, y: 0.0 }` | Top-right |\n| `{ x: 0.0, y: 0.5 }` | Middle-left |\n| `{ x: 0.5, y: 0.5 }` | Center |\n| `{ x: 1.0, y: 0.5 }` | Middle-right |\n| `{ x: 0.0, y: 1.0 }` | Bottom-left |\n| `{ x: 0.5, y: 1.0 }` | Bottom-center |\n| `{ x: 1.0, y: 1.0 }` | Bottom-right |\n\n## Box Model\n\n```\n+---------------------------+\n|         margin            |\n|  +---------------------+  |\n|  |      padding        |  |\n|  |  +---------------+  |  |\n|  |  |   content     |  |  |\n|  |  +---------------+  |  |\n|  +---------------------+  |\n+---------------------------+\n```\n\n## When Writing Code\n\n1. Use `Fill` for flexible containers, `Fit` for content-sized elements\n2. Set `flow: Down` for vertical, `flow: Right` for horizontal\n3. Use empty `\u003CView> { width: Fill }` as spacer in row layouts\n4. Always set explicit dimensions on fixed-size elements\n5. Use `align` to position children within container\n\n## When Answering Questions\n\n1. Makepad uses a \"turtle\" layout model - elements laid out sequentially\n2. `Fill` takes all available space, `Fit` shrinks to content\n3. Unlike CSS flexbox, there's no flex-grow\u002Fshrink - use Fill\u002FFit\n4. Alignment applies to children, not the element itself\n",{"name":5,"risk":23,"source":31,"description":41},"CRITICAL: Use for Makepad layout system. Triggers on:\nmakepad layout, makepad width, makepad height, makepad flex,\nmakepad padding, makepad margin, makepad flow, makepad align,\nFit, Fill, Size, Walk, \"how to center in makepad\",\nmakepad 布局, makepad 宽度, makepad 对齐, makepad 居中\n","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcursor\u002Fmakepad-layout","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill makepad-layout",{"tool":54,"command":55},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill makepad-layout",{"tool":57,"command":58},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill makepad-layout","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fmakepad-layout\u002FSKILL.md",true,[],[63,73,80,88,94,102],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":72},"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":72},"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":89,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":72},"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":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":72},"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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":72},"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",[],[]]