Agent skill

Iphone Duo React Native

by mirzaaghazadeh in mirzaaghazadeh/iphone-duo-skills

Adapt a React Native or Expo app to iPhone Duo, Apple's first foldable iPhone — asymmetric safe area insets, resize handling, and how to expose the iOS 27.1 reserved-region and hinge APIs through a…

Custom licenceAuto-check passedMobile

Install Iphone Duo React Native

skills CLI
$ npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-react-native -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mirzaaghazadeh/iphone-duo-skills iphone-duo-react-native --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mirzaaghazadeh/iphone-duo-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/iphone-duo-react-native .claude/skills/iphone-duo-react-native && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
iphone-duo-react-native
GitHub stars
142
Token cost
~1.5k tokens
SKILL.md length
819 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
Custom licence

At a glance

Adapt a React Native or Expo app to iPhone Duo, Apple's first foldable iPhone — asymmetric safe area insets, resize handling, and how to expose the iOS 27.1 reserved-region and hinge APIs through a…

  • Works in 5 steps: Swap any Dimensions.get() for… → Swap core SafeAreaView for… → Replace platform/orientation branching… → …
  • JS-based iOS app needs foldable iPhone support
  • SKILL.md covers Tier 1 — works today, no…, Tier 2 — needs a native module and What to do, in order
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Iphone Duo React Native is an agent skill from mirzaaghazadeh/iphone-duo-skills. Adapt a React Native or Expo app to iPhone Duo, Apple's first foldable iPhone — asymmetric safe area insets, resize handling, and how to expose the iOS 27.1 reserved-region and hinge APIs through a native module. Use when a React Native, Expo or JS-based iOS app needs foldable iPhone support.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps and iOS development. It works with React Native, iOS and Expo. The repository describes itself as: Agent skills for building iOS apps on iPhone Duo, Apple's first foldable iPhone — adaptive layout, vertical bars, hinge & scenes, camera, and design review.

When your agent uses it

  • JS-based iOS app needs foldable iPhone support
  • Tasks that involve Cross-platform mobile apps
  • Tasks that involve iOS development

Example prompts

  • “/iphone-duo-react-native”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Swap any Dimensions.get() for useWindowDimensions().
  2. Swap core SafeAreaView for useSafeAreaInsets(), and audit every inset
  3. Replace platform/orientation branching with width breakpoints.
  4. Add a wide-layout path so the inner display earns its size.
  5. Only then write the native module, and only if fold awareness genuinely

What it can do on your machine

Read from SKILL.md and the folder at commit f4ae144. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Iphone Duo React Native loads about 1.5k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 819 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 819 words (~1,468 tokens).

“React Native has no fold or hinge API. There is no useDisplayFeatures, no hinge event, nothing that tells JavaScript the device is folded. As of this writing no React Native or Expo release has shipped iPhone Duo support.”

— opening of SKILL.md by mirzaaghazadeh, Custom licence
name
iphone-duo-react-native

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/iphone-duo-react-native of mirzaaghazadeh/iphone-duo-skills.

Open the folder on GitHubat commit f4ae144

Compare with similar skills

Iphone Duo React Native next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Iphone Duo React Native compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Iphone Duo React Native this skillmirzaaghazadeh/iphone-duo-skills142—~1.5kAutomated safety check: PassCustom licence
Expo Brownfield Integrationmweinbach/agent-coworker1562 repos~900Automated safety check: NotesCustom licence
Expo UIarcboxlabs/linkcode156—~1.2kAutomated safety check: PassMIT
React Native Healthkit Contributingkingstinct/react-native-healthkit716—~1.3kAutomated safety check: PassMIT
Web To Mobilesuntay44/web-to-mobile-magic-plugin107—~781Automated safety check: PassMIT
Mobile Devcallstackincubator/codex-mobile-dev-plugin144—~5.5kAutomated safety check: PassNone

Similar skills

  • Expo Brownfield Integration

    mweinbach/agent-coworker

    Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.

    156 GitHub starsUsed in 2 repos~900 tokens
    MobileAuto-check: notes
  • Expo UI

    arcboxlabs/linkcode

    Framework (OSS). An agent skill from arcboxlabs/linkcode.

    156 GitHub stars~1.2k tokensUpdated 10 days ago
    MobileAuto-check passed
  • React Native Healthkit Contributing

    kingstinct/react-native-healthkit

    How to change the react-native-healthkit monorepo itself (packages/core, packages/react-native-healthkit, packages/health-records, apps/example).

    716 GitHub stars~1.3k tokensUpdated yesterday
    MobileAuto-check passed
  • Web To Mobile

    suntay44/web-to-mobile-magic-plugin

    Orchestrate website or web app conversion into a mobile app.

    107 GitHub stars~781 tokensUpdated 25 days ago
    MobileAuto-check passed
  • Mobile Dev

    callstackincubator/codex-mobile-dev-plugin

    Official

    A skill your agent uses when building, running, changing, or debugging local iOS, Android, Expo, React Native, or SwiftUI apps.

    144 GitHub stars~5.5k tokensUpdated yesterday
    MobileAuto-check passed
  • React Native Expert

    Jeffallan/claude-skills

    Builds React Native and Expo apps for iOS and Android: Expo Router navigation, FlatList tuning, platform-specific code and build error recovery.

    12k GitHub stars~1.7k tokensUpdated 5 days ago
    MobileAuto-check passed

