Skip to content
SwiftSkills

iPhone Duo AI skills: get your app ready with Claude Code, Codex and Cursor

Start with Apple's own app resizability skill: ask Xcode 27.1's coding assistant to "get my app ready for iPhone Duo", or export it for Claude Code, Codex or Cursor with xcrun agent skills export. Apple says it finds most issues, not all. Add a Duo skill for vertical bars, reserved regions, arrangement views, cameras and pose testing.

Last updated:

What Apple confirms about iPhone Duo

FactWhat Apple says
Device"The first foldable iPhone": a 7.6-inch inner display and a 5.4-inch outer display
AvailabilityPre-orders from 16 Oct 2026; on sale from 23 Oct 2026 in more than 70 countries and regions, 28 more on 30 Oct
OS and toolsShips with iOS 27.1. Xcode 27.1 "adds development support for iPhone Duo" (iOS 27.1 SDK, Swift 6.4; needs macOS Tahoe 26.6 or later)
TestingiPhone Duo simulator in Xcode 27.1, the resizable simulator in Device Hub, and iPhone Mirroring on macOS 27
ScreenshotsOuter display 1398 × 2034 px, inner display 2007 × 2853 px (or landscape). Duo screenshots earn an "optimized for iPhone Duo" badge
Upcoming requirementDuo screenshots required from April 2027 (details under App Store)

What your build SDK means on iPhone Duo

Built withWhat Apple says happens
iOS 26 SDK or earlierRuns, but doesn't adapt: centred with empty space on the open device; left of the status bar and camera on the outer display
iOS 27 SDKFills most of the inner display but still avoids the status bar on the right edge
iOS 27.1 SDK or laterOptimized: full display, with toolbars and tab bars shown vertically below the status bar

Apple's warning for the last row: before shipping a 27.1 build, make sure your content adapts to bars becoming vertical.

Step 1: run Apple's skill (in Xcode or your own agent)

Apple's "Three steps to make your app shine on iPhone Duo" starts with an agent skill, not a checklist:

  1. In Xcode 27.1: ask the coding assistant to "get my app ready for iPhone Duo." The skill scans your project and explains and suggests a fix for each issue.

  2. In Claude Code, Codex, Cursor or another agent: run xcrun agent skills export in Terminal and install the exported skill in your agent's skills folder.

  3. Review what it misses. Apple: "The skill finds most issues, but not all of them."

Per Apple's page, the skill scans for the Step 2 patterns: UIScreen.main sizing, orientation-based layout, idiom or "regular width means iPad" checks, hard-coded device sizes and full-bleed media. The Duo-only APIs (vertical bars, reserved regions, arrangement views, two front cameras) are documented in a separate article, "Preparing your app for iPhone Duo". That is where the third-party skills below add most. Agent setup inside Xcode is covered in the Xcode agents setup guide.

Step 2: the APIs a Duo skill should know

Every name below appears in Apple's "Preparing your app for iPhone Duo" or the HIG page "Designing for iPhone Duo". If an agent writes a Duo symbol that isn't here or in Apple's docs, check it before you build.

TaskSwiftUIUIKit
Size from your window, not the screenGeometryReader, onGeometryChangeview.bounds / window.bounds, viewWillTransition(to:with:)
Control whether bars go verticaltoolbarVerticalBehavior(_:)preferredVerticalBarBehavior
Which edge the vertical bar is ontoolbarVerticalEdge (environment)verticalBarEdge (trait)
Sheet placementpresentationPlacement(_:)preferredPlacement
Pinned, prioritized and overflow itemstopBarPinnedTrailing, visibilityPriority(_:), axisBehavior(_:), ToolbarOverflowMenupinnedTrailingGroup, visibilityPriority, axisBehavior, additionalOverflowItems
Content under barsbackgroundExtensionEffect()UIBackgroundExtensionView
Two panes across the foldArrangementViewUIArrangementViewController
Keep controls clear of the fold and camerasGeometryProxy.reservedRegions(kind:options:layoutDirectionBehavior:), ReservedRegionreservedRegions(kind:options:)
Two front camerasAVKit: choosing a camera by the direction it facesAVFoundation: registering a camera capture accessory on iPhone Duo

