Duo Design Review 标志

Duo Design Review

社区
Kimeur
duo-design-review

Reviews screenshots, simulator captures and Figma frames for iPhone Duo, Apple's foldable, against a 15-point checklist (letterboxing, state lost on fold and unfold, sizing from UIScreen.main, text or buttons in the fold via reservedRegions .division and .occlusion, odd grid columns, vertical toolbars with symbols and titles, tabletop and book layouts with ArrangementView overlay, camera preview rotation, outer display feature parity, multiple windows with UIWindowScene.ActivationAction, transitions, 44 pt touch targets, hardware keyboard, drag and drop) and writes findings with severity, rule, where and fix. Use it when someone asks to critique, audit or review a design, mockup, concept or Dribbble shot for the foldable, the outer display or the inner display, or asks what breaks when the phone is closed, open, partly folded like a book, propped on a table, in Split View or under Picture in Picture.

Add to TypingMind

概览

发布者Kimeur
代码仓库duology
技能名称duo-design-review
星标数
40
复刻数
2
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Kimeur 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Duo Design Review AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Kimeur/duology/tree/main/plugins/duology-design/skills/duo-design-review
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Kimeur/duology.git /tmp/duology
mkdir -p .claude/skills
cp -r /tmp/duology/plugins/duology-design/skills/duo-design-review .claude/skills/duo-design-review
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Duo Design Review,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Duo Design Review。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Duo Design Review 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Duo design review

Use this skill to critique pictures of an app on iPhone Duo: PNG screenshots, simulator captures, screen recordings or Figma frames. You compare what you see against 15 rules and write a report. Each finding names its severity, the rule, where it is and how to fix it.

This skill reviews what people see. To review code, load duo-lint and duo-layout. To fix what the review finds, load the skill each rule points to.

Step 1: Collect the review set

A Duo app runs in many shapes. One frame per screen is not enough. Ask for these, per screen under review:

FrameWhy
Closed, portrait (outer display)The main compact layout; bars on the trailing side
Closed, landscapeShort and wide; bars still on the side, more overflow
Open, flat, held wide (inner display)Regular width; vertical bars on the side
Open, flat, held tallInner portrait keeps horizontal bars
Partly folded like a book (held wide)The fold runs top to bottom through the middle
Propped on a table like a laptop (held tall)The fold runs side to side; top to look at, bottom to touch
Split View, left and right half50/50 on the inner display; bars on the app's outer edge
Under a pinned Picture in Picture videoThe app gets a shorter window
Closed then open (and back), same momentShows whether state survives
A recording of fold and unfoldShows the transition

Camera apps also need: the capture screen closed, open, and open turned around (a rear camera faces the person).

If a frame is missing, don't guess. Mark the rules it would prove as Check and list the frame in the report. "Book" and "tabletop" are Duology's shorthand. Apple only describes these ways of holding the phone, as "partially folded, like a book" or "seated on a table like a laptop" (HIG, Device poses, talk 111466). The SDK has no posture API (API index).

Tell the frames apart

Pixel sizeDisplayPoints (÷ 3)
1398 × 2034Outer, portrait466 × 678 pt
2034 × 1398Outer, landscape678 × 466 pt
2853 × 2007Inner, held wide951 × 669 pt
2007 × 2853Inner, held tall669 × 951 pt

These are Apple's App Store screenshot sizes and the simulator's own sizes (screenshot specifications). Both displays render at scale 3. A frame of any other size is a mockup: ask which display it stands for. A screenshot of the display that is off comes out black.

Capture from the simulator

The iPhone Duo simulator needs Xcode 27.1. Poses change in Device Hub: the Closed, Partially Open and Open buttons under the bezel, or Option-drag on the slider for any angle (Device Hub). simctl has no pose command (we checked in Xcode 27.1). Ask the person to set each pose, then capture both displays. With their Accessibility permission, duo-pose-matrix (/duo-poses) presses the pose buttons and saves every frame for you. Use the Duo's UDID, because booted is ambiguous when several simulators run:

