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
| Fact | What Apple says |
|---|---|
| Device | "The first foldable iPhone": a 7.6-inch inner display and a 5.4-inch outer display |
| Availability | Pre-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 tools | Ships 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) |
| Testing | iPhone Duo simulator in Xcode 27.1, the resizable simulator in Device Hub, and iPhone Mirroring on macOS 27 |
| Screenshots | Outer display 1398 × 2034 px, inner display 2007 × 2853 px (or landscape). Duo screenshots earn an "optimized for iPhone Duo" badge |
| Upcoming requirement | Duo screenshots required from April 2027 (details under App Store) |
What your build SDK means on iPhone Duo
| Built with | What Apple says happens |
|---|---|
| iOS 26 SDK or earlier | Runs, 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 SDK | Fills most of the inner display but still avoids the status bar on the right edge |
| iOS 27.1 SDK or later | Optimized: 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:
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.
In Claude Code, Codex, Cursor or another agent: run
xcrun agent skills exportin Terminal and install the exported skill in your agent's skills folder.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.
| Task | SwiftUI | UIKit |
|---|---|---|
| Size from your window, not the screen | GeometryReader, onGeometryChange | view.bounds / window.bounds, viewWillTransition(to:with:) |
| Control whether bars go vertical | toolbarVerticalBehavior(_:) | preferredVerticalBarBehavior |
| Which edge the vertical bar is on | toolbarVerticalEdge (environment) | verticalBarEdge (trait) |
| Sheet placement | presentationPlacement(_:) | preferredPlacement |
| Pinned, prioritized and overflow items | topBarPinnedTrailing, visibilityPriority(_:), axisBehavior(_:), ToolbarOverflowMenu | pinnedTrailingGroup, visibilityPriority, axisBehavior, additionalOverflowItems |
| Content under bars | backgroundExtensionEffect() | UIBackgroundExtensionView |
| Two panes across the fold | ArrangementView | UIArrangementViewController |
| Keep controls clear of the fold and cameras | GeometryProxy.reservedRegions(kind:options:layoutDirectionBehavior:), ReservedRegion | reservedRegions(kind:options:) |
| Two front cameras | AVKit: choosing a camera by the direction it faces | AVFoundation: 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) | Focus | Install | License | ★ | Last push |
|---|---|---|---|---|---|
| iPhone Duo Skills (mirzaaghazadeh) | 11 skills from Apple's Tech Talks, HIG and Prepare checklist, with API reference sheets | npx skills add mirzaaghazadeh/iphone-duo-skills | MIT | 193 | 23 Oct |
| FWC SwiftUI Skills (FloWritesCode) | SwiftUI pack; its swiftui-iphone-duo skill covers vertical bars, arrangement views, hinge and camera accessories | npx skills add FloWritesCode/fwc-swiftui-skills (README: --skill <name> for one skill) | MIT | 435 | 8 Oct |
| Duology (Kimeur) | 30 skills in 5 Claude Code plugins plus /duo-doctor, /duo-audit, /duo-poses, /duo-review | /plugin marketplace add Kimeur/duology | MIT | 21 | 20 Oct |
| iPhone Duo Skill (d-date) | Layout, bars, scenes, two cameras, App Store checklist; from six Tech Talks and two Group Labs | npx skills add d-date/iphone-duo-skill | MIT | 42 | 15 Oct |
| iPhone Duo adaptation (sven-ericmolzahn) | Adaptation skill; README says code samples are type-checked against the SDK | git clone, then symlink into ~/.claude/skills | MIT | 18 | 24 Sep ⚠ |
| iPhone Duo Skills (hechen) | 8 skills incl. a pose-and-transition QA matrix | npx skills@1.5.25 add hechen/iphone-duo-skills --skill '*' | MIT | 4 | 27 Sep |
| Apple iPhone Duo Skill (DanielJamesTronca) | Prepare, implement and review with iOS 27 and 27.1 guidance | npx skills add DanielJamesTronca/apple-iphone-duo-skill -g | MIT | 2 | 1 Oct |
| iphone-duo audit (mattbirchler) | Audit, fix and verify on the Duo simulator; downloads Apple's Duo docs locally | git clone into ~/.claude/skills/iphone-duo | MIT | 8 | 19 Sep ⚠ |
| iOS Skills (MarceloPrado) | Audits every screen in every pose on the simulator, proposes HIG layouts | npx skills@latest add MarceloPrado/skills | MIT | 2 | 22 Oct |
| iPhone Duo plugin (anatoliykant) | Adaptation skill, 23-category grep audit, Figma/Sketch HIG design review | claude plugin marketplace add anatoliykant/iphone-duo-plugin | MIT | 0 | 13 Oct |
| iPhone Duo Design & Implementation (tudorturcanu) | Design and audit skill with a read-only scanner | npx skills add tudorturcanu/iphone-duo-skill -g | MIT | 1 | 21 Oct |
| iPhone Duo Agent Skill (Erikote04) | Apple-docs-first migration plan for SwiftUI, UIKit and mixed apps | npx skills add Erikote04/iphone-duo-skill --skill iphone-duo-skill | MIT | 0 | 15 Sep ⚠ |
| iphone-duo-design (Belweave) | Design toolkit: size classes, side bars, reserved regions, split and arrangement views, games | claude plugin marketplace add Belweave/iphone-duo-design | MIT | 3 | 17 Oct |
| UIKit Objective-C Skills (Cooooper) | UIKit and Objective-C: UIArrangementViewController, reserved regions, hybrid WKWebView/Flutter hosts | npx skills add Cooooper/uikit-objc-skills --skill uikit-iphone-duo | MIT | 0 | 23 Oct |
| iphone-duo-fit (Pursuitli) | Fits SwiftUI and web/Capacitor apps to every pose; sizes measured on the simulator | claude plugin marketplace add Pursuitli/iphone-duo-skills | MIT | 3 | 24 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-foldable | MIT | 2 | 20 Oct |
| hinge (artemnovichkov) | CLI and skill that set the Duo simulator's hinge angle and posture | brew install artemnovichkov/tap/hinge | MIT | 19 | 21 Oct |
| store-screenshots-panorama (zaferayan) | App Store screenshot sets incl. Duo outer and inner sizes | npx skills add zaferayan/store-screenshots-panorama-skill | MIT | 25 | 15 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-duoskill).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-reviewskill 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.