Swiftui Iphone Duo

Adapts and reviews SwiftUI apps for iPhone Duo (Xcode 27.1 / iOS 27.1 SDK) and continuously changing window sizes. Use when supporting the foldable iPhone Duo, outer or inner display, vertical bars (toolbarVerticalBehavior, axisBehavior, visibilityPriority, ToolbarOverflowMenu), sheet placement, reserved regions and the fold, ArrangementView, onHingeChange, CameraCaptureAccessory, NavigationSplitView, adaptive TabView sidebar, ViewThatFits, AnyLayout, or when replacing UIDevice / UIScreen.main / idiom / orientation layout branches.

470 stars 23 forksMobile Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add FloWritesCode/fwc-swiftui-skills --skill swiftui-iphone-duo
Manual install
git clone --depth 1 https://github.com/FloWritesCode/fwc-swiftui-skills.git /tmp/fwc-swiftui-skills
mkdir -p ~/.claude/skills
cp -r /tmp/fwc-swiftui-skills/.agents/skills/swiftui-iphone-duo ~/.claude/skills/swiftui-iphone-duo

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# SwiftUI iPhone Duo

**Do not design a separate “Duo version” of the app.**

Start with an adaptive SwiftUI interface that works across continuously changing widths and heights. Add Duo-specific behavior only when the fold, hinge, second display, or vertical system bars materially improve the experience.

The target is not “Make this app support iPhone Duo.” The target is:

**Make this app excellent at every size, then use Duo's unique hardware where it creates additional value.**

Before reviewing or changing layout, read the full rulebook: [reference.md](reference.md).

## When to use

- User asks to support **iPhone Duo**, a **foldable iPhone**, **hinge**, **fold**, or **two displays**.
- User asks for **adaptive SwiftUI layout** across compact → wide, including **multitasking**.
- Code uses `UIDevice`, `UIScreen.main` (bounds or scale), idiom, orientation, `isDuo`, or `isFolded` for layout.
- Work involves vertical bars, toolbar item ordering/overflow, sheet placement, `ArrangementView`, reserved regions, `onHingeChange` / `UIHingeInteraction`, or `CameraCaptureAccessory`.
- The project moves to the iOS 27.1 SDK (that build is what turns on full-screen layout and vertical bars).

## Related skills

| Skill | When to load |
|-------|--------------|
| **swiftui-liquid-glass** (this repo) | System bars and glass chrome on iOS 26+ |
Read the full skill on GitHub

Details

Skill name
swiftui-iphone-duo
Path
.agents/skills/swiftui-iphone-duo/SKILL.md
License
MIT
Repo updated
8 October 2026

FAQ

What does the Swiftui Iphone Duo skill do?

Adapts and reviews SwiftUI apps for iPhone Duo (Xcode 27.1 / iOS 27.1 SDK) and continuously changing window sizes. Use when supporting the foldable iPhone Duo, outer or inner display, vertical bars (toolbarVerticalBehavior, axisBehavior, visibilityPriority, ToolbarOverflowMenu), sheet placement, reserved regions and the fold, ArrangementView, onHingeChange, CameraCaptureAccessory, NavigationSplitView, adaptive TabView sidebar, ViewThatFits, AnyLayout, or when replacing UIDevice / UIScreen.main / idiom / orientation layout branches.

How do I install the Swiftui Iphone Duo skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add FloWritesCode/fwc-swiftui-skills --skill swiftui-iphone-duo. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Swiftui Iphone Duo popular?

It lives in FloWritesCode/fwc-swiftui-skills, which has 470 GitHub stars and 23 forks.

Related skills

Swiftui Liquid Glass

470

FloWritesCode/fwc-swiftui-skills

Implement, review, and refactor SwiftUI features using the iOS 26+ Liquid Glass API. Use when adopting Liquid Glass in new UI, converting existing surfaces to glass, reviewing glass usage for correctness, or fixing common Liquid Glass pitfalls (custom blur stacks, scroll views, button shapes, bottom bars, pre-enclosed symbols).

Mobile Development23

Litert Runtime

499

google-ai-edge/litert-samples

Configures and implements LiteRT (.tflite) on-device inference on Android in Kotlin using the CompiledModel API on CPU and GPU. Use this skill for any Android LiteRT or .tflite task, including Gradle setup, image classification or vision/audio/embedding helpers, TensorBuffer reuse, CPU memory optimization, Bitmap preprocessing, AndroidViewModel GPU-to-CPU fallback with warm-up on a single-thread dispatcher, LiteRT in Google Play services (play-services-litert), migrating from legacy org.tensorflow.lite.Interpreter, GpuDelegate, or play-services-tflite, and latency benchmarking. Don't use for r

Mobile Development134

Vercel React Native Skills

398

JetBrains/skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

Mobile DevelopmentIn 2 lists35

Litert Lm

499

google-ai-edge/litert-samples

Builds an Android app that runs an open text LLM on the device, on the CPU or the GPU, with the LiteRT-LM Kotlin API (com.google.ai.edge.litertlm:litertlm-android). Use this skill when creating a chat, summarization, or extraction feature with a .litertlm model from Hugging Face litert-community (Gemma, Qwen, Llama, Phi), including the Gradle dependency, the GPU manifest entries, getting the model file onto the device, Engine initialization off the main thread, a streamed multi-turn Conversation with sendMessageAsync, and the AndroidViewModel and Compose screen. Don't use for running .tflite v

Mobile Development134

App Store Optimization

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

Mobile Development146

Senior Mobile

1.2k

borghei/Claude-Skills

Mobile development across SwiftUI, Jetpack Compose, React Native (Expo) and Flutter: scaffolding, feature architecture, static performance checks and store listings. Use when building, optimizing or shipping a mobile app.

Mobile DevelopmentIn 1 list217

Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.