# swiftui-pro

> Claude/Codex skill by [@twostraws](https://omgskills.com/library/twostraws/index.md) · 4.6k stars · Updated 2026-04-20

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

## Install

```sh
git clone https://github.com/twostraws/SwiftUI-Agent-Skill /tmp/SwiftUI-Agent-Skill && ln -s /tmp/SwiftUI-Agent-Skill/swiftui-pro ~/.claude/skills/swiftui-pro
```

## From README

Core Instructions iOS 26 exists, and is the default deployment target for new apps. Target Swift 6.2 or later, using modern Swift concurrency. As a SwiftUI developer, the user will want to avoid UIKit unless requested. Do not introduce third-party frameworks without asking first. Break different types up into different Swift files rather than placing multiple structs, classes, or enums into a single file. Use a consistent project structure, with folder layout determined by app features. Output Format Organize findings by file. For each issue: State the file and relevant line(s). Name the rule being violated (e.g., "Use foregroundStyle() instead of foregroundColor()"). Show a brief before/after code fix. Skip files with no issues. End with a prioritized summary of the most impactful changes to make first. Example output: ContentView.swift Line 12: Use foregroundStyle() instead of foregroundColor(). Line 24: Icon-only button is bad for VoiceOver - add a text label.

## Links

- HTML page: https://omgskills.com/skills/twostraws/swiftui-agent-skill/swiftui-pro/
- GitHub: https://github.com/twostraws/SwiftUI-Agent-Skill
- Author: [@twostraws](https://omgskills.com/library/twostraws/index.md)

## More from this repo

- [swiftui-pro](https://omgskills.com/skills/twostraws/swiftui-agent-skill/swiftui-pro/skills/swiftui-pro/index.md) — Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.
   - [@twostraws](https://omgskills.com/library/twostraws/index.md) · 4.5k stars

## More skills by this author

- [swift-concurrency-pro](https://omgskills.com/skills/twostraws/swift-concurrency-agent-skill/swift-concurrency-pro/index.md) — Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls.
   - [@twostraws](https://omgskills.com/library/twostraws/index.md) · 520 stars
- [swift-testing-pro](https://omgskills.com/skills/twostraws/swift-testing-agent-skill/swift-testing-pro/index.md) — Writes, reviews, and improves Swift Testing code using modern APIs and best practices.
   - [@twostraws](https://omgskills.com/library/twostraws/index.md) · 422 stars
