swiftui-expert-skill

Review SwiftUI code for state management, view composition, and modern API usage.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/takzobye/flutter_social_share_plus --skill swiftui-expert-skill-takzobye
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-expert-skill
Source: https://github.com/takzobye/flutter_social_share_plus/tree/main/.agents/skills/swiftui-expert-skill
Command: npx skills add https://github.com/takzobye/flutter_social_share_plus --skill swiftui-expert-skill-takzobye

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill reduces friction when building, refactoring, or reviewing SwiftUI code by providing concrete, modern guidance on state management, view composition, performance, animations, accessibility, and optional iOS 26+ Liquid Glass adoption so teams can ship maintainable, high-performance UI features.

Core Features & Use Cases

  • Guided code reviews with a checklist for property wrapper selection, stable ForEach identities, animation placement, and accessibility.
  • Refactor recommendations to extract subviews, narrow state scope, avoid layout thrash, and move heavy work out of view bodies.
  • Implementation patterns for new features: design data flow (owned vs injected), structure views for optimal diffing, and gate iOS 26 APIs with fallbacks.
  • Performance & image guidance including lazy stacks, POD wrappers, and optional image downsampling suggestions when UIImage(data:) is used.
  • Liquid Glass adoption guidance for iOS 26+ with container usage, modifier ordering, and fallback materials.

Quick Start

Ask the SwiftUI expert to review MyView.swift and return a prioritized list of fixes and refactors for state management, view composition, performance, animations, accessibility, and optional iOS 26 Liquid Glass adoption.

Frequently Asked Questions about swiftui-expert-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I conduct a SwiftUI code review for state management and performance?

Refactor SwiftUI views by extracting subviews, narrowing state scope to avoid layout thrash, and moving heavy processing work out of view bodies. These optimizations improve rendering performance and ensure correct state management during view updates.

What is the best way to adopt iOS 26 Liquid Glass patterns in SwiftUI?

Adopt iOS 26 Liquid Glass patterns by using container usage, applying correct modifier ordering, and implementing fallback materials. Gate these modern APIs with availability checks to ensure your SwiftUI app degrades gracefully on older operating systems.

How do I optimize SwiftUI list scrolling performance with lazy stacks and images?

Optimize SwiftUI list scrolling by implementing lazy stacks, using Plain Of Data wrappers, and applying image downsampling when initializing with UIImage(data:). This prevents memory overhead and ensures smooth rendering during rapid view diffing.

Does this SwiftUI review guidance check for accessibility and transitions?

Yes, the SwiftUI review guidance explicitly enforces accessibility checks and animation and transition correctness. It validates that your view composition maintains stable identities and correct state management while supporting modern accessibility requirements.