# SwiftUI Review

Reviews SwiftUI code for modern API use, maintainability and performance.

- Repository: https://github.com/twostraws/SwiftUI-Agent-Skill (6434 stars)
- Category: Mobile
- License: MIT
- Last updated: 2026-10-26
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add twostraws/SwiftUI-Agent-Skill --skill swiftui-pro -g -a claude-code -y`
Codex: `npx skills add twostraws/SwiftUI-Agent-Skill --skill swiftui-pro -g -a codex -y`
Cursor: `npx skills add twostraws/SwiftUI-Agent-Skill --skill swiftui-pro -g -a cursor -y`
Gemini CLI: `npx skills add twostraws/SwiftUI-Agent-Skill --skill swiftui-pro -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add twostraws/SwiftUI-Agent-Skill`

## Description

Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

Review Swift and SwiftUI code for correctness, modern API usage, and adherence to project conventions. Report only genuine problems, do not nitpick or invent issues.

Include deprecated API in review findings. During feature work or bug fixes, complete the requested change and suggest unrelated modernization separately; do not apply it without being asked.

Review process:

1. Check for deprecated API using `references/api.md`.
1. Check that views, modifiers, and animations have been written optimally using `references/views.md`.
1. Validate that data flow is configured correctly using `references/data.md`.
1. Ensure navigation is updated and performant using `references/navigation.md`.
1. Ensure the code uses designs that are accessible and compliant with Apple's Human Interface Guidelines using `references/design.md`.
1. Review layout behavior as windows resize, including iPad multitasking and folding iPhone Duo, using `references/resizability.md`.
1. Validate accessibility compliance including Dynamic Type, VoiceOver, and Reduce Motion using `references/accessibility.md`.
1. Check localized text, formatting, and resource handling using `references/localization.md`.
1. Ensure the code is able to run efficiently using `references/performance.md`.
1. Quick validation of Swift code using `references/swift.md`.
1. Final code hygiene check using `references/hygiene.md`.

If doing a partial review, load only the relevant reference files.

Keep `references/performance-plus.md` out of routine reviews. Load it for a requested deep performance review; its more involved changes can also help investigate an established performance problem.


## Core Instructions

The rest: https://github.com/twostraws/SwiftUI-Agent-Skill/blob/HEAD/swiftui-pro/SKILL.md
