Agent skill

Iphone Duo Dual Pane Patterns

by mirzaaghazadeh in 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)…

Custom licenceAuto-check passedMobile

Install Iphone Duo Dual Pane Patterns

skills CLI
$ npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-dual-pane-patterns -a claude-code

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

GitHub CLI
$ gh skill install mirzaaghazadeh/iphone-duo-skills iphone-duo-dual-pane-patterns --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-dual-pane-patterns .claude/skills/iphone-duo-dual-pane-patterns && 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-dual-pane-patterns
GitHub stars
149
Token cost
~4.2k tokens
SKILL.md length
2,147 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
Custom licence

At a glance

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)…

  • Works in 3 steps: The inner display is the outer display… → Each half of the inner display is… → The fold runs down the middle of the…
  • Sizing a layout
  • SKILL.md covers The numbers, Layout tokens (pt), Hinge callbacks — exact shapes and Pose → pattern, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Iphone Duo Dual Pane Patterns is an agent skill from 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), hinge-driven effects, pose-to-pattern mapping (companion pane, dual view, list-detail, tabletop controls), two-pane paywalls and fold-aware onboarding. Use when sizing a layout or asset for iPhone Duo, wiring a hinge callback, choosing what goes in each pane, or designing onboarding and purchase flows that span the fold.

Its SKILL.md is about 4.2k 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 iOS development and Responsive design. It works with SwiftUI. 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

  • Sizing a layout
  • Asset for iPhone Duo
  • Wiring a hinge callback
  • Choosing what goes in each pane

Example prompts

  • “/iphone-duo-dual-pane-patterns”

Workflow steps

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

  1. The inner display is the outer display turned sideways, near enough. Both
  2. Each half of the inner display is roughly one outer display. A phone-shaped
  3. The fold runs down the middle of the long edge when open, so default

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 swift).

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

  • Network

    No URLs in SKILL.md.

    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 Dual Pane Patterns loads about 4.2k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 2,147 words of instructions outside code blocks.

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

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 2,147 words (~4,217 tokens).

“The sibling skills explain the platform: reserved regions and arrangements in ../iphone-duo-adaptive-layout/SKILL.md, the hinge and scenes in ../iphone-duo-hinge-and-scenes/SKILL.md, design principles in ../iphone-duo-design-review/SKILL.md. This one is the applied layer: the numbers you'll want when mocking up or sizing assets, the exact…”

— opening of SKILL.md by mirzaaghazadeh, Custom licence
name
iphone-duo-dual-pane-patterns

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/iphone-duo-dual-pane-patterns of mirzaaghazadeh/iphone-duo-skills.

Open the folder on GitHubat commit f4ae144

Compare with similar skills

Iphone Duo Dual Pane Patterns 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 Dual Pane Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Iphone Duo Dual Pane Patterns this skillmirzaaghazadeh/iphone-duo-skills149—~4.2kAutomated safety check: PassCustom licence
Swiftui Advancedjohnrogers/claude-swift-engineering231—~757Automated safety check: PassMIT
Swiftui Protwostraws/SwiftUI-Agent-Skill5.6k2 repos~1.5kAutomated safety check: PassMIT
Swiftui UI PatternsAFK-surf/OpenBridge4304 repos~887Automated safety check: PassMIT
Swiftui Performance Auditharperreed/dotfiles3348 repos~1.4kAutomated safety check: PassNone
Hig Project Contextraintree-technology/hig-doctor1445 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Swiftui Advanced

    johnrogers/claude-swift-engineering

    A skill your agent uses when implementing gesture composition (simultaneous, sequenced, exclusive), adaptive layouts (ViewThatFits, AnyLayout, size classes), or choosing architecture patterns (MVVM…

    231 GitHub stars~757 tokensUpdated 8 mo ago
    MobileAuto-check passed
  • Swiftui Pro

    twostraws/SwiftUI-Agent-Skill

    Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.

    5.6k GitHub starsUsed in 2 repos~1.5k tokens
    MobileAuto-check passed
  • Swiftui UI Patterns

    AFK-surf/OpenBridge

    Best practices and example-driven guidance for building SwiftUI views and components.

    430 GitHub starsUsed in 4 repos~887 tokens
    MobileAuto-check passed
  • Swiftui Performance Audit

    harperreed/dotfiles

    Audit and improve SwiftUI runtime performance from code review and architecture.

    334 GitHub starsUsed in 8 repos~1.4k tokens
    MobileAuto-check passed
  • Hig Project Context

    raintree-technology/hig-doctor

    Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

    144 GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed
  • Hig Components Content

    raintree-technology/hig-doctor

    Apple Human Interface Guidelines for content display components.

    144 GitHub starsUsed in 5 repos~1.3k tokens
    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.

    149 GitHub stars~2.8k tokensUpdated 4 days ago
    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…

    149 GitHub stars~1.9k tokensUpdated 4 days ago
    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…

    149 GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed
  • Iphone Duo React Native

    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…

    149 GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed
  • Iphone Duo Readiness

    mirzaaghazadeh/iphone-duo-skills

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

    149 GitHub stars~2.8k tokensUpdated 4 days ago
    Auto-check passed
  • Iphone Duo Design Review

    mirzaaghazadeh/iphone-duo-skills

    Review or design an iOS interface for iPhone Duo's poses — closed, open, book-folded, tabletop and tent — covering side-mounted controls, asymmetric layouts, fold avoidance, sheets, and how to use…

    149 GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Iphone Duo Dual Pane Patterns

What does Iphone Duo Dual Pane Patterns do?

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)…. Iphone Duo Dual Pane Patterns is an agent skill from 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), hinge-driven effects, pose-to-pattern mapping (companion pane, dual view, list-detail, tabletop controls), two-pane paywalls and fold-aware onboarding.

When should I use Iphone Duo Dual Pane Patterns?

Iphone Duo Dual Pane Patterns fits situations like: sizing a layout; asset for iPhone Duo; wiring a hinge callback; choosing what goes in each pane.

How do I install Iphone Duo Dual Pane Patterns in Claude Code?

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

How do I install Iphone Duo Dual Pane Patterns in Codex?

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

Can I use Iphone Duo Dual Pane Patterns 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-dual-pane-patterns -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-dual-pane-patterns, .gemini/skills/iphone-duo-dual-pane-patterns, .github/skills/iphone-duo-dual-pane-patterns and .opencode/skills/iphone-duo-dual-pane-patterns in your project.

What does Iphone Duo Dual Pane Patterns need to run?

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

Does Iphone Duo Dual Pane Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Iphone Duo Dual Pane Patterns 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 Dual Pane Patterns use?

Iphone Duo Dual Pane Patterns 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 Dual Pane Patterns use?

About 4.2k tokens (SKILL.md is roughly 17k 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 Dual Pane Patterns?

Skills that share tags, products or a category with Iphone Duo Dual Pane Patterns: Swiftui Advanced (johnrogers/claude-swift-engineering, 231 stars), Swiftui Pro (twostraws/SwiftUI-Agent-Skill, 5.6k stars), Swiftui UI Patterns (AFK-surf/OpenBridge, 430 stars) and Swiftui Performance Audit (harperreed/dotfiles, 334 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Iphone Duo Dual Pane Patterns?

mirzaaghazadeh (a GitHub user) maintains it in mirzaaghazadeh/iphone-duo-skills, which has 149 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.