duo-patterns SKILL.md skillA

duo-patterns from kimeur/duology is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kimeur/duology/duo-patterns@git:20261020.021b417

Pins git:20261020.021b417 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kimeur/duology
Path
plugins/duology-design/skills/duo-patterns/SKILL.md
Versions recorded
3
Latest version
git:20261020.021b417, committed Oct 20, 2026
First version recorded
Oct 18, 2026
Size
22,637 bytes
Repository stars
13
License
MIT

Picks and builds layout patterns for iPhone Duo, Apple's foldable iPhone, in SwiftUI - list-detail, supporting pane, two-page, dual view, extended canvas, feed reflow with even columns, tabs to sidebar, and displacement off the fold. Use it when you design or fix a screen for the outer display and the inner display, when content or buttons land in the fold, or when choosing between NavigationSplitView, inspector, ArrangementView (split and overlay styles), TabView with sidebarAdaptable and…

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

# Duo layout patterns

Use this skill to choose a layout pattern for a screen on iPhone Duo, then build it. Every pattern has a reference file with when to use it, closed and open behaviour, the Apple APIs, rules, pitfalls, a SwiftUI recipe that typechecks against the iOS 27.1 SDK, and a screen in the Duology gallery app.

Read the reference for the pattern you pick before you write code. For bars and toolbars, load `duo-navigation`. For size classes, safe areas and UIKit layout depth, load `duo-layout`. For keeping state through a fold, load `duo-continuity`.

## Ground rules for every pattern

1. **Design for two size classes, not for poses.** Compact width for the outer display, regular width for the inner display. Let the layout grow; don't design one layout per way of holding the phone ([HIG](https://developer.apple.com/design/human-interface-guidelines/designing-for-iphone-duo#Device-poses), [talk 111466](https://developer.apple.com/videos/play/tech-talks/111466/?time=222)).
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kimeur/duology/duo-patterns@sha256:767aeca3ee3a2bfb

The line at the top of this page pins the label git:20261020.021b417, 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_kp5kxxqms4bbu5xw.svg)](https://markdownregistry.com/a/art_kp5kxxqms4bbu5xw)

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

Versions

The registry has recorded 3 versions of this file, between Oct 18, 2026 and Oct 20, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20261020.021b417 latest2026-10-20 021b417 22,637 BA view · diff
git:20261019.5ff724c2026-10-19 5ff724c 22,449 BA view · diff
git:20261018.dfcd3c52026-10-18 dfcd3c5 21,874 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 (22637 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

kimeur/duology · 13 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kp5kxxqms4bbu5xw
GET https://markdownregistry.com/api/v1/resolve?ref=kimeur/duology/duo-patterns
GET https://markdownregistry.com/api/v1/blob/767aeca3ee3a2bfb1e28a4e98eba20169ad2009023995dfacedddb511679e1d9

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 kimeur/duology

AGENTS.md AGENTS.md file
kimeur/duology · AGENTS.md
git:20261020.845400b · audit A · 13 stars
llms.txt llms.txt file
kimeur/duology · llms.txt
git:20261020.845400b · audit A · 13 stars
duo-accessibility SKILL.md skill
kimeur/duology · plugins/duology-design/skills/duo-accessibility/SKILL.md · Makes iPhone Duo apps work with VoiceOver, Dynamic Type, Reduce Motion, Increase Contrast, hardware keyboards, Switch…
git:20261019.5ff724c · audit A · 13 stars
duo-design-review SKILL.md skill
kimeur/duology · plugins/duology-design/skills/duo-design-review/SKILL.md · Reviews screenshots, simulator captures and Figma frames for iPhone Duo, Apple's foldable, against a 15-point checklist…
git:20261019.5ff724c · audit A · 13 stars
duo-design-system SKILL.md skill
kimeur/duology · plugins/duology-design/skills/duo-design-system/SKILL.md · Design tokens and a drop-in SwiftUI token module for iPhone Duo, Apple's foldable, that adapt by size class instead of…
git:20261019.5ff724c · audit A · 13 stars
duo-ergonomics SKILL.md skill
kimeur/duology · plugins/duology-design/skills/duo-ergonomics/SKILL.md · Puts controls where hands can reach them on iPhone Duo, Apple's foldable iPhone: one-handed on the closed phone, two…
git:20261019.5ff724c · audit A · 13 stars
duo-postures SKILL.md skill
kimeur/duology · plugins/duology-design/skills/duo-postures/SKILL.md · Designs iPhone Duo screens for every pose Apple shows: closed on the outer display, open flat (wide or tall), partly…
git:20261019.5ff724c · audit A · 13 stars
duo-shared-screen SKILL.md skill
kimeur/duology · plugins/duology-design/skills/duo-shared-screen/SKILL.md · Builds screens that two people use at the same time on one iPhone Duo, Apple's foldable iPhone - two-player games…
git:20261018.dfcd3c5 · audit A · 13 stars
duo-transitions SKILL.md skill
kimeur/duology · plugins/duology-design/skills/duo-transitions/SKILL.md · Makes fold, unfold, partial fold and rotation on iPhone Duo, Apple's foldable, feel like one app instead of a reload…
git:20261019.5ff724c · audit A · 13 stars
duo-app-intents SKILL.md skill
kimeur/duology · plugins/duology-features/skills/duo-app-intents/SKILL.md · App Intents on iPhone Duo: AppIntent, AppEntity with EntityStringQuery, OpenIntent with TargetContentProvidingIntent…
git:20261020.2004122 · audit A · 13 stars
duo-camera SKILL.md skill
kimeur/duology · plugins/duology-features/skills/duo-camera/SKILL.md · Camera capture on iPhone Duo, Apple's foldable. Use when an app takes photos or video, runs a video call or shows a…
git:20261020.79859e6 · audit A · 13 stars
duo-games SKILL.md skill
kimeur/duology · plugins/duology-features/skills/duo-games/SKILL.md · Builds games for iPhone Duo, Apple's foldable. The game fills the closed outer display, the open inner display, book…
git:20261020.d843148 · audit A · 13 stars

Every file in kimeur/duology

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