iphone-duo-adaptivity-audit SKILL.md skillA

iphone-duo-adaptivity-audit from alexey1312/iphone-duo-agent-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-adaptivity-audit@git:20261030.98cdb7c

Pins git:20261030.98cdb7c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
alexey1312/iphone-duo-agent-skill
Path
skills/iphone-duo-adaptivity-audit/SKILL.md
Versions recorded
7
Latest version
git:20261030.98cdb7c, committed Oct 30, 2026
First version recorded
Sep 13, 2026
Size
12,211 bytes
Repository stars
7
License
MIT

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

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file 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
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-adaptivity-audit@sha256:10da8ff555ac90b7

The line at the top of this page pins the label git:20261030.98cdb7c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Sep 13, 2026 and Oct 30, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
git:20261030.98cdb7c latest2026-10-30 98cdb7c 12,211 BA view · diff
git:20261029.170b7432026-10-29 170b743 12,053 BA view · diff
git:20261029.e4c760e2026-10-29 e4c760e 11,349 BA view · diff
git:20261005.bab83982026-10-05 bab8398 10,961 BA view · diff
git:20260918.f4b10ab2026-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. Fixed automatic checks with no AI involved, so the same checks give the 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 (12211 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 · 7 stars · license MIT · pushed 2026-10-30 · 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/10da8ff555ac90b7219829d8e5c9dc462cb45747f15cb6a03dad83ac39e9ddf8

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from alexey1312/iphone-duo-agent-skill

AGENTS.md AGENTS.md file
alexey1312/iphone-duo-agent-skill · AGENTS.md
git:20261029.170b743 · audit A · 7 stars
AGENTS.md@skills/iphone-duo-adaptivity-audit/evals/files/FloatingDock AGENTS.md file
alexey1312/iphone-duo-agent-skill · skills/iphone-duo-adaptivity-audit/evals/files/FloatingDock/AGENTS.md
git:20260913.62bff5b · audit A · 7 stars
iphone-duo-bars SKILL.md 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:20261030.98cdb7c · audit A · 7 stars
iphone-duo-displays SKILL.md 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:20261005.bab8398 · audit A · 7 stars
iphone-duo-layout SKILL.md skill
alexey1312/iphone-duo-agent-skill · skills/iphone-duo-layout/SKILL.md · Use when an app's layout or geometry breaks or wastes space on iPhone Duo's foldable inner display: layouts that should…
git:20261030.98cdb7c · audit A · 7 stars
iphone-duo-readiness SKILL.md 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:20261030.98cdb7c · audit A · 7 stars

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

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