[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EWY30ZT2GN44DWD2JM3R8K":3,"skill-same:01M6EWY30ZT2GN44DWD2JM3R8K":64},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6EWY30ZT2GN44DWD2JM3R8K","liquid-glass",null,"Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in SwiftUI UI, refactor to Liquid Glass, or review Liquid Glass usage.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fpatrickserrano\u002Fliquid-glass\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"liquid glass","review","implement","ui","ios","refactor","api","improve","swiftui","use","adopt","2026-11-10 10:12:30",false,"---\nname: liquid-glass\ndescription: Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in SwiftUI UI, refactor to Liquid Glass, or review Liquid Glass usage.\n---\n\n# SwiftUI Liquid Glass\n\n## Overview\n\nLiquid Glass is a dynamic material in iOS 26+ that combines optical glass properties with fluidity. It blurs content, reflects surrounding color and light, and reacts to touch interactions in real time.\n\n## Workflow Decision Tree\n\n### 1) Review an existing feature\n- Inspect where Liquid Glass should\u002Fshouldn't be used\n- Verify correct modifier order, shape usage, container placement\n- Check for iOS 26+ availability handling and fallbacks\n\n### 2) Improve a feature using Liquid Glass\n- Identify target components (surfaces, chips, buttons, cards)\n- Refactor to use `GlassEffectContainer` for multiple glass elements\n- Add interactive glass only for tappable\u002Ffocusable elements\n\n### 3) Implement a new feature using Liquid Glass\n- Design glass surfaces and interactions first (shape, prominence, grouping)\n- Add glass modifiers after layout\u002Fappearance modifiers\n- Add morphing transitions only when view hierarchy changes with animation\n\n## Core Guidelines\n\n- Prefer native Liquid Glass APIs over custom blurs\n- Use `GlassEffectContainer` when multiple glass elements coexist\n- Apply `.glassEffect(...)` after layout and visual modifiers\n- Use `.interactive()` for elements that respond to touch\u002Fpointer\n- Keep shapes consistent across related elements\n- Gate with `#available(iOS 26, *)` and provide non-glass fallback\n\n## Review Checklist\n\n- [ ] **Availability**: `#available(iOS 26, *)` present with fallback UI\n- [ ] **Composition**: Multiple glass views wrapped in `GlassEffectContainer`\n- [ ] **Modifier order**: `glassEffect` applied after layout\u002Fappearance modifiers\n- [ ] **Interactivity**: `interactive()` only where user interaction exists\n- [ ] **Transitions**: `glassEffectID` used with `@Namespace` for morphing\n- [ ] **Consistency**: Shapes, tinting, and spacing align across feature\n\n## Implementation Checklist\n\n- [ ] Define target elements and desired glass prominence\n- [ ] Wrap grouped glass elements in `GlassEffectContainer` with spacing\n- [ ] Use `.glassEffect(.regular.tint(...).interactive(), in: .rect(cornerRadius: ...))` as needed\n- [ ] Use `.buttonStyle(.glass)` \u002F `.buttonStyle(.glassProminent)` for actions\n- [ ] Add morphing transitions with `glassEffectID` when hierarchy changes\n- [ ] Provide fallback materials for earlier iOS versions\n\n## Quick Snippets\n\n### Basic Glass Effect with Fallback\n```swift\nif #available(iOS 26, *) {\n    Text(\"Hello\")\n        .padding()\n        .glassEffect(.regular.interactive(), in: .rect(cornerRadius: 16))\n} else {\n    Text(\"Hello\")\n        .padding()\n        .background(.ultraThinMaterial, in: RoundedRectangle(cornerRadius: 16))\n}\n```\n\n### Multiple Glass Elements\n```swift\nGlassEffectContainer(spacing: 24) {\n    HStack(spacing: 24) {\n        Image(systemName: \"scribble.variable\")\n            .frame(width: 72, height: 72)\n            .font(.system(size: 32))\n            .glassEffect()\n        Image(systemName: \"eraser.fill\")\n            .frame(width: 72, height: 72)\n            .font(.system(size: 32))\n            .glassEffect()\n    }\n}\n```\n\n### Glass Buttons\n```swift\nButton(\"Confirm\") { }\n    .buttonStyle(.glassProminent)\n\nButton(\"Cancel\") { }\n    .buttonStyle(.glass)\n```\n\n### Morphing Transitions\n```swift\n@State private var isExpanded = false\n@Namespace private var namespace\n\nGlassEffectContainer(spacing: 40) {\n    HStack(spacing: 40) {\n        Image(systemName: \"pencil\")\n            .frame(width: 80, height: 80)\n            .glassEffect()\n            .glassEffectID(\"pencil\", in: namespace)\n\n        if isExpanded {\n            Image(systemName: \"eraser\")\n                .frame(width: 80, height: 80)\n                .glassEffect()\n                .glassEffectID(\"eraser\", in: namespace)\n        }\n    }\n}\n\nButton(\"Toggle\") {\n    withAnimation {\n        isExpanded.toggle()\n    }\n}\n.buttonStyle(.glass)\n```\n\n### Customizing Glass\n```swift\nText(\"Tinted Glass\")\n    .padding()\n    .glassEffect(.regular.tint(.orange).interactive(), in: .capsule)\n```\n\n### Uniting Glass Effects\n```swift\n@Namespace private var namespace\n\nGlassEffectContainer(spacing: 20) {\n    HStack(spacing: 20) {\n        ForEach(items.indices, id: \\.self) { index in\n            ItemView(item: items[index])\n                .glassEffect()\n                .glassEffectUnion(id: index \u003C 2 ? \"group1\" : \"group2\", namespace: namespace)\n        }\n    }\n}\n```\n\n## Shape Options\n\n- `.capsule` (default)\n- `.rect(cornerRadius: CGFloat)`\n- `.circle`\n\n## Best Practices\n\n1. **Container Usage**: Always use `GlassEffectContainer` for multiple glass views\n2. **Modifier Order**: Apply `.glassEffect()` after appearance modifiers\n3. **Spacing**: Choose spacing values carefully to control effect merging\n4. **Animation**: Use animations when changing view hierarchies for smooth morphing\n5. **Interactivity**: Add `.interactive()` only to touchable elements\n6. **Consistency**: Maintain consistent shapes and styles across your app\n","# SwiftUI Liquid Glass\n\n## Overview\n\nLiquid Glass is a dynamic material in iOS 26+ that combines optical glass properties with fluidity. It blurs content, reflects surrounding color and light, and reacts to touch interactions in real time.\n\n## Workflow Decision Tree\n\n### 1) Review an existing feature\n- Inspect where Liquid Glass should\u002Fshouldn't be used\n- Verify correct modifier order, shape usage, container placement\n- Check for iOS 26+ availability handling and fallbacks\n\n### 2) Improve a feature using Liquid Glass\n- Identify target components (surfaces, chips, buttons, cards)\n- Refactor to use `GlassEffectContainer` for multiple glass elements\n- Add interactive glass only for tappable\u002Ffocusable elements\n\n### 3) Implement a new feature using Liquid Glass\n- Design glass surfaces and interactions first (shape, prominence, grouping)\n- Add glass modifiers after layout\u002Fappearance modifiers\n- Add morphing transitions only when view hierarchy changes with animation\n\n## Core Guidelines\n\n- Prefer native Liquid Glass APIs over custom blurs\n- Use `GlassEffectContainer` when multiple glass elements coexist\n- Apply `.glassEffect(...)` after layout and visual modifiers\n- Use `.interactive()` for elements that respond to touch\u002Fpointer\n- Keep shapes consistent across related elements\n- Gate with `#available(iOS 26, *)` and provide non-glass fallback\n\n## Review Checklist\n\n- [ ] **Availability**: `#available(iOS 26, *)` present with fallback UI\n- [ ] **Composition**: Multiple glass views wrapped in `GlassEffectContainer`\n- [ ] **Modifier order**: `glassEffect` applied after layout\u002Fappearance modifiers\n- [ ] **Interactivity**: `interactive()` only where user interaction exists\n- [ ] **Transitions**: `glassEffectID` used with `@Namespace` for morphing\n- [ ] **Consistency**: Shapes, tinting, and spacing align across feature\n\n## Implementation Checklist\n\n- [ ] Define target elements and desired glass prominence\n- [ ] Wrap grouped glass elements in `GlassEffectContainer` with spacing\n- [ ] Use `.glassEffect(.regular.tint(...).interactive(), in: .rect(cornerRadius: ...))` as needed\n- [ ] Use `.buttonStyle(.glass)` \u002F `.buttonStyle(.glassProminent)` for actions\n- [ ] Add morphing transitions with `glassEffectID` when hierarchy changes\n- [ ] Provide fallback materials for earlier iOS versions\n\n## Quick Snippets\n\n### Basic Glass Effect with Fallback\n```swift\nif #available(iOS 26, *) {\n    Text(\"Hello\")\n        .padding()\n        .glassEffect(.regular.interactive(), in: .rect(cornerRadius: 16))\n} else {\n    Text(\"Hello\")\n        .padding()\n        .background(.ultraThinMaterial, in: RoundedRectangle(cornerRadius: 16))\n}\n```\n\n### Multiple Glass Elements\n```swift\nGlassEffectContainer(spacing: 24) {\n    HStack(spacing: 24) {\n        Image(systemName: \"scribble.variable\")\n            .frame(width: 72, height: 72)\n            .font(.system(size: 32))\n            .glassEffect()\n        Image(systemName: \"eraser.fill\")\n            .frame(width: 72, height: 72)\n            .font(.system(size: 32))\n            .glassEffect()\n    }\n}\n```\n\n### Glass Buttons\n```swift\nButton(\"Confirm\") { }\n    .buttonStyle(.glassProminent)\n\nButton(\"Cancel\") { }\n    .buttonStyle(.glass)\n```\n\n### Morphing Transitions\n```swift\n@State private var isExpanded = false\n@Namespace private var namespace\n\nGlassEffectContainer(spacing: 40) {\n    HStack(spacing: 40) {\n        Image(systemName: \"pencil\")\n            .frame(width: 80, height: 80)\n            .glassEffect()\n            .glassEffectID(\"pencil\", in: namespace)\n\n        if isExpanded {\n            Image(systemName: \"eraser\")\n                .frame(width: 80, height: 80)\n                .glassEffect()\n                .glassEffectID(\"eraser\", in: namespace)\n        }\n    }\n}\n\nButton(\"Toggle\") {\n    withAnimation {\n        isExpanded.toggle()\n    }\n}\n.buttonStyle(.glass)\n```\n\n### Customizing Glass\n```swift\nText(\"Tinted Glass\")\n    .padding()\n    .glassEffect(.regular.tint(.orange).interactive(), in: .capsule)\n```\n\n### Uniting Glass Effects\n```swift\n@Namespace private var namespace\n\nGlassEffectContainer(spacing: 20) {\n    HStack(spacing: 20) {\n        ForEach(items.indices, id: \\.self) { index in\n            ItemView(item: items[index])\n                .glassEffect()\n                .glassEffectUnion(id: index \u003C 2 ? \"group1\" : \"group2\", namespace: namespace)\n        }\n    }\n}\n```\n\n## Shape Options\n\n- `.capsule` (default)\n- `.rect(cornerRadius: CGFloat)`\n- `.circle`\n\n## Best Practices\n\n1. **Container Usage**: Always use `GlassEffectContainer` for multiple glass views\n2. **Modifier Order**: Apply `.glassEffect()` after appearance modifiers\n3. **Spacing**: Choose spacing values carefully to control effect merging\n4. **Animation**: Use animations when changing view hierarchies for smooth morphing\n5. **Interactivity**: Add `.interactive()` only to touchable elements\n6. **Consistency**: Maintain consistent shapes and styles across your app\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fpatrickserrano\u002Fliquid-glass",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill liquid-glass",{"tool":50,"command":51},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill liquid-glass",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill liquid-glass","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fpatrickserrano\u002Fliquid-glass\u002FSKILL.md",true,[58],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"skill-report.json","REFERENCE","参考文档",8655,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fpatrickserrano\u002Fliquid-glass\u002Fskill-report.json",[65,74,83,92,98,104],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":30},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[71,72,73],"model","model hierarchy","model hierarchy skill",{"skillNo":75,"name":76,"nameZh":6,"description":6,"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":30},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[80,81,82],"MCP","zoom","zoom mcp",{"skillNo":84,"name":85,"nameZh":6,"description":6,"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":30},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[89,90,91,81],"sdk","zoom apps sdk","apps",{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":30},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[94],{"skillNo":99,"name":100,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":30},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[100],{"skillNo":105,"name":106,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":30},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[106]]