Two HIG rules agents often miss: toolbar items need both an icon and a title (text-only or custom-view items aren't shown in vertical bars), and vertical controls stay on the same side in right-to-left languages.

iPhone Duo skills compared

Stars and last push from the GitHub API on 23 Oct 2026. ⚠ means no push for more than four weeks; the Duo APIs are young, so check how recently a skill was updated.

Skill (author)FocusInstallLicense★Last push
iPhone Duo Skills (mirzaaghazadeh)11 skills from Apple's Tech Talks, HIG and Prepare checklist, with API reference sheetsnpx skills add mirzaaghazadeh/iphone-duo-skillsMIT19323 Oct
FWC SwiftUI Skills (FloWritesCode)SwiftUI pack; its swiftui-iphone-duo skill covers vertical bars, arrangement views, hinge and camera accessoriesnpx skills add FloWritesCode/fwc-swiftui-skills (README: --skill <name> for one skill)MIT4358 Oct
Duology (Kimeur)30 skills in 5 Claude Code plugins plus /duo-doctor, /duo-audit, /duo-poses, /duo-review/plugin marketplace add Kimeur/duologyMIT2120 Oct
iPhone Duo Skill (d-date)Layout, bars, scenes, two cameras, App Store checklist; from six Tech Talks and two Group Labsnpx skills add d-date/iphone-duo-skillMIT4215 Oct
iPhone Duo adaptation (sven-ericmolzahn)Adaptation skill; README says code samples are type-checked against the SDKgit clone, then symlink into ~/.claude/skillsMIT1824 Sep ⚠
iPhone Duo Skills (hechen)8 skills incl. a pose-and-transition QA matrixnpx skills@1.5.25 add hechen/iphone-duo-skills --skill '*'MIT427 Sep
Apple iPhone Duo Skill (DanielJamesTronca)Prepare, implement and review with iOS 27 and 27.1 guidancenpx skills add DanielJamesTronca/apple-iphone-duo-skill -gMIT21 Oct
iphone-duo audit (mattbirchler)Audit, fix and verify on the Duo simulator; downloads Apple's Duo docs locallygit clone into ~/.claude/skills/iphone-duoMIT819 Sep ⚠
iOS Skills (MarceloPrado)Audits every screen in every pose on the simulator, proposes HIG layoutsnpx skills@latest add MarceloPrado/skillsMIT222 Oct
iPhone Duo plugin (anatoliykant)Adaptation skill, 23-category grep audit, Figma/Sketch HIG design reviewclaude plugin marketplace add anatoliykant/iphone-duo-pluginMIT013 Oct
iPhone Duo Design & Implementation (tudorturcanu)Design and audit skill with a read-only scannernpx skills add tudorturcanu/iphone-duo-skill -gMIT121 Oct
iPhone Duo Agent Skill (Erikote04)Apple-docs-first migration plan for SwiftUI, UIKit and mixed appsnpx skills add Erikote04/iphone-duo-skill --skill iphone-duo-skillMIT015 Sep ⚠
iphone-duo-design (Belweave)Design toolkit: size classes, side bars, reserved regions, split and arrangement views, gamesclaude plugin marketplace add Belweave/iphone-duo-designMIT317 Oct
UIKit Objective-C Skills (Cooooper)UIKit and Objective-C: UIArrangementViewController, reserved regions, hybrid WKWebView/Flutter hostsnpx skills add Cooooper/uikit-objc-skills --skill uikit-iphone-duoMIT023 Oct
iphone-duo-fit (Pursuitli)Fits SwiftUI and web/Capacitor apps to every pose; sizes measured on the simulatorclaude plugin marketplace add Pursuitli/iphone-duo-skillsMIT324 Sep ⚠
iPhone Duo Capacitor Skills (erkamyaman)Capacitor and Ionic on iPhone Duo and Android foldables (beta)npx skills add erkamyaman/iphone-duo-capacitor-skills@capacitor-foldableMIT220 Oct
hinge (artemnovichkov)CLI and skill that set the Duo simulator's hinge angle and posturebrew install artemnovichkov/tap/hingeMIT1921 Oct
store-screenshots-panorama (zaferayan)App Store screenshot sets incl. Duo outer and inner sizesnpx skills add zaferayan/store-screenshots-panorama-skillMIT2515 Oct

Plugin rows show the first install line only; each README gives the second (/plugin install …) and the line for other agents. The iphone-duo-skills repository's GitHub license field reads NOASSERTION because its LICENSE file adds a trademark note to the MIT text.

Which one fits:

  • Native SwiftUI app: Apple's skill first, then one broad Duo skill (iPhone Duo Skills, d-date, hechen or the FWC swiftui-iphone-duo skill).

  • UIKit or Objective-C: UIKit Objective-C Skills.

  • Capacitor, Ionic or web views: iPhone Duo Capacitor Skills or iphone-duo-fit.

  • Audit before you change code: the anatoliykant plugin, the mattbirchler skill or tudorturcanu's scanner.

  • Designers reviewing mockups: the anatoliykant hig-design-review skill or iphone-duo-design.

  • Simulator checks across poses: hinge.

Only one Duo skill at a time: several skills with overlapping triggers give an agent conflicting instructions. For general SwiftUI skills see the best Claude Code skills for SwiftUI.

Step 3: test on the simulator, Device Hub and iPhone Mirroring

Apple lists three ways to test resizing: the iOS resizable simulator in Device Hub, iPhone Mirroring on macOS 27 (resize the window to extremes in both directions) and the iPhone Duo simulator in Xcode 27.1, which Apple calls "the best way to test the full native experience". Device Hub also previews the poses (book-style, laid flat, standing).

Known issues in the Xcode 27.1 release notes:

  • The first Simulator launch can take several minutes.

  • StandBy isn't available in the iPhone Duo Simulator runtime.

  • Running and debugging most app extensions isn't available there either.

Plan device testing for extensions. To let an agent drive the simulator, see iOS simulator MCP servers; for agent-written UI tests, iOS UI testing with AI agents.

App Store: badge and the April 2027 screenshot rule

  • Submit iPhone Duo screenshots (outer 1398 × 2034, inner 2007 × 2853, or landscape) and your product page shows a badge saying the app is optimized for iPhone Duo.

  • App Store Connect has a new preview tool for Duo assets. A featuring nomination can note that the app supports all poses.

  • April 2027: Apple's screenshot specification says Duo screenshots "will be required for any app using the iOS 27.1 SDK or later". The 5 Oct developer news says it more broadly: "any apps or games submitted will need to include screenshots for iPhone Duo". Plan for the broader reading.

Tools that generate store screenshots are compared in App Store screenshots and ASO with AI tools.

FAQ

Does Apple provide an AI skill for iPhone Duo?
Yes. Xcode 27.1 includes an app resizability skill: ask Xcode's coding assistant to get your app ready for iPhone Duo, or export it for other agents with xcrun agent skills export. Apple says it finds most issues, but not all of them.
Can I use Claude Code, Codex or Cursor for iPhone Duo?
Yes. Export Apple's skill with xcrun agent skills export, or install a third-party Duo skill with npx skills add or a Claude Code plugin. You still need Xcode 27.1 and the iOS 27.1 SDK to build and to run the iPhone Duo simulator.
Do I need to rebuild my app for iPhone Duo?
Apps built with older SDKs still run, but don't use the whole display. An iOS 27 SDK build fills most of the inner display. An iOS 27.1 SDK build is optimized: full display with vertical toolbars and tab bars. Apple asks developers to recompile with Xcode 27.1.
How do I test my app on iPhone Duo without the device?
Use the iPhone Duo simulator in Xcode 27.1, which Apple calls the best way to test the full native experience, plus the resizable simulator in Device Hub and iPhone Mirroring on macOS 27. StandBy and most app extensions don't run in the Duo simulator.
Are iPhone Duo screenshots required on the App Store?
Not yet. From April 2027 Apple will require iPhone Duo screenshots; its specification ties this to apps built with the iOS 27.1 SDK or later. Submitting them now adds an optimized for iPhone Duo badge to your product page. Sizes are 1398 x 2034 outer and 2007 x 2853 inner.