swiftui-expert-skill

Review SwiftUI code for modern APIs, state management, and iOS 26+ compatibility.

4|Updated Dec 11, 2022
One-click install
npx skills add https://github.com/namuan/namuan --skill swiftui-expert-skill-namuan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-expert-skill
Source: https://github.com/namuan/namuan/tree/main/agents/skills/swiftui-expert-skill
Command: npx skills add https://github.com/namuan/namuan --skill swiftui-expert-skill-namuan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Write, review, and improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption, to ensure consistent quality across projects.

Core Features & Use Cases

  • Enforces modern SwiftUI patterns (e.g., @Observable, NavigationStack, foregroundStyle)
  • Advocates clean view composition and performance-first design
  • Guides adoption of Liquid Glass where requested, with safe fallbacks when unavailable
  • Use cases include building new features, refactoring existing views, and conducting code-quality audits

Quick Start

Review a SwiftUI codebase and propose improvements following the core 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 review SwiftUI code for modern API usage and performance?

Review SwiftUI code by auditing views for modern API replacements like foregroundStyle and NavigationStack, enforcing @Observable for state management, and checking view composition for UI performance best practices.

How do I adopt Liquid Glass in SwiftUI with fallbacks for older iOS versions?

Adopt iOS 26+ Liquid Glass patterns in SwiftUI by applying modern UI components conditionally, ensuring safe fallbacks are implemented when the API is unavailable on older operating system versions.

What is the best way to manage state in SwiftUI using @Observable?

Manage SwiftUI state using @Observable to enforce modern patterns, replacing older observation protocols to ensure consistent state management and improved UI performance across your application.

Does this SwiftUI code review enforce containerRelativeFrame and modern layout APIs?

Yes, the SwiftUI code review enforces modern layout API replacements including containerRelativeFrame, NavigationStack, and foregroundStyle to ensure compatibility and performance across projects.