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
mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-adaptivity-audit@git:20260918.f4b10abmdr add alexey1312/iphone-duo-agent-skill/iphone-duo-adaptivity-audit@sha256:27cfd06bcd6a7b1fPin 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.
[](https://markdownregistry.com/a/art_b3u4ndpgfvlesxg7)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260918.f4b10ab latest | 2026-09-18 | f4b10ab | 9,300 B | A | view · diff |
| git:20260917.6ac2bc7 | 2026-09-17 | 6ac2bc7 | 9,046 B | A | view · diff |
| git:20260913.62bff5b | 2026-09-13 | 62bff5b | 7,575 B | A | view |
Audit of the latest version
- 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
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.