Home / alexey1312 / iphone-duo-agent-skill · skills/iphone-duo-adaptivity-audit/SKILL.md · GitHub

iphone-duo-adaptivity-audit skillA

iphone-duo-adaptivity-audit is agent-read markdown (skill) from alexey1312/iphone-duo-agent-skill: Find and fix legacy screen, orientation, idiom and lifecycle code that breaks on iPhone Duo's inner display and in other iOS 27 resizable environments (iPhone Mirroring, iPhone apps on iPad, Split View). Use when a developer asks about UIScreen.main or mainScreen, screen bounds or scale, interfaceOrientation or UIDevice orientation checks, userInterfaceIdiom layout forks, keyWindow or connectedScenes.first, migrating from app lifecycle to UIScene lifecycle (required with the latest SDK), UIRequi.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# iPhone Duo adaptivity audit

The foundation for everything else: an app that decides layout from the screen, the
orientation or the idiom is wrong on iPhone Duo before any foldable-specific work
begins.

## Facts this skill relies on

- The **outer display** behaves like other iPhones; the **inner display** is regular
  width × regular height. (Tech Talk 111461, 2:46)
- The inner display **does not honor supported interface orientations**; in iOS 27
  supported orientations are a preference ignored in resizable environments, and
  iPhone Mirroring always reports portrait. (111461 2:46; WWDC26 278 6:50)
- Referencing the **main screen is ambiguous on a two-display device** and deprecated
  (the iOS 27 SDK header marks `mainScreen` deprecated). (111461 3:57; 278 2:51)
  Concretely: the iPhone Duo simulator's own profile names the **outer** display as
  `main-screen-*`, so an app that asks for the main screen gets the smaller of the
  two whichever display it is actually on. (`references/device-geometry.md`, measured)
- The **user interface idiom is not meaningful for layout**: an iPhone app stays in the
  phone idiom while fully resizable. (111461 1:33; 278 6:17)
…

Read the whole file at its exact version.

How to install

Latest version
mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-adaptivity-audit@git:20260918.f4b10ab
Exact content
mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-adaptivity-audit@sha256:27cfd06bcd6a7b1f

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_b3u4ndpgfvlesxg7.svg)](https://markdownregistry.com/a/art_b3u4ndpgfvlesxg7)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260918.f4b10ab latest2026-09-18 f4b10ab 9,300 BA view · diff
git:20260917.6ac2bc72026-09-17 6ac2bc7 9,046 BA view · diff
git:20260913.62bff5b2026-09-13 62bff5b 7,575 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9300 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

alexey1312/iphone-duo-agent-skill · 4 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_b3u4ndpgfvlesxg7
GET https://markdownregistry.com/api/v1/resolve?ref=alexey1312/iphone-duo-agent-skill/iphone-duo-adaptivity-audit
GET https://markdownregistry.com/api/v1/blob/27cfd06bcd6a7b1f1938158aa00d532cce4f21759d2d2eca3b21947b908c1010

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from alexey1312/iphone-duo-agent-skill

AGENTS.md agents
alexey1312/iphone-duo-agent-skill · AGENTS.md
git:20260918.f4b10ab · audit A · 4 stars
AGENTS.md@skills/iphone-duo-adaptivity-audit/evals/files/FloatingDock agents
alexey1312/iphone-duo-agent-skill · skills/iphone-duo-adaptivity-audit/evals/files/FloatingDock/AGENTS.md
git:20260913.62bff5b · audit A · 4 stars
iphone-duo-bars skill
alexey1312/iphone-duo-agent-skill · skills/iphone-duo-bars/SKILL.md · Prepare navigation bars, toolbars and tab bars for iPhone Duo's vertical bars, where controls move to the side of the…
git:20260918.f4b10ab · audit A · 4 stars
iphone-duo-displays skill
alexey1312/iphone-duo-agent-skill · skills/iphone-duo-displays/SKILL.md · Use iPhone Duo's hinge, two displays, two front cameras and multiple windows in SwiftUI and UIKit apps. Use when a…
git:20260918.f4b10ab · audit A · 4 stars
iphone-duo-layout skill
alexey1312/iphone-duo-agent-skill · skills/iphone-duo-layout/SKILL.md · Use this skill when an app's layout or geometry breaks or wastes space on iPhone Duo's foldable inner display: layouts…
git:20260924.55c3e32 · audit A · 4 stars
iphone-duo-readiness skill
alexey1312/iphone-duo-agent-skill · skills/iphone-duo-readiness/SKILL.md · End-to-end readiness workflow for iPhone Duo, Apple's foldable iPhone with an outer display and a regular-by-regular…
git:20260918.f4b10ab · audit A · 4 stars

Every file in alexey1312/iphone-duo-agent-skill

Browse by kind, by grade A, or by owner.