bash
export DEVELOPER_DIR=/Applications/Xcode-27.1.app/Contents/Developer
xcrun simctl list devices booted                       # find the iPhone Duo's UDID
xcrun simctl io <UDID> screenshot --display=primary   outer.png   # outer display
xcrun simctl io <UDID> screenshot --display=primary-1 inner.png   # inner display
xcrun simctl io <UDID> recordVideo --display=primary-1 --force fold.mov   # stop with Ctrl-C

If you can change the app, add this debug overlay to its root view. It tints the fold red and the camera regions blue, so every screenshot shows where they are. Stronger tint means the region is active. We ran it on the iPhone Duo simulator (iOS 27.1): closed, it drew the outer camera and the top of the trailing status bar column, and no fold.

swift
import SwiftUI

/// Debug only. Tints the fold (red) and camera regions (blue) so a simulator
/// screenshot shows where they are. Stronger tint = active region.
@available(iOS 27.1, *)
struct ReservedRegionOverlay: ViewModifier {
    func body(content: Content) -> some View {
        content.overlay {
            GeometryReader { proxy in
                let folds = proxy.reservedRegions(kind: .division, options: .includeInactive)
                let cameras = proxy.reservedRegions(kind: .occlusion, options: .includeInactive)
                ZStack {
                    ForEach(folds) { region in
                        Rectangle()
                            .fill(.red.opacity(region.isActive ? 0.45 : 0.2))
                            .frame(width: region.frame.width, height: region.frame.height)
                            .position(x: region.frame.midX, y: region.frame.midY)
                    }
                    ForEach(cameras) { region in
                        Rectangle()
                            .fill(.blue.opacity(region.isActive ? 0.45 : 0.2))
                            .frame(width: region.frame.width, height: region.frame.height)
                            .position(x: region.frame.midX, y: region.frame.midY)
                    }
                }
            }
            .ignoresSafeArea()
            .allowsHitTesting(false)
            .accessibilityHidden(true)
        }
    }
}

extension View {
    /// Attach to the root view. Does nothing in release builds or before iOS 27.1.
    @ViewBuilder
    func reservedRegionOverlay() -> some View {
        #if DEBUG
        if #available(iOS 27.1, *) {
            modifier(ReservedRegionOverlay())
        } else {
            self
        }
        #else
        self
        #endif
    }
}

Step 2: Mark the fold and the cameras

Draw these on each frame before you judge it. Numbers are in points; multiply by 3 for screenshot pixels. Use them to read frames, never as constants in app code.

FrameFoldCameras and status barSource
Outer, portraitNoneCamera x 400–437, y 29–66 (37 × 37 pt). Region 84 × 174 pt at the top of the trailing column, where the status bar sits (our reading). Safe area insets: trailing 84, bottom 34.Measured on the simulator
Inner, held wide, flatLine at x 475.5. Inactive region x 455–495 (the line plus 20 pt each side).Region x 867–951, y 0–124, at the status bar corner. Inactive region x 677–735, y 21–58, likely the inner camera (our reading of both).Measured, see duo-layout reserved regions
Inner, partly folded like a bookSame place, now active: x 455–495, top to bottom. Keep controls out of it.As above; the inner camera region is active only while the camera runsMeasured in the gallery, see duo-patterns two-page
Inner, held tall, partly folded (tabletop)Runs side to side, active: y 455–495, full widthRegion x 525–669, y 0–82, at the status bar corner. Inactive region x 611–648, y 677–735, likely the inner camera (our reading).Measured in the gallery
Inner, held tall, flatSame band as tabletop, inactiveNot measuredDerived: held wide, folding changed only isActive

The outer camera always covers content. The inner camera covers it only while active (hub).

Step 3: Run the 15 rules

Check every rule on every frame. Depth, pass and fail examples: references/checklist.md. Fix code: references/fixes.md.

