
swiftui-expert-skill
Expert SwiftUI code review, refactoring, and implementation guidance
by avdleeFree
Description
swiftui-expert-skill is an agent skill for reviewing, refactoring and implementing SwiftUI code for iOS and macOS. It covers state management and the @Observable data flow, view composition, resizable layouts and performance, and it spans iOS 15 through iOS 26 and macOS. Its operating rules tell the agent to treat each View as an invalidation boundary, giving each view only the data it reads and keeping fast-changing dependencies close to the smallest subtree that needs them. The skill flags hard-deprecated APIs and suggests modern replacements, and during feature work it flags soft-deprecated APIs without forcing a change. When a version-specific API is involved, it gates the code by the operating system version. The skill prefers native SwiftUI APIs over UIKit or AppKit bridging unless bridging is necessary, and it focuses on correctness and performance rather than enforcing an architecture such as MVVM or VIPER. It encourages separating business logic from views so the code can be tested, and it follows Apple's Human Interface Guidelines. The reference notes include a list of the latest APIs to search when migrating code. It is part of the avdlee swiftui-agent-skill repository and is added to a compatible agent with the skills command. It suits developers who want an agent to review SwiftUI changes against current practice.…
Highlights
- Reviews and refactors SwiftUI code
- @Observable state management guidance
- Flags deprecated APIs with modern replacements
- Version-gated APIs from iOS 15 to iOS 26
Ratings & Reviews
No ratings yet
Be the first to rate swiftui-expert-skill.
People also visit
swiftui-expert-skill FAQ
What does the swiftui-expert-skill do?
It helps an agent review, refactor and write SwiftUI code for iOS and macOS, with attention to state, layout and performance.
Which versions does it cover?
From iOS 15 through iOS 26 and macOS, with version-gated APIs where a newer feature is used.
Does it force an architecture?
No. It focuses on correctness and performance and does not enforce MVVM, VIPER or any other pattern.
How does it handle deprecated APIs?
It replaces hard-deprecated APIs and flags soft-deprecated ones during feature work, leaving them in place.
How do I install it?
Run: npx skills add https://github.com/avdlee/swiftui-agent-skill --skill swiftui-expert-skill
What security audits has it passed?
Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best swiftui-expert-skill alternatives?
Popular alternatives to swiftui-expert-skill include swiftui-pro, swiftui-view-refactor and swift-expert. See all swiftui-expert-skill alternatives











