swiftui-expert-skill

Review SwiftUI code for iOS and macOS with trace-driven diagnostics.

2|1|Updated May 17, 2026
One-click install
npx skills add https://github.com/rakibulism/agent-skills-os --skill swiftui-expert-skill-rakibulism
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-expert-skill
Source: https://github.com/rakibulism/agent-skills-os/tree/main/skills/swiftui-expert-skill
Command: npx skills add https://github.com/rakibulism/agent-skills-os --skill swiftui-expert-skill-rakibulism

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill helps you write, review, and refactor SwiftUI code with modern API guidance, better state handling, and stronger performance and accessibility practices.

Core Features & Use Cases

  • SwiftUI Implementation Help: Design new views, state flow, animations, navigation, and layout using native SwiftUI patterns.
  • Code Review and Refactoring: Spot deprecated APIs, state-management mistakes, list identity issues, and unnecessary view updates, then suggest safer improvements.
  • Performance and Trace Analysis: Analyze Instruments .trace files to identify main-thread blocking, hitch sources, and invalidation patterns that cause excessive view updates.
  • Platform-Specific Guidance: Handle iOS, macOS, Liquid Glass, Charts, previews, and accessibility with version-aware fallbacks.
  • Use Case: A developer can ask for a review of a SwiftUI screen or a trace analysis, and the Skill will return prioritized fixes grounded in Apple best practices.

Quick Start

Ask the SwiftUI expert skill to review your view code for deprecated APIs, state issues, and performance problems, or to analyze an Instruments trace and recommend the highest-impact fixes.

Frequently Asked Questions about swiftui-expert-skill

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

FAQPage Schema
How do I fix SwiftUI performance issues like hitches and hangs?

Analyze Instruments trace files to identify main-thread blocking, hitch sources, and invalidation patterns causing excessive view updates. This trace-driven diagnostic approach prioritizes the highest-impact fixes for SwiftUI performance issues.

What is the best way to refactor SwiftUI code with deprecated APIs?

Refactor SwiftUI code with deprecated APIs by reviewing for state-management mistakes, list identity issues, and unnecessary view updates, then applying version-aware fallbacks and native SwiftUI patterns for safer improvements.

How do I set up native SwiftUI state management for iOS and macOS?

Design state flow, navigation, and layout using native SwiftUI patterns. Avoid state-management mistakes and unnecessary view updates by following version-aware API guidance for iOS and macOS applications.

Does this SwiftUI review approach handle Liquid Glass and Charts?

Yes, this approach provides platform-specific guidance for Liquid Glass, Charts, previews, and accessibility with version-aware fallbacks for both iOS and macOS applications.

Why does my SwiftUI screen cause excessive view updates?

Excessive SwiftUI view updates are caused by state-management mistakes and invalidation patterns. Reviewing view code helps spot these issues alongside list identity problems and deprecated APIs to suggest safer improvements.