swiftui-pro
Skill5k starsChanged 7 months agoMITView on GitHub
Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.
7 other projects use a version of this, 5 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- kelvinkosbab/KozBonedited, first seen Aug 22, 2026
- Nelwhix/bloomword for word, first seen Aug 18, 2026
- ingpoc/SKILLSword for word, first seen Aug 10, 2026
- molayab/swift-cli-manageredited, first seen Apr 25, 2026
- henryhudson/swift-claude-skillsedited, first seen Mar 24, 2026
- 199-biotechnologies/swiftui-claude-skillsedited, first seen Mar 19, 2026
Who's talking about twostraws/SwiftUI-Agent-Skill
- @twostraws.bsky.social“Last week I released SwiftUI Pro, a free and open-source agent skill to help everyone write better SwiftUI …”Bluesky · Mar 11, 2026 · 46 likes
- @peterfriese.dev“A new CLI skill to automatically review your SwiftUI codebase for accessibility and best practices. by …”Bluesky · Mar 9, 2026 · 8 likes
- @tom-doerr.bsky.social“https://github.com/twostraws/SwiftUI-Agent-Skill”Bluesky · Jun 1, 2026 · 2 likes
- @tom-doerr.bsky.social“https://github.com/twostraws/SwiftUI-Agent-Skill”Bluesky · Mar 18, 2026 · 2 likes
- android/skills“[Feature] Android/Compose skill for AI Agents/coding assistants”GitHub · Apr 23, 2026 · 1 reactions
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub and Bluesky (21 times).
On GitHub · 16
- Apr 23, 2026[Feature] Android/Compose skill for AI Agents/coding assistants — android/skills1 reaction · 1 comment
- Oct 4, 2026claude-code-plugins.github.twostraws.swiftui-agent-skill: init at 1.1.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.twostraws.swiftui-agent-skill: init at 1.1.0 — sudosubin/agents.nix0 reactions
- Sep 19, 2026Epic: One agent skill + SwiftUI-class native surface so agents can ship lua-objc apps — corepunch/lua-objc0 reactions · 1 comment
- Aug 25, 2026Add the `swiftui-pro` skill — maragudk/fabrik0 reactions
11 more on GitHub
- Aug 25, 2026Add the `swiftui-pro` skill — maragudk/fabrik0 reactions
- Aug 5, 2026fix(install): path C silently skips aggregated externals — warn + install-flat.sh — wei18/apple-dev-skills0 reactions
- Jun 18, 2026Add bootstrap-ios skill — RayFernando1337/rayfernando-skills0 reactions
- May 26, 2026Add twostraws/SwiftUI-Agent-Skill — open-gitagent/registry0 reactions
- May 5, 2026Audit candidate: twostraws/SwiftUI-Agent-Skill — xiaolai/nlpm0 reactions · 59 comments
- Apr 11, 20262026-04-11 - Installable via "npx skill" — adamlyttleapps/claude-skill-app-onboarding-questionnaire0 reactions
- Mar 29, 2026refactoring for alternate distribution? — swiftwasm/Swift-Wasm-Agent-Skill0 reactions
- Mar 15, 2026Embed Swift & Spezi-Specific Skills & Embed In Future CLI Setup — StanfordSpezi/SpeziVibe0 reactions
- Mar 13, 2026SwiftUI-Agent-Skill — SwiftOldDriver/iOS-Weekly0 reactions
- Mar 9, 2026Batch ingest B: AI source bundle from open issues — joanmarcriera/Home-office-automations0 reactions · 3 comments
- Mar 7, 2026Document the following — joanmarcriera/Home-office-automations0 reactions · 2 comments
On Bluesky · 5
- Mar 11, 2026Last week I released SwiftUI Pro, a free and open-source agent skill to help everyone write better SwiftUI code using agents such as Codex… — @twostraws.bsky.social46 likes and reposts · 4 replies
- Mar 9, 2026A new CLI skill to automatically review your SwiftUI codebase for accessibility and best practices. by @twostraws.bsky.social… — @peterfriese.dev8 likes and reposts · 1 reply
- Jun 1, 2026https://github.com/twostraws/SwiftUI-Agent-Skill — @tom-doerr.bsky.social2 likes and reposts
- Mar 18, 2026https://github.com/twostraws/SwiftUI-Agent-Skill — @tom-doerr.bsky.social2 likes and reposts
- Mar 10, 2026@stroughtonsmith @nicoreese I’m trying this right now, after maneuvering into a SwiftUI deadend with the built-in Codex/Gemini behavior. No… — @timo.social.hetzel.net.ap.brid.gy1 likes and repost
Used with
Projects with it also use swift-concurrency-pro and swift-testing-pro.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
twostrawsSkillswift-concurrency-pro
Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls. Use when reading, writing, or reviewing Swift concurrency code.
Also in 4 projects that use this
twostrawsSkillswift-testing-pro
Writes, reviews, and improves Swift Testing code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use Swift Testing.
Also in 4 projects that use this
Other versions7 projects use a version of this.
Word for word · 2
- ingpoc/SKILLS★ 9100% same
- Nelwhix/bloom★ 0100% same
Edited · 5
- kingsidharth/skills★ 1799% same
- 199-biotechnologies/swiftui-claude-skills★ 899% same
- kelvinkosbab/KozBon★ 499% same
- molayab/swift-cli-manager★ 399% same
- henryhudson/swift-claude-skills★ 199% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. 3 are common, 0 are distinctive, and 5 are very specific to this project.
3
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Check for deprecated API using references/api.md.
- Very specific: line 15
Check that views, modifiers, and animations have been written optimally using references/views.md.
- Very specific: line 17
Ensure navigation is updated and performant using references/navigation.md.
- Very specific: line 18
Ensure the code uses designs that are accessible and compliant with Apple’s Human Interface Guidelines using references/design.md.
- Very specific: line 20
Ensure the code is able to run efficiently using references/performance.md.
- Common: line 24
If doing a partial review, load only the relevant reference files.
- Common: line 32
Do not introduce third-party frameworks without asking first.
- Common: line 34
Use a consistent project structure, with folder layout determined by app features.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Review process:
- Check for deprecated API using
references/api.md. - Check that views, modifiers, and animations have been written optimally using
references/views.md. - Validate that data flow is configured correctly using
references/data.md. - Ensure navigation is updated and performant using
references/navigation.md. - Ensure the code uses designs that are accessible and compliant with Apple’s Human Interface Guidelines using
references/design.md. - Validate accessibility compliance including Dynamic Type, VoiceOver, and Reduce Motion using
references/accessibility.md. - Ensure the code is able to run efficiently using
references/performance.md. - Quick validation of Swift code using
references/swift.md. - Final code hygiene check using
references/hygiene.md.
If doing a partial review, load only the relevant reference files.
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 offoregroundColor()"). - 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().
// Before
Text("Hello").foregroundColor(.red)
// After
Text("Hello").foregroundStyle(.red)Line 24: Icon-only button is bad for VoiceOver - add a text label.
// Before
Button(action: addUser) {
Image(systemName: "plus")
}
// After
Button("Add User", systemImage: "plus", action: addUser)Line 31: Avoid Binding(get:set:) in view body - use @State with onChange() instead.
// Before
TextField("Username", text: Binding(
get: { model.username },
set: { model.username = $0; model.save() }
))
// After
TextField("Username", text: $model.username)
.onChange(of: model.username) {
model.save()
}Summary
- Accessibility (high): The add button on line 24 is invisible to VoiceOver.
- Deprecated API (medium):
foregroundColor()on line 12 should beforegroundStyle(). - Data flow (medium): The manual binding on line 31 is fragile and harder to maintain.
End of example.
References
references/accessibility.md- Dynamic Type, VoiceOver, Reduce Motion, and other accessibility requirements.references/api.md- updating code for modern API, and the deprecated code it replaces.references/design.md- guidance for building accessible apps that meet Apple’s Human Interface Guidelines.references/hygiene.md- making code compile cleanly and be maintainable in the long term.references/navigation.md- navigation usingNavigationStack/NavigationSplitView, plus alerts, confirmation dialogs, and sheets.references/performance.md- optimizing SwiftUI code for maximum performance.references/data.md- data flow, shared state, and property wrappers.references/swift.md- tips on writing modern Swift code, including using Swift Concurrency effectively.references/views.md- view structure, composition, and animation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

