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

iphone-duo-layout skillA

iphone-duo-layout is agent-read markdown (skill) from alexey1312/iphone-duo-agent-skill: Use this skill when an app's layout or geometry breaks or wastes space on iPhone Duo's foldable inner display: layouts that should become multi-column in regular × regular size classes, NavigationSplitView or TabView sidebars on the inner screen, a phone-width column stuck in the middle, safe-area insets that differ left and right, content or floating controls crossed by the hinge in book or tabletop pose, the FaceTime camera covering UI, or video letterboxing on the wide inner screen. Also use .

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 layout

Layout on iPhone Duo is ordinary adaptive layout pushed further: two displays with
different size classes, a hinge that divides the inner display when folded, and
cameras that occlude part of it. Start from system containers — most of the behavior
comes for free — and add custom work only where a container cannot express it.

Code: `references/layout-code.md`. Availability: `references/api-availability.md`
(reserved regions, arrangements and `ContentMarginGuide` need the **iOS 27.1 SDK**,
which ships with Xcode 27.1 — on that toolchain they need a deployment-target gate,
not a blocked entry). Physical facts — display sizes, where the cameras and fold sit,
poses, drawing mockups: `references/device-geometry.md` (never a layout input).

## 1. Size classes, not devices (Tech Talk 111461, 2:46)

- Outer display: like other iPhones. Inner display: regular × regular — room for
  sidebars and multiple columns.
- Drive layout from `horizontalSizeClass` / `verticalSizeClass` (environment in
  SwiftUI, trait collection in UIKit) and from the container size; never from
  orientation or idiom (`iphone-duo-adaptivity-audit` owns removing those).
…

Read the whole file at its exact version.

How to install

Latest version
mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-layout@git:20260924.55c3e32
Exact content
mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-layout@sha256:7aba503e15f8dfcf

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_4ljqx56l3to2265j.svg)](https://markdownregistry.com/a/art_4ljqx56l3to2265j)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260924.55c3e32 latest2026-09-24 55c3e32 11,286 BA view · diff
git:20260918.f4b10ab2026-09-18 f4b10ab 10,940 BA view · diff
git:20260917.6ac2bc72026-09-17 6ac2bc7 10,811 BA view · diff
git:20260913.566635a2026-09-13 566635a 8,498 BA view · diff
git:20260913.62bff5b2026-09-13 62bff5b 7,387 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 (11286 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_4ljqx56l3to2265j
GET https://markdownregistry.com/api/v1/resolve?ref=alexey1312/iphone-duo-agent-skill/iphone-duo-layout
GET https://markdownregistry.com/api/v1/blob/7aba503e15f8dfcf3341aa2b1b465bb8fad5a0aa09b70571351de7c34dc8f426

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
iphone-duo-adaptivity-audit skill
alexey1312/iphone-duo-agent-skill · skills/iphone-duo-adaptivity-audit/SKILL.md · Find and fix legacy screen, orientation, idiom and lifecycle code that breaks on iPhone Duo's inner display and in…
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-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.