GitHub collection

kimeur/duology

Imported from GitHub — is this yours?

33 skills imported from this repository.

View on GitHub
Stars
44
Forks
2
License
MIT

Skills (33)

duo-continuity

Keeps app state alive when iPhone Duo, Apple's foldable, folds, unfolds, rotates or resizes between the outer display and the inner display. Use when scroll position, video or audio playback, typed text, keyboard focus, selection, form input, the selected item, the navigation sta

Claude Skill duology

duo-layout

Core layout rules for iPhone Duo, Apple's foldable. Use when content lands in the fold, a screen breaks on the inner or outer display, or you write SwiftUI or UIKit layout for a foldable. Covers size classes instead of UIScreen.main, idiom or orientation, asymmetric safe areas an

Claude Skill duology

duo-navigation

Gets toolbars, navigation bars, tab bars, split views and sheets right on iPhone Duo, Apple's foldable, where bars move into one vertical bar on the side of the outer display and of the inner display in landscape. Use it when bars go vertical, items overflow or vanish, an app dra

Claude Skill duology

duo-scenes

Scenes and windows on iPhone Duo, Apple's foldable. Use when an app opens a second window (openWindow, WindowGroup(for:), activateSceneSession, UISceneSessionActivationRequest, UIWindowScene.ActivationAction), handles new-window requests on the outer display and their errors, ask

Claude Skill duology

duo-setup

Sets up a Mac to build, run and test apps for iPhone Duo, the foldable iPhone with an outer display and an inner display, covering Xcode 27.1 next to an older Xcode with DEVELOPER_DIR (no sudo xcode-select), xcodebuild -version, the iOS 27.1 SDK and runtime, the iPhone Duo simula

Claude Skill duology

duo-start

Entry point for iPhone Duo, Apple's foldable with an outer display, an inner display and a fold; use it first when someone asks to get an app ready for iPhone Duo, make it work on the foldable or survive fold and unfold, or doesn't know which Duology skill to load. It detects Swi

Claude Skill duology

duo-accessibility

Makes iPhone Duo apps work with VoiceOver, Dynamic Type, Reduce Motion, Increase Contrast, hardware keyboards, Switch Control and Voice Control on both displays. Use it when VoiceOver reads two panes row by row or loses its place after the phone folds or unfolds, when text trunca

Claude Skill duology-design

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 colu

Claude Skill duology-design

duo-design-system

Design tokens and a drop-in SwiftUI token module for iPhone Duo, Apple's foldable, that adapt by size class instead of by device. Covers a 4-point spacing scale, system margins and gutters with a wider gap at the fold, even-column layout grids (4 compact, 8 regular) with spans, o

Claude Skill duology-design

duo-ergonomics

Puts controls where hands can reach them on iPhone Duo, Apple's foldable iPhone: one-handed on the closed phone, two hands on the open display, the book grip, and hands-free on a table. Use it when you decide where a primary action, a floating button, player controls or a custom

Claude Skill duology-design

duo-patterns

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

Claude Skill duology-design

duo-postures

Designs iPhone Duo screens for every pose Apple shows: closed on the outer display, open flat (wide or tall), partly folded like a book, propped on a table like a laptop (tabletop), standing like a tent, and open and turned around (flipped, rear cameras facing the user). Use it w

Claude Skill duology-design

duo-shared-screen

Builds screens that two people use at the same time on one iPhone Duo, Apple's foldable iPhone - two-player games, teaching, showing a customer, kid and parent. Use when two people share the inner display or the outer display, sit side by side or face to face across a phone lying

Claude Skill duology-design

duo-transitions

Makes fold, unfold, partial fold and rotation on iPhone Duo, Apple's foldable, feel like one app instead of a reload. Use when a screen flashes, blinks, jumps, reloads, pops or moves its controls as the phone opens or closes, or when writing or reviewing SwiftUI or UIKit code tha

Claude Skill duology-design

duo-app-intents

