For AI agents

The app's 117 iPhone and iPad pages and 98 Mac pages, rewritten as 183 short topics for coding agents. Free and open source.

Coding agents write SwiftUI that builds, but they miss Apple's design and App Review rules, and their training predates the newest APIs. This pack gives your agent what it gets wrong or doesn't know yet: current SwiftUI for iOS and macOS 26 and 27, Apple's design guidelines as rules with reasons, App Review rules with their guideline numbers, and a linter. Topics load only when a task needs them, and they link to Apple's own docs instead of copying them.

Does it help?

We gave Claude Code 23 SwiftUI tasks in a fresh Xcode project, twice each, and an LLM judge scored the code against a rubric for each task (October 2026).

AgentWithout the packWith the skills and primer
Claude Sonnet 5.57.2 / 1088% of criteria met8.4 / 1097%
Claude Opus 5.58.3 / 1096%8.6 / 1098%

With the pack, Sonnet does about as well as Opus without it. The gains come from Apple's design and App Review rules more than from deprecated APIs, which neither model used much. Without the pack, Sonnet never offered the in-app account deletion App Review requires. Opus gains less, since it already got most of it right. Method, per-task results, and limits.

Four skills

Install

Any agent

Claude Code, Codex, Cursor, Copilot, Gemini CLI, and others, with the skills CLI. It knows where each agent looks for skills.

npx skills add tylerbecks/swiftui-for-humans

Claude Code

The plugin adds a /swiftui-review command and a hig-reviewer subagent.

/plugin marketplace add tylerbecks/swiftui-for-humans
/plugin install swiftui-for-humans@swiftui-for-humans

To have Claude lint every .swift file it edits, also install the opt-in hook: /plugin install swiftui-lint-hook@swiftui-for-humans. Set SWIFTUI_LINT_TARGET (like "iOS 17") to your deployment target.

Codex

codex plugin marketplace add tylerbecks/swiftui-for-humans

Then install swiftui-for-humans from /plugins. Or copy the skill folders into .agents/skills/ in your project.

Xcode 27

Copy the four folders from agent/skills into ~/Library/Developer/Xcode/CodingAssistant/ClaudeAgentConfig/skills/ for Claude, or ~/Library/Developer/Xcode/CodingAssistant/codex/skills/ for Codex. Create the skills folder if it's missing, then restart Xcode.

The primer (recommended)

In our evals, agents opened the skills either way, but only ran the linter when the primer told them to, and Sonnet scored higher with it. Paste AGENTS.snippet.md into your project's AGENTS.md or CLAUDE.md. It's under 8 KB: the target SDKs, the top corrections, and an index of the topic files, with an instruction to read them instead of relying on training data.

Chat apps and other tools

Every topic is a plain Markdown file on this site, listed below. llms.txt indexes them, and llms-full.txt has all of them in one file (790 KB, about 202,000 tokens, so most tools are better off fetching single topics). A remote MCP server for Claude and other chat apps is coming soon.

Topics

Each topic says when to use something and when not to, then gives default code, rules with reasons, pitfalls, and variants, with links to Apple's docs as Markdown.

Start here 6

Build (swiftui-build) 117

Design (apple-design) 30

Ship (app-store-ship) 30

How it's made

One script turns the app's pages into the skills, these topic files, and llms.txt, so the agent pack and the app never drift apart. The source, the linter, and the build steps are on GitHub. Found a mistake? See Support.