← all repositories
twostraws/SwiftUI-Agent-Skill

Paul Hudson bottled his SwiftUI expertise so your LLM can drink it

A curated rulebook of SwiftUI pitfalls — deprecated APIs, VoiceOver invisibility, performance traps — packaged as an agent skill for Claude Code, Codex, Cursor, and friends.

★6.4k stars Coding Assistants
SwiftUI-Agent-Skill
Velocity · 7d
+19
★ / day
Trend
↘cooling
star history

What it does

SwiftUI Pro is an agent skill: a distilled set of rules and guidance that gets injected into your AI coding assistant’s context so it writes better SwiftUI. It covers navigation, layout, animations, state management, accessibility, and deprecated API — specifically the mistakes LLMs demonstrably make, like rendering buttons invisible to VoiceOver or reaching for APIs Apple has quietly retired. It builds on Paul Hudson’s existing AGENTS.md work and uses the Agent Skills format, so it plugs into Claude Code, Codex, Gemini, and Cursor alike.

The interesting bit

The curation philosophy is the real product: the contributing guidelines explicitly forbid restating what LLMs already know, because every token of skill text costs money and attention. Only edge cases, surprises, and soft deprecations make the cut — a token-budget-aware style of documentation that’s quietly becoming its own discipline.

Key highlights

  • Targets iOS 26+ and Swift 6.2+, so it steers agents toward the modern API surface rather than 2019-era habits.
  • Can be invoked as a slash command (/swiftui-pro) or via natural language, with partial scopes like “focus on accessibility” or “check for deprecated API.”
  • Part of a family: sibling skills exist for SwiftData, Swift Concurrency, and Swift Testing.
  • MIT-licensed, including for commercial use.

Caveats

  • The README doesn’t enumerate the actual rules or how many there are — you have to install it (or read the repo) to see the substance.
  • Requires a recent iOS/Swift target; projects supporting older OS versions may get advice that doesn’t apply.

Verdict

If you let an agent write SwiftUI and have ever winced at its output, this is a cheap, well-sourced upgrade. If you don’t use AI coding tools, it’s a well-organized checklist you can still read for free — but that’s a different product.

Frequently asked

What is twostraws/SwiftUI-Agent-Skill?
A curated rulebook of SwiftUI pitfalls — deprecated APIs, VoiceOver invisibility, performance traps — packaged as an agent skill for Claude Code, Codex, Cursor, and friends.
Is SwiftUI-Agent-Skill open source?
Yes — twostraws/SwiftUI-Agent-Skill is open source, released under the MIT license.
How popular is SwiftUI-Agent-Skill?
twostraws/SwiftUI-Agent-Skill has 6.4k stars on GitHub and is currently cooling off.
Where can I find SwiftUI-Agent-Skill?
twostraws/SwiftUI-Agent-Skill is on GitHub at https://github.com/twostraws/SwiftUI-Agent-Skill.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.