App Intents on iPhone Duo: AppIntent, AppEntity with EntityStringQuery, OpenIntent with TargetContentProvidingIntent and onAppIntentExecution (UISceneAppIntent and AppIntentSceneDelegate in UIKit) to show the right item in the right pane or window, handlesExternalEvents to pick t

Claude Skill duology-features

duo-camera

Camera capture on iPhone Duo, Apple's foldable. Use when an app takes photos or video, runs a video call or shows a camera preview, and must work closed (outer display), open (inner display), partly folded (book, tabletop), open and turned around (flipped) and through fold and un

Claude Skill duology-features

duo-games

Builds games for iPhone Duo, Apple's foldable. The game fills the closed outer display, the open inner display, book pose and tabletop by changing its aspect ratio instead of letterboxing, as Apple's HIG asks; touch controls stay off the fold; and in tabletop the world sits above

Claude Skill duology-features

duo-intelligence

Adds Foundation Models to an iPhone Duo app: the on-device model (SystemLanguageModel) and the Private Cloud Compute server model (PrivateCloudComputeLanguageModel) behind one LanguageModelSession API, an AI side pane beside the content when the phone is open or in book pose (spl

Claude Skill duology-features

duo-media

Video and audio playback on iPhone Duo, Apple's foldable. Use when an app plays video or audio and must keep playing through fold, unfold and rotation, when you build a tabletop player (video above the fold, the same controls below) or a book-pose player, an up next queue, Pictur

Claude Skill duology-features

duo-reading

Builds reading and document screens for iPhone Duo, Apple's foldable: one page on the closed outer display, two facing pages split at the fold when the phone is open and held wide or folded like a book, and in tabletop the page above the fold with page turns below it. Use when yo

Claude Skill duology-features

duo-swiftui-27

The iOS 27 SwiftUI changes that matter on iPhone Duo, Apple's foldable, where every fold, unfold and rotation resizes the app. Use it when building with Xcode 27.1 breaks a view (@State macro, ContentBuilder, TN3211), when a grid or list that reflows between the outer and inner d

Claude Skill duology-features

duo-system-surfaces

Widgets, Live Activities, StandBy and Controls for apps on iPhone Duo, Apple's foldable. Use it when you build or check a widget extension, a Live Activity, a Dynamic Island presentation, a StandBy layout or a Control Center or Lock Screen control, and the app runs on iPhone Duo.

Claude Skill duology-features

recipe-finance-dashboard

Creates a complete SwiftUI personal finance dashboard for iPhone Duo, Apple's foldable: balance and recent spending in one column on the closed outer display; balance, a Swift Charts spending chart and the transaction list side by side on the open inner display; an even 8-column

Claude Skill duology-recipes

recipe-kids-learning

Creates a complete SwiftUI early-learning app for young children on iPhone Duo, Apple's foldable: counting, first letters and shapes, one question at a time with a spoken prompt and big answer buttons. Closed, the picture sits above the answers; open and held wide or folded like

Claude Skill duology-recipes

recipe-media-player

Creates a complete SwiftUI video and podcast player for iPhone Duo, Apple's foldable: a library list-detail, a full-screen player whose playback survives every fold, unfold and rotation, a tabletop layout (video above the fold, the same controls below), a book layout (video leadi

Claude Skill duology-recipes

recipe-reader

Creates a complete SwiftUI reading app for iPhone Duo, Apple's foldable: a library shelf, then one page on the closed outer display, two facing pages split at the fold when the phone is open and held wide or folded like a book, and in tabletop the page above the fold with the pag

Claude Skill duology-recipes

recipe-shop

Creates a complete SwiftUI shop for iPhone Duo, Apple's foldable, that sells digital packs and a subscription with StoreKit 2: a product grid with even columns that reflows from 2 per row on the closed outer display to 4 on the open inner display with the fold as its middle gutte

Claude Skill duology-recipes

recipe-two-player-game

Creates a complete two-player, one-phone SwiftUI game for iPhone Duo, Apple's foldable, where each player gets half the screen in every pose (closed on the outer display, open on the inner display, upright or sideways, partly folded). Use when someone wants to start a new two-pla

Claude Skill duology-recipes

duo-app-store

Prepares an app's App Store submission for iPhone Duo, Apple's foldable with a 1398 x 2034 outer display and a 2007 x 2853 inner display: App Store screenshots of both displays at the exact sizes App Store Connect lists, flattened without alpha, captured from the iPhone Duo simul

Claude Skill duology-ship

duo-lint

The fold linter for iPhone Duo, Apple's foldable with an outer display and an inner display. Run it to find code Apple says to remove before an app runs on the foldable; it reports each finding with the fix for its rule. Catches UIScreen.main and UIScreen.screens, UIDevice.curren

Claude Skill duology-ship

duo-migrate

Moves an existing iOS app that already ships onto iPhone Duo, Apple's foldable, step by step: from an app built with Xcode 26 (iOS 26 SDK) or Xcode 27.0 to a build with Xcode 27.1 and the iOS 27.1 SDK. Use when an app shows up centred with empty space around it on the open iPhone

Claude Skill duology-ship

duo-pose-matrix

Screenshots an iPhone Duo app in every pose (closed, open, book, tabletop) on the iPhone Duo simulator by pressing Device Hub's pose buttons through the macOS Accessibility API, then writes summary.md and summary.json to review with the duo-design-review checklist. Use when asked

Claude Skill duology-ship

duo-testing

Writes and runs tests for iPhone Duo apps, Apple's foldable with an outer display and an inner display, on the Mac and on the iPhone Duo simulator in Xcode 27.1. Use when adding logic tests (swiftc script, or Swift Testing with @Test and #expect), UI tests with XCTest and XCUIAut

Claude Skill duology-ship

Commands (6)

  • /duo-audit — Audit an app for iPhone Duo: run duo-lint on the code, run the 15-point duo-design-review checklist on screenshots of the app on the Duo simulator, and list what to fix, most serious first.
    source
  • /duo-doctor — Check that this Mac can build, run and test iPhone Duo apps (macOS, Xcode 27.1, the iOS 27.1 simulator runtime, an iPhone Duo simulator, Xcode's MCP bridge, python3 for duo-lint), then explain how to fix each failure.
    source
  • /duo-new — Create a new iPhone Duo app from a Duology recipe (a two-player game, a finance dashboard, a media player, a reader, a shop, a learning app for young children, notes with on-device AI summaries or a camera studio), build it with Xcode 27.1 and run it on the iPhone Duo simulator.
    source
  • /duo-poses — Screenshot an installed app on the iPhone Duo simulator closed, open, in book pose and in tabletop. Presses Device Hub's pose buttons through the macOS Accessibility API (only if the user has allowed it), checks each pose, saves the PNGs with summary.md and summary.json, and puts the simulator back. Falls back to poses the user sets by hand.
    source
  • /duo-review — Design review of an iPhone Duo app from pictures. Hands a folder of screenshots or Figma frame exports (default: the newest duo-pose-matrix run) to the duo-design-reviewer agent, which applies the 15-point duo-design-review checklist and the pose, layout, reach and accessibility rules, then lists findings with severity, rule, where and fix, most serious first. Reads only; changes nothing.
    source
  • /duo-ship — App Store checklist for iPhone Duo before a submission: checks the build rules that start in April 2027 (iOS 27 SDK or later, iOS 15 or later, the scene life cycle), runs duo-lint, builds and launches the app on the iPhone Duo simulator, runs it in every pose with duo-pose-matrix and has the duo-pose-tester agent report each failure, captures App Store screenshots of both displays at the listed sizes without alpha, checks the privacy manifest against the code, and drafts the App Review notes. Reports Ready, Fix or Check for each item, with the evidence. Never uploads or submits anything.
    source