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
mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-layout@git:20260924.55c3e32mdr add alexey1312/iphone-duo-agent-skill/iphone-duo-layout@sha256:7aba503e15f8dfcfPin 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_4ljqx56l3to2265j)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260924.55c3e32 latest | 2026-09-24 | 55c3e32 | 11,286 B | A | view · diff |
| git:20260918.f4b10ab | 2026-09-18 | f4b10ab | 10,940 B | A | view · diff |
| git:20260917.6ac2bc7 | 2026-09-17 | 6ac2bc7 | 10,811 B | A | view · diff |
| git:20260913.566635a | 2026-09-13 | 566635a | 8,498 B | A | view · diff |
| git:20260913.62bff5b | 2026-09-13 | 62bff5b | 7,387 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 (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
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.