RuleLook forDefault severity
R1 No letterboxingEmpty or black bands around the app; an iPhone-sized window centred on the inner display; a strip down the trailing edge (built with an older SDK); a game with plain bars; a hero image that crops its subjectBlocker for the whole app; Major for a game or media
R2 State survives fold and unfoldIn a closed/open pair: same screen, selected item, scroll position, typed text and playback timeBlocker if typing or playback is lost; Major otherwise
R3 No size from the main screenContent sized for the other display, clipped or stretched; a fixed-width column with dead space; a layout that doesn't change after a resize; Figma widths copied from another iPhoneMajor
R4 Nothing interactive in the foldButtons, sliders, fields, toggles or handles touching the fold band when partly folded; controls under a camera regionBlocker for a primary action; Major otherwise
R5 Even gridsHeld wide, a grid the fold crosses has an even column count and the fold falls in a gutterMajor when folded; Minor flat
R6 Side controls, symbols and titlesClosed, and open in landscape: toolbar and tab bar in one vertical bar on the trailing edge; Back or Close on top, then Done; a title behind every symbol; few text buttons; no custom bars; nothing hidden under the barMajor
R7 Tabletop and book layoutsPropped on a table: media on top, controls below, same controls as other poses. Like a book: panes or pages split at the fold; alerts on the trailing sideMajor if a pose drops a control or splits a page; Minor if absent
R8 Split View and PiP workEither half works, with bars on its outer edge; the app fits under a pinned PiP video; video apps offer PiPBlocker if the app breaks; Major otherwise
R9 Camera preview uprightPreview upright on both displays and after rotation; mirrored when a rear camera faces the person; controls clear of the inner cameraBlocker if sideways; Major otherwise
R10 Same features on the outer displayEvery action available open is reachable closed; open adds at most one level of hierarchyBlocker
R11 Multiple windows"New Window" only where it makes sense; each window keeps its own state; closed, a new window replaces the visible one (simulator)Major
R12 Smooth transitionsNo blank frame, spinner, reload or jump to the top on fold or unfold; elements shift a little rather than rearrangeMajor for a reload; Minor for a jump
R13 Touch targets of 44 ptEvery hit region at least 44 × 44 pt (132 × 132 px in a screenshot)Major
R14 Hardware keyboardCommand-N, Command-F, Command-Z and Esc do what people expect; Space plays and pauses media; the app works with Full Keyboard AccessMinor; Major for text-heavy apps
R15 Drag and dropItems drag between panes and to the other app in Split View; a menu path does the same thingMinor; Major when moving content is the core task

Apple's sources for the rules: the HIG page, the hub, the prepare page, and Tech Talks 111461 to 111466. R13 to R15 come from the general HIG pages for buttons, keyboards and drag and drop. Apple's Duo pages don't mention hardware keyboards or drag and drop; Duology adds them because two panes and Split View make both more likely.

The concept-shot mistake: text across the fold

Foldable concepts on Dribbble and Behance often run a headline, a price or a paragraph straight across the inner display, with the fold through the middle of the words. Flat, it looks bold. Partly folded, the display curves at the centre, so the line bends away and reads as two pieces. Apple shows the same problem with a photo spread across a book's spine (talk 111463, 1:29).

  • Flag any static text that crosses the fold band in a held-wide frame: titles, headlines, labels, prices, text on buttons. Default severity: Major.
  • Fix: keep each block of text inside one region, set two columns with the fold as the gap, or move the block to the leading or trailing part.
  • Don't flag scrolling body text for crossing the fold. Apple says scrolling content doesn't need to avoid it (talk 111466, 9:28). Do flag one text column that spans the whole inner display, since every line then crosses the fold: Minor, under R4. Give it a readable width or two columns.

More concept-shot mistakes, each mapped to a rule: references/concept-mistakes.md.

Step 4: Write the report

Severities:

  • Blocker: someone can't finish a task, loses work or state, or can't reach a primary control in a common pose. Fix before shipping.
  • Major: breaks an Apple iPhone Duo rule or looks broken; people can work around it.
  • Minor: polish; no task is blocked.
  • Check: you can't tell from what you have. Name the frame or recording you need.

Write each finding as a heading with the problem, then three lines. Put Blockers first.

