swiftui-pro

Reviews SwiftUI code for modern API usage, accessibility, performance, and data flow correctness.

70|4|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/AlexW00/Zettel --skill swiftui-pro-alexw00
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: swiftui-pro
Source: https://github.com/AlexW00/Zettel/tree/main/.agents/skills/swiftui-pro
Command: npx skills add https://github.com/AlexW00/Zettel --skill swiftui-pro-alexw00

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? SwiftUI evolves rapidly, and codebases accumulate deprecated APIs, inefficient patterns, and accessibility gaps that are hard to catch manually. This Skill performs a structured, rule-based review of Swift and SwiftUI code so issues are found before they reach production. ## Core Features & Use Cases - Nine-dimension code review: Checks deprecated APIs, view structure, data flow, navigation, design, accessibility, performance, Swift concurrency, and code hygiene using dedicated reference guides. - Actionable findings: Reports each issue with file, line, the rule violated, and a before/after code fix, ending with a prioritized summary. - Partial reviews: Load only the relevant reference files when reviewing a specific concern, such as accessibility or performance. - Use Case: Before shipping an iOS 26 app update, run a full review to replace deprecated modifiers like foregroundColor(), fix icon-only buttons that break VoiceOver, and move expensive logic out of view bodies. ## Quick Start Review the SwiftUI code in this project and report any deprecated APIs, accessibility issues, and performance problems with suggested fixes.

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 SwiftUI code review that checks for deprecated patterns like foregroundColor(), cornerRadius(), NavigationView, and tabItem(). Each finding includes the modern replacement, such as foregroundStyle() or NavigationStack, with a before/after code example.

What should a SwiftUI code review checklist include?▼

A thorough review covers modern API usage, view structure and composition, data flow with @Observable, navigation with NavigationStack, accessibility including VoiceOver and Dynamic Type, performance, Swift concurrency, and general code hygiene.

Does this review support iOS 26 and Swift 6?▼

Yes, the review targets iOS 26 as the default deployment target and Swift 6.2 or later with modern Swift concurrency. It flags GCD usage, missing @MainActor annotations on @Observable classes, and legacy ObservableObject patterns.

Can I review only accessibility or performance issues in SwiftUI?▼

Yes, partial reviews are supported by loading only the relevant reference file, such as accessibility.md for VoiceOver and Dynamic Type checks or performance.md for view body and rendering optimization.

Why should icon-only buttons be avoided in SwiftUI?▼

Icon-only buttons are invisible to VoiceOver users. Buttons should always include text, such as Button("Add User", systemImage: "plus", action: addUser), and .labelStyle(.iconOnly) can preserve the visual design while keeping the accessible label.