swiftui-expert-skill

Review SwiftUI code for state management, view composition, and performance.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/rusel95/MediaCleaner --skill swiftui-expert-skill-rusel95
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-expert-skill
Source: https://github.com/rusel95/MediaCleaner/tree/main/.agents/skills/swiftui-expert-skill
Command: npx skills add https://github.com/rusel95/MediaCleaner --skill swiftui-expert-skill-rusel95

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps SwiftUI teams write, review, and improve code by applying up-to-date best practices for state management, view composition, performance, macOS-specific APIs, and Liquid Glass adoption.

Core Features & Use Cases

  • Guidance for state management patterns (private @State, @Observable migration, proper data flow)
  • Code quality reviews focusing on view structure, performance hot paths, accessibility, and API usage
  • actionable checklists and gating strategies to adopt modern SwiftUI patterns during new features, refactors, and code reviews

Quick Start

Review a SwiftUI file and apply expert-guided improvements following this Skill's guidelines.

Frequently Asked Questions about swiftui-expert-skill

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

FAQPage Schema
How do I apply SwiftUI best practices for state management and view composition?

Apply SwiftUI best practices by migrating to @Observable, using private @State for proper data flow, and structuring views to isolate performance hot paths. This ensures testable architectures and safe state management during feature development.

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

Adopt iOS 26 Liquid Glass patterns in SwiftUI by using actionable checklists and version gating strategies. This allows you to safely integrate modern APIs during new feature work while maintaining backward compatibility.

Can I use this approach to review and refactor existing SwiftUI code?

Yes, you can review and refactor existing SwiftUI code by applying expert guidance on view structure, accessibility patterns, and performance. This identifies hot paths and enforces up-to-date API usage during code refactors.

Does this SwiftUI guidance include macOS-specific API patterns?

Yes, this SwiftUI guidance includes macOS-specific API patterns. It supports proper data flow and version gating tailored for macOS, ensuring your architecture remains safe and testable across Apple platforms.

How do I ensure accessibility patterns are correctly implemented in SwiftUI views?

Ensure accessibility patterns are correctly implemented in SwiftUI by following expert code review checklists. This validates proper data flow, view composition, and up-to-date API usage to meet accessibility requirements.