markdown
### Major · R5 Even grids: the fold cuts through the middle column
- **Where:** Inner display, partly folded like a book, Explore screen. 3-column grid; the fold band (x 455–495 pt) runs through the middle tiles.
- **Fix:** Round the column count down to an even number whenever a fold crosses the grid, even when it's inactive, and widen the gap at the fold. Recipe: `duo-patterns`, feed reflow.
- **Source:** [HIG, Reserved regions](https://developer.apple.com/design/human-interface-guidelines/designing-for-iphone-duo#Reserved-regions); [talk 111463, 7:50](https://developer.apple.com/videos/play/tech-talks/111463/?time=470).

Write Where as display, pose, screen, element and position in points. Write Fix as one or two sentences naming the system component or API and the skill that builds it. End the report with all 15 rules marked Pass, Fail, Check or N/A. Template, verdicts and a worked example: references/writing-findings.md.

Reviewer rules

  • Judge layouts by size class and available space, not by pose. Apple asks for a compact-width layout and a regular-width layout that grow, not one layout per pose (HIG, Device poses). A tabletop layout is optional.
  • Don't flag odd column counts on the outer display. There is no fold there. Apple's Calculator uses five columns on it (HIG, Vertical controls).
  • Don't flag inner portrait for horizontal bars. That is the one case where Apple keeps them (HIG).
  • Don't ask a design to override the system's bar placement. Apple advises against it in general (HIG, Vertical controls).
  • Never mark a rule Pass that you could not see. Mark it Check.
  • Fixes never contain device sizes, hinge angles, UIScreen.main, userInterfaceIdiom or orientation checks. They use size classes, the view's size, arrangements and reserved regions.
  • Use only real API names. Every one in this skill is in reference/api-index.md or was typechecked against the iOS 27.1 SDK.
  • Mark what you could not confirm. Real-device behaviour (120 Hz, hinge feel, camera handover) is unverified on the simulator.

Related skills

  • duo-layout: size classes, safe areas, reserved regions, ArrangementView (R3, R4, R5).
  • duo-navigation: vertical bars, overflow, sidebars, sheets (R6).
  • duo-continuity: state through fold, unfold, rotation and resize (R2, R12).
  • duo-patterns: list-detail, two-page, feed reflow, displacement (R4, R5, R7, R10).
  • duo-setup: the Duo simulator, Device Hub and screenshots of each display.

Every source with its check date: reference/sources.md. Display sizes and poses: reference/device-facts.md.

Checklist

  • Collected the review set, or listed the missing frames.
  • Identified each frame's display and pose from its size.
  • Marked the fold band and camera regions on every inner and outer frame.
  • Checked all 15 rules (R1 to R15) on every frame.
  • Looked for static text, images or controls crossing the fold.
  • Gave every finding a severity, a rule, a Where and a Fix, Blockers first.
  • Linked the Apple source behind each finding.
  • Marked each rule Pass, Fail, Check or N/A in the coverage table.
  • Kept device sizes, hinge angles and pose checks out of every fix.
  • Said which findings need a real device or a recording to confirm.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Duo Design Review AI 技能有什么作用?

Reviews screenshots, simulator captures and Figma frames for iPhone Duo, Apple's foldable, against a 15-point checklist (letterboxing, state lost on fold and unfold, sizing from UIScreen.main, text or buttons in the fold via reservedRegions .division and .occlusion, odd grid columns, vertical toolbars with symbols and titles, tabletop and book layouts with ArrangementView overlay, camera preview rotation, outer display feature parity, multiple windows with UIWindowScene.ActivationAction, transitions, 44 pt touch targets, hardware keyboard, drag and drop) and writes findings with severity, r...

为什么在 TypingMind 中使用 Duo Design Review?

因为您只需安装一次,就能搭配任何模型使用。Duo Design Review 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Duo Design Review?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Kimeur/duology/tree/main/plugins/duology-design/skills/duo-design-review。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Duo Design Review?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Duo Design Review 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Duo Design Review 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Duo Design Review AI 技能免费吗?

是的。Kimeur 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