More from mirzaaghazadeh/iphone-duo-skills

All 11 skills in this repo
  • Iphone Duo Adaptive Layout

    mirzaaghazadeh/iphone-duo-skills

    Build layouts that adapt to the iPhone Duo fold using reserved regions, division and occlusion regions, displacement patterns, and the split and overlay ArrangementView containers.

    142 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Iphone Duo Camera

    mirzaaghazadeh/iphone-duo-skills

    Build camera capture for iPhone Duo's two front cameras — the virtual front camera, the inner under-display and outer ultra-wide devices, AVCaptureDeviceDirectionCoordinator, preview mirroring and…

    142 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Iphone Duo Capacitor

    mirzaaghazadeh/iphone-duo-skills

    Adapt a Capacitor or Ionic app to iPhone Duo, Apple's first foldable iPhone — why the standard Device Posture and Viewport Segments CSS does not reach a web view, what CSS gives you today, and how…

    142 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Iphone Duo Dual Pane Patterns

    mirzaaghazadeh/iphone-duo-skills

    Design and build two-pane experiences for iPhone Duo — the real pixel and point dimensions of each display and each half, the exact hinge callback types (onHingeChange / UIHingeInteraction)…

    142 GitHub stars~4.2k tokensUpdated yesterday
    Auto-check passed
  • Iphone Duo Vertical Bars

    mirzaaghazadeh/iphone-duo-skills

    Adapt toolbars, navigation bars and tab bars for the vertical axis on iPhone Duo — item ordering, symbol vs text representations, AxisBehavior, overflow menus, visibility priority, and when to opt…

    142 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Iphone Duo Readiness

    mirzaaghazadeh/iphone-duo-skills

    Audit and port an iOS app to iPhone Duo, Apple's first foldable iPhone.

    142 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Iphone Duo React Native

What does Iphone Duo React Native do?

Adapt a React Native or Expo app to iPhone Duo, Apple's first foldable iPhone — asymmetric safe area insets, resize handling, and how to expose the iOS 27.1 reserved-region and hinge APIs through a…. Iphone Duo React Native is an agent skill from mirzaaghazadeh/iphone-duo-skills.1 reserved-region and hinge APIs through a native module.

When should I use Iphone Duo React Native?

Iphone Duo React Native fits situations like: JS-based iOS app needs foldable iPhone support; tasks that involve Cross-platform mobile apps; tasks that involve iOS development.

How do I install Iphone Duo React Native in Claude Code?

Run `npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-react-native -a claude-code`. Or copy the skill folder (skills/iphone-duo-react-native in mirzaaghazadeh/iphone-duo-skills) into .claude/skills/iphone-duo-react-native in your project. Claude Code loads it when a task matches its description.

How do I install Iphone Duo React Native in Codex?

Run `npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-react-native -a codex`. Or copy the skill folder (skills/iphone-duo-react-native in mirzaaghazadeh/iphone-duo-skills) into .agents/skills/iphone-duo-react-native in your project. Codex loads it when a task matches its description.

Can I use Iphone Duo React Native in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-react-native -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/iphone-duo-react-native, .gemini/skills/iphone-duo-react-native, .github/skills/iphone-duo-react-native and .opencode/skills/iphone-duo-react-native in your project.

What does Iphone Duo React Native need to run?

SKILL.md names no scripts, command-line tools or credentials: Iphone Duo React Native is instructions for the agent only.

Does Iphone Duo React Native access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Iphone Duo React Native safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Iphone Duo React Native use?

Iphone Duo React Native has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Iphone Duo React Native use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Iphone Duo React Native?

Skills that share tags, products or a category with Iphone Duo React Native: Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars), Expo UI (arcboxlabs/linkcode, 156 stars), React Native Healthkit Contributing (kingstinct/react-native-healthkit, 716 stars) and Web To Mobile (suntay44/web-to-mobile-magic-plugin, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Iphone Duo React Native?

mirzaaghazadeh (a GitHub user) maintains it in mirzaaghazadeh/iphone-duo-skills, which has 142 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.

Source: mirzaaghazadeh/iphone-duo-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.