[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71TD7534CEXM9Z0JR5QW9ZM":3,"skill-same:01M71TD7534CEXM9Z0JR5QW9ZM":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":13,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M71TD7534CEXM9Z0JR5QW9ZM","swiftui-expert-skill",null,"Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption. Use when buil...","javiertarazon\u002Fide-agente-free-jt7-","javiertarazon","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153141207?v=4","01M71R52TB3S9HXKH6WSNT8A7V","01M71R52VG5KS2DKDDH4GDQ30A",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-\u002Fblob\u002Frelease\u002Fv4.2.11-panel-pro\u002F.github\u002Fskills\u002Fswiftui-expert-skill\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"swiftui expert skill","swiftui","swiftui expert","expert","view","tree","swift","safe","write","concurrency","review","code","liquid glass","when","modern","main","improve","performance","swift concurrency","Composition","2026-11-10 13:02:02",false,"---\nname: swiftui-expert-skill\ndescription: \"Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption. Use when buil...\"\nsource: \"https:\u002F\u002Fgithub.com\u002FAvdLee\u002FSwiftUI-Agent-Skill\u002Ftree\u002Fmain\u002Fswiftui-expert-skill\"\nrisk: safe\n---\n\n# SwiftUI Expert Skill\n\n## Overview\nUse this skill to build, review, or improve SwiftUI features with correct state management, modern API usage, Swift concurrency best practices, optimal view composition, and iOS 26+ Liquid Glass styling. Prioritize native APIs, Apple design guidance, and performance-conscious patterns. This skill focuses on facts and best practices without enforcing specific architectural patterns.\n\n## When to Use This Skill\n\nUse this skill when:\n- Building new SwiftUI features\n- Refactoring existing SwiftUI views\n- Reviewing SwiftUI code quality\n- Adopting modern SwiftUI patterns\n- Working with SwiftUI state management\n- Implementing iOS 26+ Liquid Glass styling\n\n## Workflow Decision Tree\n\n### 1) Review existing SwiftUI code\n- Check property wrapper usage against the selection guide (see `references\u002Fstate-management.md`)\n- Verify modern API usage (see `references\u002Fmodern-apis.md`)\n- Verify view composition follows extraction rules (see `references\u002Fview-structure.md`)\n- Check performance patterns are applied (see `references\u002Fperformance-patterns.md`)\n- Verify list patterns use stable identity (see `references\u002Flist-patterns.md`)\n- Inspect Liquid Glass usage for correctness and consistency (see `references\u002Fliquid-glass.md`)\n- Validate iOS 26+ availability handling with sensible fallbacks\n\n### 2) Improve existing SwiftUI code\n- Audit state management for correct wrapper selection (prefer `@Observable` over `ObservableObject`)\n- Replace deprecated APIs with modern equivalents (see `references\u002Fmodern-apis.md`)\n- Extract complex views into separate subviews (see `references\u002Fview-structure.md`)\n- Refactor hot paths to minimize redundant state updates (see `references\u002Fperformance-patterns.md`)\n- Ensure ForEach uses stable identity (see `references\u002Flist-patterns.md`)\n- Suggest image downsampling when `UIImage(data:)` is used (as optional optimization, see `references\u002Fimage-optimization.md`)\n- Adopt Liquid Glass only when explicitly requested by the user\n\n### 3) Implement new SwiftUI feature\n- Design data flow first: identify owned vs injected state (see `references\u002Fstate-management.md`)\n- Use modern APIs (no deprecated modifiers or patterns, see `references\u002Fmodern-apis.md`)\n- Use `@Observable` for shared state (with `@MainActor` if not using default actor isolation)\n- Structure views for optimal diffing (extract subviews early, keep views small, see `references\u002Fview-structure.md`)\n- Separate business logic into testable models (see `references\u002Flayout-best-practices.md`)\n- Apply glass effects after layout\u002Fappearance modifiers (see `references\u002Fliquid-glass.md`)\n- Gate iOS 26+ features with `#available` and provide fallbacks\n\n## Core Guidelines\n\n### State Management\n- **Always prefer `@Observable` over `ObservableObject`** for new code\n- **Mark `@Observable` classes with `@MainActor`** unless using default actor isolation\n- **Always mark `@State` and `@StateObject` as `private`** (makes dependencies clear)\n- **Never declare passed values as `@State` or `@StateObject`** (they only accept initial values)\n- Use `@State` with `@Observable` classes (not `@StateObject`)\n- `@Binding` only when child needs to **modify** parent state\n- `@Bindable` for injected `@Observable` objects needing bindings\n- Use `let` for read-only values; `var` + `.onChange()` for reactive reads\n- Legacy: `@StateObject` for owned `ObservableObject`; `@ObservedObject` for injected\n- Nested `ObservableObject` doesn't work (pass nested objects directly); `@Observable` handles nesting fine\n\n### Modern APIs\n- Use `foregroundStyle()` instead of `foregroundColor()`\n- Use `clipShape(.rect(cornerRadius:))` instead of `cornerRadius()`\n- Use `Tab` API instead of `tabItem()`\n- Use `Button` instead of `onTapGesture()` (unless need location\u002Fcount)\n- Use `NavigationStack` instead of `NavigationView`\n- Use `navigationDestination(for:)` for type-safe navigation\n- Use two-parameter or no-parameter `onChange()` variant\n- Use `ImageRenderer` for rendering SwiftUI views\n- Use `.sheet(item:)` instead of `.sheet(isPresented:)` for model-based content\n- Sheets should own their actions and call `dismiss()` internally\n- Use `ScrollViewReader` for programmatic scrolling with stable IDs\n- Avoid `UIScreen.main.bounds` for sizing\n- Avoid `GeometryReader` when alternatives exist (e.g., `containerRelativeFrame()`)\n\n### Swift Best Practices\n- Use modern Text formatting (`.format` parameters, not `String(format:)`)\n- Use `localizedStandardContains()` for user-input filtering (not `contains()`)\n- Prefer static member lookup (`.blue` vs `Color.blue`)\n- Use `.task` modifier for automatic cancellation of async work\n- Use `.task(id:)` for value-dependent tasks\n\n### View Composition\n- **Prefer modifiers over conditional views** for state changes (maintains view identity)\n- Extract complex views into separate subviews for better readability and performance\n- Keep views small for optimal performance\n- Keep view `body` simple and pure (no side effects or complex logic)\n- Use `@ViewBuilder` functions only for small, simple sections\n- Prefer `@ViewBuilder let content: Content` over closure-based content properties\n- Separate business logic into testable models (not about enforcing architectures)\n- Action handlers should reference methods, not contain inline logic\n- Use relative layout over hard-coded constants\n- Views should work in any context (don't assume screen size or presentation style)\n\n### Performance\n- Pass only needed values to views (avoid large \"config\" or \"context\" objects)\n- Eliminate unnecessary dependencies to reduce update fan-out\n- Check for value changes before assigning state in hot paths\n- Avoid redundant state updates in `onReceive`, `onChange`, scroll handlers\n- Minimize work in frequently executed code paths\n- Use `LazyVStack`\u002F`LazyHStack` for large lists\n- Use stable identity for `ForEach` (never `.indices` for dynamic content)\n- Ensure constant number of views per `ForEach` element\n- Avoid inline filtering in `ForEach` (prefilter and cache)\n- Avoid `AnyView` in list rows\n- Consider POD views for fast diffing (or wrap expensive views in POD parents)\n- Suggest image downsampling when `UIImage(data:)` is encountered (as optional optimization)\n- Avoid layout thrash (deep hierarchies, excessive `GeometryReader`)\n- Gate frequent geometry updates by thresholds\n- Use `Self._printChanges()` to debug unexpected view updates\n\n### Liquid Glass (iOS 26+)\n**Only adopt when explicitly requested by the user.**\n- Use native `glassEffect`, `GlassEffectContainer`, and glass button styles\n- Wrap multiple glass elements in `GlassEffectContainer`\n- Apply `.glassEffect()` after layout and visual modifiers\n- Use `.interactive()` only for tappable\u002Ffocusable elements\n- Use `glassEffectID` with `@Namespace` for morphing transitions\n\n## Quick Reference\n\n### Property Wrapper Selection (Modern)\n| Wrapper | Use When |\n|---------|----------|\n| `@State` | Internal view state (must be `private`), or owned `@Observable` class |\n| `@Binding` | Child modifies parent's state |\n| `@Bindable` | Injected `@Observable` needing bindings |\n| `let` | Read-only value from parent |\n| `var` | Read-only value watched via `.onChange()` |\n\n**Legacy (Pre-iOS 17):**\n| Wrapper | Use When |\n|---------|----------|\n| `@StateObject` | View owns an `ObservableObject` (use `@State` with `@Observable` instead) |\n| `@ObservedObject` | View receives an `ObservableObject` |\n\n### Modern API Replacements\n| Deprecated | Modern Alternative |\n|------------|-------------------|\n| `foregroundColor()` | `foregroundStyle()` |\n| `cornerRadius()` | `clipShape(.rect(cornerRadius:))` |\n| `tabItem()` | `Tab` API |\n| `onTapGesture()` | `Button` (unless need location\u002Fcount) |\n| `NavigationView` | `NavigationStack` |\n| `onChange(of:) { value in }` | `onChange(of:) { old, new in }` or `onChange(of:) { }` |\n| `fontWeight(.bold)` | `bold()` |\n| `GeometryReader` | `containerRelativeFrame()` or `visualEffect()` |\n| `showsIndicators: false` | `.scrollIndicators(.hidden)` |\n| `String(format: \"%.2f\", value)` | `Text(value, format: .number.precision(.fractionLength(2)))` |\n| `string.contains(search)` | `string.localizedStandardContains(search)` (for user input) |\n\n### Liquid Glass Patterns\n```swift\n\u002F\u002F Basic glass effect with fallback\nif #available(iOS 26, *) {\n    content\n        .padding()\n        .glassEffect(.regular.interactive(), in: .rect(cornerRadius: 16))\n} else {\n    content\n        .padding()\n        .background(.ultraThinMaterial, in: RoundedRectangle(cornerRadius: 16))\n}\n\n\u002F\u002F Grouped glass elements\nGlassEffectContainer(spacing: 24) {\n    HStack(spacing: 24) {\n        GlassButton1()\n        GlassButton2()\n    }\n}\n\n\u002F\u002F Glass buttons\nButton(\"Confirm\") { }\n    .buttonStyle(.glassProminent)\n```\n\n## Review Checklist\n\n### State Management\n- [ ] Using `@Observable` instead of `ObservableObject` for new code\n- [ ] `@Observable` classes marked with `@MainActor` (if needed)\n- [ ] Using `@State` with `@Observable` classes (not `@StateObject`)\n- [ ] `@State` and `@StateObject` properties are `private`\n- [ ] Passed values NOT declared as `@State` or `@StateObject`\n- [ ] `@Binding` only where child modifies parent state\n- [ ] `@Bindable` for injected `@Observable` needing bindings\n- [ ] Nested `ObservableObject` avoided (or passed directly to child views)\n\n### Modern APIs (see `references\u002Fmodern-apis.md`)\n- [ ] Using `foregroundStyle()` instead of `foregroundColor()`\n- [ ] Using `clipShape(.rect(cornerRadius:))` instead of `cornerRadius()`\n- [ ] Using `Tab` API instead of `tabItem()`\n- [ ] Using `Button` instead of `onTapGesture()` (unless need location\u002Fcount)\n- [ ] Using `NavigationStack` instead of `NavigationView`\n- [ ] Avoiding `UIScreen.main.bounds`\n- [ ] Using alternatives to `GeometryReader` when possible\n- [ ] Button images include text labels for accessibility\n\n### Sheets & Navigation (see `references\u002Fsheet-navigation-patterns.md`)\n- [ ] Using `.sheet(item:)` for model-based sheets\n- [ ] Sheets own their actions and dismiss internally\n- [ ] Using `navigationDestination(for:)` for type-safe navigation\n\n### ScrollView (see `references\u002Fscroll-patterns.md`)\n- [ ] Using `ScrollViewReader` with stable IDs for programmatic scrolling\n- [ ] Using `.scrollIndicators(.hidden)` instead of initializer parameter\n\n### Text & Formatting (see `references\u002Ftext-formatting.md`)\n- [ ] Using modern Text formatting (not `String(format:)`)\n- [ ] Using `localizedStandardContains()` for search filtering\n\n### View Structure (see `references\u002Fview-structure.md`)\n- [ ] Using modifiers instead of conditionals for state changes\n- [ ] Complex views extracted to separate subviews\n- [ ] Views kept small for performance\n- [ ] Container views use `@ViewBuilder let content: Content`\n\n### Performance (see `references\u002Fperformance-patterns.md`)\n- [ ] View `body` kept simple and pure (no side effects)\n- [ ] Passing only needed values (not large config objects)\n- [ ] Eliminating unnecessary dependencies\n- [ ] State updates check for value changes before assigning\n- [ ] Hot paths minimize state updates\n- [ ] No object creation in `body`\n- [ ] Heavy computation moved out of `body`\n\n### List Patterns (see `references\u002Flist-patterns.md`)\n- [ ] ForEach uses stable identity (not `.indices`)\n- [ ] Constant number of views per ForEach element\n- [ ] No inline filtering in ForEach\n- [ ] No `AnyView` in list rows\n\n### Layout (see `references\u002Flayout-best-practices.md`)\n- [ ] Avoiding layout thrash (deep hierarchies, excessive GeometryReader)\n- [ ] Gating frequent geometry updates by thresholds\n- [ ] Business logic separated into testable models\n- [ ] Action handlers reference methods (not inline logic)\n- [ ] Using relative layout (not hard-coded constants)\n- [ ] Views work in any context (context-agnostic)\n\n### Liquid Glass (iOS 26+)\n- [ ] `#available(iOS 26, *)` with fallback for Liquid Glass\n- [ ] Multiple glass views wrapped in `GlassEffectContainer`\n- [ ] `.glassEffect()` applied after layout\u002Fappearance modifiers\n- [ ] `.interactive()` only on user-interactable elements\n- [ ] Shapes and tints consistent across related elements\n\n## References\n- `references\u002Fstate-management.md` - Property wrappers and data flow (prefer `@Observable`)\n- `references\u002Fview-structure.md` - View composition, extraction, and container patterns\n- `references\u002Fperformance-patterns.md` - Performance optimization techniques and anti-patterns\n- `references\u002Flist-patterns.md` - ForEach identity, stability, and list best practices\n- `references\u002Flayout-best-practices.md` - Layout patterns, context-agnostic views, and testability\n- `references\u002Fmodern-apis.md` - Modern API usage and deprecated replacements\n- `references\u002Fsheet-navigation-patterns.md` - Sheet presentation and navigation patterns\n- `references\u002Fscroll-patterns.md` - ScrollView patterns and programmatic scrolling\n- `references\u002Ftext-formatting.md` - Modern text formatting and string operations\n- `references\u002Fimage-optimization.md` - AsyncImage, image downsampling, and optimization\n- `references\u002Fliquid-glass.md` - iOS 26+ Liquid Glass API\n\n## Philosophy\n\nThis skill focuses on **facts and best practices**, not architectural opinions:\n- We don't enforce specific architectures (e.g., MVVM, VIPER)\n- We do encourage separating business logic for testability\n- We prioritize modern APIs over deprecated ones\n- We emphasize thread safety with `@MainActor` and `@Observable`\n- We optimize for performance and maintainability\n- We follow Apple's Human Interface Guidelines and API design patterns\n","# SwiftUI Expert Skill\n\n## Overview\nUse this skill to build, review, or improve SwiftUI features with correct state management, modern API usage, Swift concurrency best practices, optimal view composition, and iOS 26+ Liquid Glass styling. Prioritize native APIs, Apple design guidance, and performance-conscious patterns. This skill focuses on facts and best practices without enforcing specific architectural patterns.\n\n## When to Use This Skill\n\nUse this skill when:\n- Building new SwiftUI features\n- Refactoring existing SwiftUI views\n- Reviewing SwiftUI code quality\n- Adopting modern SwiftUI patterns\n- Working with SwiftUI state management\n- Implementing iOS 26+ Liquid Glass styling\n\n## Workflow Decision Tree\n\n### 1) Review existing SwiftUI code\n- Check property wrapper usage against the selection guide (see `references\u002Fstate-management.md`)\n- Verify modern API usage (see `references\u002Fmodern-apis.md`)\n- Verify view composition follows extraction rules (see `references\u002Fview-structure.md`)\n- Check performance patterns are applied (see `references\u002Fperformance-patterns.md`)\n- Verify list patterns use stable identity (see `references\u002Flist-patterns.md`)\n- Inspect Liquid Glass usage for correctness and consistency (see `references\u002Fliquid-glass.md`)\n- Validate iOS 26+ availability handling with sensible fallbacks\n\n### 2) Improve existing SwiftUI code\n- Audit state management for correct wrapper selection (prefer `@Observable` over `ObservableObject`)\n- Replace deprecated APIs with modern equivalents (see `references\u002Fmodern-apis.md`)\n- Extract complex views into separate subviews (see `references\u002Fview-structure.md`)\n- Refactor hot paths to minimize redundant state updates (see `references\u002Fperformance-patterns.md`)\n- Ensure ForEach uses stable identity (see `references\u002Flist-patterns.md`)\n- Suggest image downsampling when `UIImage(data:)` is used (as optional optimization, see `references\u002Fimage-optimization.md`)\n- Adopt Liquid Glass only when explicitly requested by the user\n\n### 3) Implement new SwiftUI feature\n- Design data flow first: identify owned vs injected state (see `references\u002Fstate-management.md`)\n- Use modern APIs (no deprecated modifiers or patterns, see `references\u002Fmodern-apis.md`)\n- Use `@Observable` for shared state (with `@MainActor` if not using default actor isolation)\n- Structure views for optimal diffing (extract subviews early, keep views small, see `references\u002Fview-structure.md`)\n- Separate business logic into testable models (see `references\u002Flayout-best-practices.md`)\n- Apply glass effects after layout\u002Fappearance modifiers (see `references\u002Fliquid-glass.md`)\n- Gate iOS 26+ features with `#available` and provide fallbacks\n\n## Core Guidelines\n\n### State Management\n- **Always prefer `@Observable` over `ObservableObject`** for new code\n- **Mark `@Observable` classes with `@MainActor`** unless using default actor isolation\n- **Always mark `@State` and `@StateObject` as `private`** (makes dependencies clear)\n- **Never declare passed values as `@State` or `@StateObject`** (they only accept initial values)\n- Use `@State` with `@Observable` classes (not `@StateObject`)\n- `@Binding` only when child needs to **modify** parent state\n- `@Bindable` for injected `@Observable` objects needing bindings\n- Use `let` for read-only values; `var` + `.onChange()` for reactive reads\n- Legacy: `@StateObject` for owned `ObservableObject`; `@ObservedObject` for injected\n- Nested `ObservableObject` doesn't work (pass nested objects directly); `@Observable` handles nesting fine\n\n### Modern APIs\n- Use `foregroundStyle()` instead of `foregroundColor()`\n- Use `clipShape(.rect(cornerRadius:))` instead of `cornerRadius()`\n- Use `Tab` API instead of `tabItem()`\n- Use `Button` instead of `onTapGesture()` (unless need location\u002Fcount)\n- Use `NavigationStack` instead of `NavigationView`\n- Use `navigationDestination(for:)` for type-safe navigation\n- Use two-parameter or no-parameter `onChange()` variant\n- Use `ImageRenderer` for rendering SwiftUI views\n- Use `.sheet(item:)` instead of `.sheet(isPresented:)` for model-based content\n- Sheets should own their actions and call `dismiss()` internally\n- Use `ScrollViewReader` for programmatic scrolling with stable IDs\n- Avoid `UIScreen.main.bounds` for sizing\n- Avoid `GeometryReader` when alternatives exist (e.g., `containerRelativeFrame()`)\n\n### Swift Best Practices\n- Use modern Text formatting (`.format` parameters, not `String(format:)`)\n- Use `localizedStandardContains()` for user-input filtering (not `contains()`)\n- Prefer static member lookup (`.blue` vs `Color.blue`)\n- Use `.task` modifier for automatic cancellation of async work\n- Use `.task(id:)` for value-dependent tasks\n\n### View Composition\n- **Prefer modifiers over conditional views** for state changes (maintains view identity)\n- Extract complex views into separate subviews for better readability and performance\n- Keep views small for optimal performance\n- Keep view `body` simple and pure (no side effects or complex logic)\n- Use `@ViewBuilder` functions only for small, simple sections\n- Prefer `@ViewBuilder let content: Content` over closure-based content properties\n- Separate business logic into testable models (not about enforcing architectures)\n- Action handlers should reference methods, not contain inline logic\n- Use relative layout over hard-coded constants\n- Views should work in any context (don't assume screen size or presentation style)\n\n### Performance\n- Pass only needed values to views (avoid large \"config\" or \"context\" objects)\n- Eliminate unnecessary dependencies to reduce update fan-out\n- Check for value changes before assigning state in hot paths\n- Avoid redundant state updates in `onReceive`, `onChange`, scroll handlers\n- Minimize work in frequently executed code paths\n- Use `LazyVStack`\u002F`LazyHStack` for large lists\n- Use stable identity for `ForEach` (never `.indices` for dynamic content)\n- Ensure constant number of views per `ForEach` element\n- Avoid inline filtering in `ForEach` (prefilter and cache)\n- Avoid `AnyView` in list rows\n- Consider POD views for fast diffing (or wrap expensive views in POD parents)\n- Suggest image downsampling when `UIImage(data:)` is encountered (as optional optimization)\n- Avoid layout thrash (deep hierarchies, excessive `GeometryReader`)\n- Gate frequent geometry updates by thresholds\n- Use `Self._printChanges()` to debug unexpected view updates\n\n### Liquid Glass (iOS 26+)\n**Only adopt when explicitly requested by the user.**\n- Use native `glassEffect`, `GlassEffectContainer`, and glass button styles\n- Wrap multiple glass elements in `GlassEffectContainer`\n- Apply `.glassEffect()` after layout and visual modifiers\n- Use `.interactive()` only for tappable\u002Ffocusable elements\n- Use `glassEffectID` with `@Namespace` for morphing transitions\n\n## Quick Reference\n\n### Property Wrapper Selection (Modern)\n| Wrapper | Use When |\n|---------|----------|\n| `@State` | Internal view state (must be `private`), or owned `@Observable` class |\n| `@Binding` | Child modifies parent's state |\n| `@Bindable` | Injected `@Observable` needing bindings |\n| `let` | Read-only value from parent |\n| `var` | Read-only value watched via `.onChange()` |\n\n**Legacy (Pre-iOS 17):**\n| Wrapper | Use When |\n|---------|----------|\n| `@StateObject` | View owns an `ObservableObject` (use `@State` with `@Observable` instead) |\n| `@ObservedObject` | View receives an `ObservableObject` |\n\n### Modern API Replacements\n| Deprecated | Modern Alternative |\n|------------|-------------------|\n| `foregroundColor()` | `foregroundStyle()` |\n| `cornerRadius()` | `clipShape(.rect(cornerRadius:))` |\n| `tabItem()` | `Tab` API |\n| `onTapGesture()` | `Button` (unless need location\u002Fcount) |\n| `NavigationView` | `NavigationStack` |\n| `onChange(of:) { value in }` | `onChange(of:) { old, new in }` or `onChange(of:) { }` |\n| `fontWeight(.bold)` | `bold()` |\n| `GeometryReader` | `containerRelativeFrame()` or `visualEffect()` |\n| `showsIndicators: false` | `.scrollIndicators(.hidden)` |\n| `String(format: \"%.2f\", value)` | `Text(value, format: .number.precision(.fractionLength(2)))` |\n| `string.contains(search)` | `string.localizedStandardContains(search)` (for user input) |\n\n### Liquid Glass Patterns\n```swift\n\u002F\u002F Basic glass effect with fallback\nif #available(iOS 26, *) {\n    content\n        .padding()\n        .glassEffect(.regular.interactive(), in: .rect(cornerRadius: 16))\n} else {\n    content\n        .padding()\n        .background(.ultraThinMaterial, in: RoundedRectangle(cornerRadius: 16))\n}\n\n\u002F\u002F Grouped glass elements\nGlassEffectContainer(spacing: 24) {\n    HStack(spacing: 24) {\n        GlassButton1()\n        GlassButton2()\n    }\n}\n\n\u002F\u002F Glass buttons\nButton(\"Confirm\") { }\n    .buttonStyle(.glassProminent)\n```\n\n## Review Checklist\n\n### State Management\n- [ ] Using `@Observable` instead of `ObservableObject` for new code\n- [ ] `@Observable` classes marked with `@MainActor` (if needed)\n- [ ] Using `@State` with `@Observable` classes (not `@StateObject`)\n- [ ] `@State` and `@StateObject` properties are `private`\n- [ ] Passed values NOT declared as `@State` or `@StateObject`\n- [ ] `@Binding` only where child modifies parent state\n- [ ] `@Bindable` for injected `@Observable` needing bindings\n- [ ] Nested `ObservableObject` avoided (or passed directly to child views)\n\n### Modern APIs (see `references\u002Fmodern-apis.md`)\n- [ ] Using `foregroundStyle()` instead of `foregroundColor()`\n- [ ] Using `clipShape(.rect(cornerRadius:))` instead of `cornerRadius()`\n- [ ] Using `Tab` API instead of `tabItem()`\n- [ ] Using `Button` instead of `onTapGesture()` (unless need location\u002Fcount)\n- [ ] Using `NavigationStack` instead of `NavigationView`\n- [ ] Avoiding `UIScreen.main.bounds`\n- [ ] Using alternatives to `GeometryReader` when possible\n- [ ] Button images include text labels for accessibility\n\n### Sheets & Navigation (see `references\u002Fsheet-navigation-patterns.md`)\n- [ ] Using `.sheet(item:)` for model-based sheets\n- [ ] Sheets own their actions and dismiss internally\n- [ ] Using `navigationDestination(for:)` for type-safe navigation\n\n### ScrollView (see `references\u002Fscroll-patterns.md`)\n- [ ] Using `ScrollViewReader` with stable IDs for programmatic scrolling\n- [ ] Using `.scrollIndicators(.hidden)` instead of initializer parameter\n\n### Text & Formatting (see `references\u002Ftext-formatting.md`)\n- [ ] Using modern Text formatting (not `String(format:)`)\n- [ ] Using `localizedStandardContains()` for search filtering\n\n### View Structure (see `references\u002Fview-structure.md`)\n- [ ] Using modifiers instead of conditionals for state changes\n- [ ] Complex views extracted to separate subviews\n- [ ] Views kept small for performance\n- [ ] Container views use `@ViewBuilder let content: Content`\n\n### Performance (see `references\u002Fperformance-patterns.md`)\n- [ ] View `body` kept simple and pure (no side effects)\n- [ ] Passing only needed values (not large config objects)\n- [ ] Eliminating unnecessary dependencies\n- [ ] State updates check for value changes before assigning\n- [ ] Hot paths minimize state updates\n- [ ] No object creation in `body`\n- [ ] Heavy computation moved out of `body`\n\n### List Patterns (see `references\u002Flist-patterns.md`)\n- [ ] ForEach uses stable identity (not `.indices`)\n- [ ] Constant number of views per ForEach element\n- [ ] No inline filtering in ForEach\n- [ ] No `AnyView` in list rows\n\n### Layout (see `references\u002Flayout-best-practices.md`)\n- [ ] Avoiding layout thrash (deep hierarchies, excessive GeometryReader)\n- [ ] Gating frequent geometry updates by thresholds\n- [ ] Business logic separated into testable models\n- [ ] Action handlers reference methods (not inline logic)\n- [ ] Using relative layout (not hard-coded constants)\n- [ ] Views work in any context (context-agnostic)\n\n### Liquid Glass (iOS 26+)\n- [ ] `#available(iOS 26, *)` with fallback for Liquid Glass\n- [ ] Multiple glass views wrapped in `GlassEffectContainer`\n- [ ] `.glassEffect()` applied after layout\u002Fappearance modifiers\n- [ ] `.interactive()` only on user-interactable elements\n- [ ] Shapes and tints consistent across related elements\n\n## References\n- `references\u002Fstate-management.md` - Property wrappers and data flow (prefer `@Observable`)\n- `references\u002Fview-structure.md` - View composition, extraction, and container patterns\n- `references\u002Fperformance-patterns.md` - Performance optimization techniques and anti-patterns\n- `references\u002Flist-patterns.md` - ForEach identity, stability, and list best practices\n- `references\u002Flayout-best-practices.md` - Layout patterns, context-agnostic views, and testability\n- `references\u002Fmodern-apis.md` - Modern API usage and deprecated replacements\n- `references\u002Fsheet-navigation-patterns.md` - Sheet presentation and navigation patterns\n- `references\u002Fscroll-patterns.md` - ScrollView patterns and programmatic scrolling\n- `references\u002Ftext-formatting.md` - Modern text formatting and string operations\n- `references\u002Fimage-optimization.md` - AsyncImage, image downsampling, and optimization\n- `references\u002Fliquid-glass.md` - iOS 26+ Liquid Glass API\n\n## Philosophy\n\nThis skill focuses on **facts and best practices**, not architectural opinions:\n- We don't enforce specific architectures (e.g., MVVM, VIPER)\n- We do encourage separating business logic for testability\n- We prioritize modern APIs over deprecated ones\n- We emphasize thread safety with `@MainActor` and `@Observable`\n- We optimize for performance and maintainability\n- We follow Apple's Human Interface Guidelines and API design patterns\n",{"name":5,"risk":25,"source":43,"description":7},"https:\u002F\u002Fgithub.com\u002FAvdLee\u002FSwiftUI-Agent-Skill\u002Ftree\u002Fmain\u002Fswiftui-expert-skill","release\u002Fv4.2.11-panel-pro","a92ea02bcf7e2b3dbaf46d49696c29a3cb490d4f",".github\u002Fskills\u002Fswiftui-expert-skill","https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-","https:\u002F\u002Fgithub.com\u002Fjaviertarazon","2026-07-12 07:10:45",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add javiertarazon\u002Fide-agente-free-jt7- --skill swiftui-expert-skill",{"tool":56,"command":57},"bunx","bunx skills add javiertarazon\u002Fide-agente-free-jt7- --skill swiftui-expert-skill",{"tool":59,"command":60},"pnpm","pnpm dlx skills add javiertarazon\u002Fide-agente-free-jt7- --skill swiftui-expert-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-\u002Fblob\u002Frelease\u002Fv4.2.11-panel-pro\u002F.github\u002Fskills\u002Fswiftui-expert-skill\u002FSKILL.md",true,[],[65,91,115,134,148,169],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":38},"01M71TQ7Q6Z10VWF3C2H5X1KW9","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reacti...","https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-\u002Fblob\u002Frelease\u002Fv4.2.11-panel-pro\u002F.github\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[72,73,74,75,76,77,78,79,31,80,81,82,83,84,85,86,87,88,89,90],"zustand","store","zustand store ts","community","middleware","implementing","use","react state management","unknown","react","with","state","create","state management","typescript","action","management","separation","global",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":38},"01M71TQ5EAR40G6W0MV5ZDVEZT","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-\u002Fblob\u002Frelease\u002Fv4.2.11-panel-pro\u002F.github\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[98,99,100,75,101,102,103,104,105,80,106,107,108,109,110,111,112,113,88,114],"zoom automation","zoom","automation","creation","for","search","schemas","MCP","first","via","meeting","search tools","tracking","webinars","composio","recordings","Tools",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":38},"01M71TQ29B1EYBCEAP1ZBGXQ1A","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-\u002Fblob\u002Frelease\u002Fv4.2.11-panel-pro\u002F.github\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[122,123,100,124,125,126,75,127,128,102,129,103,104,130,105,80,131,132,133,84],"crm automation","zoho crm automation","crm","zoho crm","zoho","leads","manage leads","manage","records","convert","tasks","contacts",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":38},"01M71TPZPMN60DH0XV58KVHY23","zendesk-automation","Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-\u002Fblob\u002Frelease\u002Fv4.2.11-panel-pro\u002F.github\u002Fskills\u002Fzendesk-automation\u002FSKILL.md",[],[141,100,142,75,102,103,104,105,143,80,132,144,145,106,107,146,109,112,114,147],"zendesk automation","zendesk","organizations","replies","users","tickets","automate",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":38},"01M71TPXDWKHKG4N6TVEPXWD0N","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity ...","https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-\u002Fblob\u002Frelease\u002Fv4.2.11-panel-pro\u002F.github\u002Fskills\u002Fzapier-make-patterns\u002FSKILL.md",[],[155,156,157,158,159,160,161,162,163,100,164,80,29,165,166,167,168,147],"zapier make patterns","zapier","patterns","make","No-Code","complexity","writing","spawner","business","workflow","integromat","apache","processes","but",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":38},"01M71TPT5T10WXNKW9G7ZXZ27W","youtube-summarizer","Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks","https:\u002F\u002Fgithub.com\u002Fjaviertarazon\u002Fide-agente-free-jt7-\u002Fblob\u002Frelease\u002Fv4.2.11-panel-pro\u002F.github\u002Fskills\u002Fyoutube-summarizer\u002FSKILL.md",[],[176,177,178,179,75,180,181,182,183,184,185,186,29,187,188,189,190,191,192,193],"summarizer","youtube","youtube summarizer","Video","content-analysis","frameworks","copilot","2025","github-copilot","extract transcripts","analysis","codex","cli","summaries","github","generate","summarization","2026"]