iPhone Duo Agent Skills

Five coordinated Agent Skills that get SwiftUI and UIKit apps ready for iPhone Duo —
the outer display, the regular-by-regular inner display, vertical bars, the hinge,
multiple displays and windows, and the two front cameras. They work in any AI coding
tool that supports the Agent Skills open format.
The skills turn Apple's six iPhone Duo tech talks, the Designing for iPhone Duo
guidelines, the Preparing your app for iPhone Duo guide and Modernize your UIKit
app (WWDC26) into a repeatable workflow: measure the project, check what the installed
SDK can actually compile, propose a tiered plan where every item cites the session and
timestamp (or documentation section) it comes from, and change code only after you
approve it.
Website: https://blog.kakoulin.com/apps/iphone-duo-agent-skills
Who this is for
- iOS teams shipping on the iOS 27 / 27.1 SDK who need to know what breaks on iPhone Duo
- Apps with
UIScreen.main, orientation or idiom checks that now misbehave in resizable
environments — iPhone Duo, iPhone Mirroring on the Mac, iPhone apps on iPad
- Apps whose toolbars should work with iPhone Duo's vertical bars
- Reading, media, camera and creative apps that want to use the fold, the hinge and the
outer display well
What it checks
- Launch blockers — app lifecycle without UIScene, which no longer launches with the
latest SDK
- Legacy screen assumptions —
UIScreen.main, screen bounds as available space,
idiom and orientation layout forks, global keyWindow / connectedScenes.first
- Vertical bars — standalone bars the system ignores, item order, titles and symbols,
badges, axis behavior, overflow consolidation, visibility priority, compression, opt-out,
and hand-built bars that must find the system bar's slot themselves
- Layout — size classes on a regular-width iPhone, standard containers, sidebar
placement, asymmetric safe areas, content spanning the fold, displacement, reserved
regions, split and overlay arrangements, and what no container moves for you:
sheets in folded poses, collection-view sections and
WKWebView content
- Displays and scenes — hinge-driven interactions, Split View multitasking, scene
requests that fail on the outer display, scene and camera capture accessories
- Cameras — the virtual front camera, cameras that change direction when the
device opens or closes, preview mirroring and rotation
- Device assumptions — hard-coded Face ID copy and symbols (iPhone Duo has Touch
ID), and whether the app exists in StandBy on the outer display at all (it needs a
widget or Live Activity)
- SDK reality — which of those APIs exist in the Xcode you have, what each linked
SDK gets on iPhone Duo, where Apple's sample code and the SDK disagree, and which
behaviors the iPhone Duo simulator cannot verify at all
Every automated rule is listed with its source in READINESS-CHECKS.md.
Plan before patch
Adapting an app for a new device touches layout everywhere, so the skills treat
“make it ready for iPhone Duo” as permission to investigate, not to rewrite.
Before anything changes, you get for every recommendation:
- A stable item ID you can approve
- The finding with
file:line
- Why it matters on iPhone Duo
- The Apple session and timestamp it comes from
- Whether the selected SDK can compile it, or which SDK it is blocked on
- Risk, and how to verify it in Device Hub
Nothing is edited until you approve item IDs. Work is applied one tier at a time, rebuilt
and rescanned. Poses that could not be run are reported as not run, never as passed.
How it works
Unlike text-only skills, this repository ships two read-only Python scripts, so your
agent reasons over structured JSON instead of ad-hoc grep output.
When it triggers: