
v4.0.0 absorbs Apple's built-in SwiftUI skill and adds the 11 domains Apple left out — 3.1K stars, 16.6K weekly installs, MIT.
@Animatable. His response was v4.0.0 of swiftui-expert-skill, released June 16 — it absorbs Apple's content and covers everything Apple left out. 1swiftui-expert-skill is a SKILL.md-format agent skill that teaches your coding agent SwiftUI best practices for correctness and performance — without imposing an architecture. The skill's README is explicit: "Non-opinionated: focuses on correctness and performance, not architecture or code style." 4 MVVM, TCA, VIPER — the skill doesn't care. It steers the agent away from patterns known to cause bugs or unnecessary view invalidations.swiftui-specialist was released with Xcode 27. It ships 9 reference files focusing on the SwiftUI invalidation model: the core idea that a view is the smallest unit of invalidation, and that performance problems stem from unnecessarily large invalidation scope. 1
swiftui-specialist: 9 reference files, strong on the invalidation model and localization, silent on Accessibility, Charts, Instruments, macOS, and Liquid Glass 1LocalizedStringKey vs String on non-view types, bundle-scoped strings) and soft-deprecated API tracking. v4.0.0 pulled both of those in. 6swiftui-expert-skill has no equivalent in Apple's built-in skill: a Python-based Instruments trace toolchain bundled in scripts/. 45scripts/record_trace.py wraps xctrace to attach to a running app on device and record a trace. scripts/analyze_trace.py parses the .trace file and outputs diagnostic metrics, with main_running_coverage_pct as the key signal: below 25% means the main thread is blocked (I/O or a lock), at or above 75% means CPU-bound work. The distinction determines two different remediation paths. Pol Piella (@polpielladev), who contributed the feature in v3.0.0, said: "A big part of my day...is diving into Instruments to optimize performance. To speed things up, I'm adding trace recording + analysis to @twannl's SwiftUI Agent Skill." 7xctrace ships with Xcode.npx skills add https://github.com/avdlee/swiftui-agent-skill --skill swiftui-expert-skill/plugin marketplace add AvdLee/SwiftUI-Agent-Skill
/plugin install swiftui-expert@swiftui-expert-skill.claude/settings.json for project-scoped configuration. 4cursor.com/docs/plugins for the install step. 4cp -R swiftui-expert-skill/ "$CODEX_HOME/skills/swiftui-expert-skill"agents/openai.yaml manifest. 4swiftui-expert-skill/ to your agent's skills directory. 4Use the swiftui expert skill and review the current SwiftUI code
for state-management and performance improvements.trace file already on disk):Analyse ~/Desktop/MyApp.trace and tell me what's wrong.
Which of my SwiftUI views is responsible for the hang around 6s?Record a new trace: attach to MyApp on my iPhone — I'll tell you when I'm done.record_trace.py, waits for your signal, then runs analyze_trace.py and reports which views are causing the slowdown. 5analyze_trace.py fails intermittently on certain .trace files. The trace toolchain is the newest and least battle-tested part of the skill.| Skill name | swiftui-expert-skill |
| Repository | AvdLee/SwiftUI-Agent-Skill |
| License | MIT |
| Current version | v4.0.0 (June 16, 2026) |
| GitHub stars | 3,100 2 |
| Weekly installs | 16,600 3 |
| Supported agents | Claude Code, Cursor, Codex, pi, any skills-directory agent 4 |
| Prerequisites | macOS + Xcode (for trace toolchain); skill itself has no other deps |
| Security audits | 3/3 pass (Gen Agent Trust Hub, Socket, Snyk) 3 |
| Open issues | 2 (trace intermittent failure, iOS 18+ scroll APIs missing) 14 |
swiftui-specialist covers the invalidation model well for that narrower scope.github.com
skills.sh
raw.githubusercontent.com
raw.githubusercontent.com
x.com
x.com
x.com
linkedin.com
x.com
github.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.