/apple-iphone-duo:apple-iphone-duofrom apple-iphone-duo
Prepare, implement, or review iPhone Duo support in SwiftUI, UIKit, and AVFoundation apps. Use for Duo adoption and Duo-specific layout, resizing, and camera work.
Ships in apple-iphone-duo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build one continuous iPhone experience that adapts as its scene changes size, display, and pose. Prefer system containers and local geometry. Add Duo-specific APIs only where they improve the requested experience.
Research baseline: 2026-10-01, Xcode 27.1 beta (27A9269). Consult sources for provenance, unresolved questions, and update rules. SDK version and deployment target are separate decisions. Recheck availability and beta limitations against the SDK actually selected by the project.
Read only the references needed for the task:
| Task | Reference |
|---|---|
| Adoption, compatibility, device family, build settings | adoption |
| Screen/orientation/idiom assumptions, safe areas, cached geometry | resizability |
| Fold/camera avoidance in custom layouts and grids | reserved regions |
| Two-pane content, split/overlay arrangements, collapse and sizing | arrangements |
| Vertical toolbars, tabs, overflow, priority and axis behavior | bars |
| Sheets, popovers, dialogs and presentation anchors | presentations |
| Hinge-driven interactions, motion/location coordinate spaces | hinge and motion |
| Scene lifecycle, multiple windows, state and display transitions | scenes |
| Virtual/physical cameras, handoffs, mirroring, rotation and recording | camera |
| Content on the outer display during capture, including ARKit | camera accessory |
| Widgets, Live Activities, AlarmKit, web content and games | system experiences |
| Device Hub, accessibility, transition tests and release limits | testing |
| Exact new symbols and their introduction versions | API catalog |
Compile-checked SwiftUI, UIKit, camera direction, camera accessory, and aspect-ratio examples accompany the relevant references. They demonstrate API contracts; they are not complete camera apps.
For a review, report concrete affected behavior, file/line, evidence, and the smallest appropriate fix. A review request does not imply permission to rewrite unrelated UI. For implementation, complete the authorized change and its relevant validation.
.phone idiom. There is no supported isDuo switch. Use capabilities and the local layout environment; do not guess from model strings, screen dimensions, or the mere presence of a hinge.UIScreen.main nor a process-wide orientation, window, or idiom answers how much room a view has. Do not replace one with connectedScenes.first, a global key window, or another cached singleton.UIRequiresFullScreen enables discrete resizing in the documented iOS 27 resizable environments. It does not make scene size constant, and it is not simply ignored. Resolve the built configuration before changing it.For an existing Swift/Objective-C/Xcode project, use Python 3.10+ with no additional packages. Resolve <skill-path> from this installed SKILL.md directory, independently of the project's working directory:
python3 <skill-path>/scripts/audit_resizability.py /path/to/project
python3 <skill-path>/scripts/audit_resizability.py /path/to/project --json
The helper identifies candidates for inspection, not proven bugs. It does not edit files or parse Swift semantically. Inspect callers and intent: idiom checks for analytics/assets, physical orientation used by a sensor, fixed control sizes, and documented game resizing choices can be valid. Use resizability to resolve findings.
agents/openai.yaml (opens in a new tab)references/adoption.md (opens in a new tab)references/api-catalog.md (opens in a new tab)references/arrangements.md (opens in a new tab)references/bars.md (opens in a new tab)references/camera-accessory.md (opens in a new tab)references/camera.md (opens in a new tab)references/examples/CameraAccessory.swift (opens in a new tab)references/examples/CameraDirection.swift (opens in a new tab)references/examples/DuoLayout.swift (opens in a new tab)references/examples/DuoUIKit.swift (opens in a new tab)references/examples/DynamicAspectRatio.swift (opens in a new tab)references/hinge-and-motion.md (opens in a new tab)references/presentations.md (opens in a new tab)references/reserved-regions.md (opens in a new tab)references/resizability.md (opens in a new tab)references/scenes.md (opens in a new tab)references/source-index.json (opens in a new tab)references/sources.md (opens in a new tab)references/system-experiences.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub danieljamestronca/apple-iphone-duo-skill --plugin apple-iphone-duo