swiftui-expert-skill

Review SwiftUI code for state management, performance, and modern APIs.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Kuass/kiro-gateway-plus --skill swiftui-expert-skill-kuass
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-expert-skill
Source: https://github.com/Kuass/kiro-gateway-plus/tree/main/.opencode/skill/swiftui-expert-skill
Command: npx skills add https://github.com/Kuass/kiro-gateway-plus --skill swiftui-expert-skill-kuass

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers write, review, and improve SwiftUI code by ensuring adherence to best practices for state management, view composition, performance, modern APIs, Swift concurrency, and adopting new platform features like Liquid Glass.

Core Features & Use Cases

  • Code Review: Analyzes SwiftUI code for correctness in state management, API usage, performance patterns, and modern conventions.
  • Code Improvement: Suggests refactoring for better state management (e.g., preferring @Observable), modern API replacements, and performance optimizations.
  • New Feature Implementation: Guides the creation of new SwiftUI features with a focus on data flow, modern APIs, and performance-conscious patterns.
  • Adoption of Modern Patterns: Ensures usage of @Observable, Swift concurrency, and platform-specific features like Liquid Glass (iOS 26+).
  • Use Case: A developer is building a new complex view in SwiftUI and wants to ensure they are using the latest best practices for state management and performance. They use this skill to get guidance on structuring their views and managing data flow.

Quick Start

Review the provided SwiftUI code snippet for adherence to modern state management patterns.

Frequently Asked Questions about swiftui-expert-skill

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

FAQPage Schema
How do I refactor SwiftUI state management to use the modern @Observable pattern?

You can improve SwiftUI performance by refactoring code to use modern state management patterns like @Observable and structuring view composition to prevent unnecessary view body recalculations.

What is the best way to implement new SwiftUI views with Swift concurrency?

The best way to implement new SwiftUI views is by adopting modern APIs and Swift concurrency patterns to ensure safe data flow, optimal view composition, and high performance state management.

How do I adopt platform-specific SwiftUI features like Liquid Glass in iOS 26+?

To adopt platform-specific SwiftUI features like Liquid Glass in iOS 26+, you implement modern declarative UI patterns and update your view composition to integrate the latest API conventions.

Can I get a SwiftUI code review focusing on performance optimization and modern conventions?

Yes, you can review your SwiftUI code to analyze correctness in state management, verify modern API usage, and receive suggestions for performance optimization and better declarative UI conventions.

Why does my SwiftUI view re-render excessively when updating state?

Excessive SwiftUI re-renders often occur when state management is not optimized; refactoring to use modern patterns like @Observable helps control data flow and prevent unnecessary view body recalculations.

Does this guidance cover Swift concurrency integration with declarative UI state management?

Yes, this guidance covers Swift concurrency integration, ensuring your declarative UI manages asynchronous data flow safely while adhering to modern SwiftUI state management and performance best practices.