swiftui-pro

Reviews SwiftUI and Swift code against modern API, data flow, accessibility, and performance rules.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/Kaleb-Rupe/aurora --skill swiftui-pro-kaleb-rupe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-pro
Source: https://github.com/Kaleb-Rupe/aurora/tree/main/claude/skills/swiftui-pro
Command: npx skills add https://github.com/Kaleb-Rupe/aurora --skill swiftui-pro-kaleb-rupe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? SwiftUI evolves quickly, and codebases accumulate deprecated APIs, outdated data flow patterns, and accessibility gaps that are hard to catch manually. This Skill applies a structured rule set while writing SwiftUI code and runs a systematic review pass across nine focus areas, reporting only genuine defects with concrete before/after fixes. ## Core Features & Use Cases - Modern API enforcement: Flags deprecated calls like foregroundColor(), NavigationView, and cornerRadius() and shows the current replacements. - Nine review focus areas: Covers modern APIs, views and animation, data flow, navigation, HIG design, accessibility, performance, Swift concurrency, and code hygiene, each backed by a dedicated reference file. - Structured review output: Organizes findings by file with line numbers, rule names, before/after code fixes, and a prioritized summary. - Use Case: While building an iOS settings screen, ask for a review and receive findings such as an icon-only button missing a VoiceOver label, a Binding(get:set:) in the view body, and a deprecated foregroundColor() call, each with a ready-to-apply fix. ## Quick Start Review my SwiftUI code for deprecated APIs, data flow issues, and accessibility problems, and show before-and-after fixes for each finding.

Frequently Asked Questions about swiftui-pro

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

FAQPage Schema
How do I review SwiftUI code for deprecated APIs?

Run a review pass that flags deprecated calls like foregroundColor(), cornerRadius(), NavigationView, and the 1-parameter onChange() variant, then shows the modern replacement for each. Findings are organized by file with line numbers and before/after code fixes.

What is the modern way to manage state in SwiftUI?

Use @Observable classes marked @MainActor with @State for ownership and @Bindable or @Environment for passing. Avoid ObservableObject, @Published, @StateObject, and @EnvironmentObject unless legacy integration makes them unavoidable.

Does this SwiftUI review work for macOS and watchOS apps?

Yes, the review detects the project's actual platform and OS floor from Package.swift or project settings rather than assuming iOS. SwiftUI spans iOS, macOS, iPadOS, watchOS, tvOS, and visionOS, and AppKit interop on macOS is treated as expected.

Can I review only one area like accessibility or performance?

Yes, pass a focus area argument such as accessibility, performance, navigation, or data to load only that area's reference rules and report on it alone. With no focus area, all nine areas are checked top-to-bottom.

Why should icon-only buttons be avoided in SwiftUI?

Icon-only buttons are invisible to VoiceOver unless they include a text label. Use Button("Label", systemImage: "plus", action: myAction), and apply .labelStyle(.iconOnly) only when the button must remain visually icon-only.