SwiftUI production intelligence for Claude Code and Codex
real-world SwiftUI for coding agents — grounded in 1,857 shipping macOS apps.

coding agents write bad swiftui. not wrong-syntax bad — confidently-stale bad. deprecated modifiers, api shapes that never existed, idioms from wwdc three years ago. the docs tell an agent what an api does; they don't tell it how 2026 shipping mac apps actually use it.
this plugin fills that gap. it gives the agent a queryable corpus of 1,857 real open-source macOS apps — parsed with swiftsyntax (apple's own compiler parser, not regex), ranked by code quality, and wrapped in a cli that answers one question: how do actual shipping apps write this?
every result carries a github permalink pinned to a commit sha and links to the matching sosumi.ai doc so the spec and the practice are always one hop apart.
on top of the lookup layer sits a complete macOS swiftui audit suite — 29 skill-driven domain auditors, each backed by a 334-rule static lint engine that locates candidates and lets claude judge.
the numbers
| |
|---|
| repos analyzed | 1,857 open-source macOS SwiftUI apps |
| parser | swiftsyntax — exact attributes, modifiers, property wrappers, call shapes; not regex |
| sdk surface | macOS 26.5 .swiftinterface + swift symbolgraph-extract |
| api coverage | 511 modifiers · 402 types · ~120 style values · property wrappers · env keys · 12 whole-pattern recipes |
| audit rules | 334 total (282 ripgrep + 52 ast-grep structural) |
| skills | 33 — 4 write/lookup + 29 audit |
| explicit workflows | 4 — Claude /swiftui… · Codex $swiftui… |
| quality ranking | composite score: author authority (aggregate stars) + repo stars + api modernity + recency |
install
install
Every plugin of ours is installed once, globally, and off, then turned on per project. Nothing runs and no tokens are spent in chats that don't switch it on. It works the same in Claude Code and Codex.
1. install it globally
Claude Code
claude plugin marketplace add yigitkonur/plugin-swiftui
claude plugin install swiftui@claude-swiftui-plugin -s user # stays off: defaultEnabled is false in the manifest
Codex (0.163+)
codex plugin marketplace add yigitkonur/plugin-swiftui
codex plugin add swiftui@claude-swiftui-plugin
codex-plugin-project.sh global-off swiftui@claude-swiftui-plugin # Codex has no enable/disable command; this keeps it off everywhere
All our plugins, both hosts, plus the plugin command and the 6-hourly update job, in one line:
curl -fsSL https://raw.githubusercontent.com/yigitkonur/plugin-kit/main/install.sh | sh -s -- --all
2. turn it on in a project
cd your-project
plugin on swiftui # Claude Code and Codex, this folder only
plugin off swiftui # undo
plugin # or pick from a list (TUI)
By hand, without the plugin command:
claude plugin enable swiftui@claude-swiftui-plugin --scope project # undo: claude plugin disable swiftui@claude-swiftui-plugin --scope project
codex-plugin-project.sh on swiftui@claude-swiftui-plugin . --trust # undo: codex-plugin-project.sh off swiftui@claude-swiftui-plugin
Restart claude / codex in that folder afterwards.
Codex reads a folder's .codex/config.toml only when the folder is trusted; --trust adds that, and it also enables the folder's hooks and rules, so use it for your own projects only. plugin and codex-plugin-project.sh come from plugin-kit (the one-line installer above).
3. updates
A plugin updates only when its version changes, and this repo's release workflow bumps it on every shipped change. Machines pick it up with plugin update, or by themselves with the 6-hourly job (plugin autoupdate install). By hand:
claude plugin marketplace update claude-swiftui-plugin && claude plugin update swiftui@claude-swiftui-plugin
codex plugin marketplace upgrade claude-swiftui-plugin # then start a new session
No GitHub SSH key on the machine? export CLAUDE_CODE_PLUGIN_PREFER_HTTPS=1 (plugin install sets it in Claude's settings for you).
4. uninstall
claude plugin uninstall swiftui@claude-swiftui-plugin -s user
claude plugin marketplace remove claude-swiftui-plugin
codex plugin remove swiftui@claude-swiftui-plugin
codex plugin marketplace remove claude-swiftui-plugin