swiftui-expert-skill

Review SwiftUI code for correctness, performance, accessibility, and modern API usage.

34|6|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/Viniciuscarvalho/swift-code-reviewer-skill --skill swiftui-expert-skill-viniciuscarvalho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-expert-skill
Source: https://github.com/Viniciuscarvalho/swift-code-reviewer-skill/tree/main/skills/swiftui-expert-skill
Command: npx skills add https://github.com/Viniciuscarvalho/swift-code-reviewer-skill --skill swiftui-expert-skill-viniciuscarvalho

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you review, refactor, and implement SwiftUI code with fewer mistakes around state, layout, performance, accessibility, and platform-specific APIs. It reduces time spent hunting deprecated APIs, unstable list identity, and inconsistent behavior across iOS and macOS targets.

Core Features & Use Cases

  • Modern API Guidance: Recommends current SwiftUI patterns and avoids deprecated modifiers and navigation APIs.
  • State and View Structure Review: Checks property-wrapper choice, data flow, subview extraction, and container patterns.
  • Performance and Identity Checks: Validates list identity, hot-path updates, animation scoping, and layout efficiency.
  • Accessibility and Platform Support: Improves VoiceOver behavior, Dynamic Type support, macOS scenes and windows, charts, and iOS 26 Liquid Glass adoption with fallbacks.
  • Use Case: Use it when reviewing a SwiftUI screen, modernizing an existing view hierarchy, or verifying that a cross-platform feature follows Apple best practices.

Quick Start

Ask the skill to review your SwiftUI file or feature and return prioritized fixes for state, performance, accessibility, and API modernization.

Frequently Asked Questions about swiftui-expert-skill

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

FAQPage Schema
How do I check my SwiftUI code for deprecated APIs and state management issues?

To check SwiftUI code for deprecated APIs and state management issues, you need a review process that validates property-wrapper choices, data flow, and recommends current Apple SwiftUI patterns. This ensures stable view hierarchy and avoids inconsistent behavior across iOS and macOS targets.

What is the best way to review SwiftUI list identity and performance bottlenecks?

Reviewing SwiftUI list identity and performance bottlenecks involves validating stable identity, checking hot-path updates, and scoping animations properly. This process ensures efficient layout updates and prevents unstable list behavior during feature implementation or refactoring.

Does this SwiftUI review process support macOS scenes and iOS 26 Liquid Glass adoption?

Yes, the SwiftUI review process supports macOS scenes, windows, and iOS 26 Liquid Glass adoption. It evaluates platform-specific API usage, checks availability gating, and verifies that fallback behaviors are implemented for cross-platform features.

How do I improve VoiceOver behavior and Dynamic Type support in a SwiftUI view?

Improving VoiceOver behavior and Dynamic Type support in a SwiftUI view requires an accessibility-focused code review. This review checks your view hierarchy against current Apple best practices to ensure proper screen reader interaction and scalable text rendering.

Why does my SwiftUI navigation break when modernizing an existing view hierarchy?

SwiftUI navigation breaks during view hierarchy modernization usually due to deprecated navigation APIs or improper state management. Reviewing the code for current SwiftUI patterns and validating data flow resolves inconsistent behavior and incorrect routing.