agentleFS
hechenhechen/iphone-duo-skills/skills/iphone-duo-readiness/SKILL.md

iphone-duo-readiness

Skill4 starsChanged 2 months agoMITView on GitHub

Audit an existing SwiftUI or UIKit iPhone app for iPhone Duo and prioritize the migration from its actual Xcode, SDK, deployment target, layouts, navigation, and scene model. Use when asked whether an app is ready for iPhone Duo or the foldable iPhone, what breaks on the outer or inner display, what the Xcode 27.1 SDK changes, how to handle Mac Catalyst and 27.1/27.2 toolchain branches, or where to start a Duo migration.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search production sources and project configuration for candidates such as:

    line 19
  2. Very specific:

    Use a report table with flow / file / failure / proposed change / evidence / remaining check.

    line 34

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

iPhone Duo readiness

Produce a concrete migration assessment before broad edits. Read platform evidence for the linked-SDK behavior, toolchain branches, and audit searches.

Establish the baseline

Inspect repository instructions, supported platforms, deployment targets, project generation inputs, and the app's main flows. Record the selected Xcode and installed SDKs with xcodebuild -version and xcodebuild -showsdks, and the runtimes with xcrun simctl list runtimes. Discover actual destinations instead of assuming a Duo simulator is installed.

Separate improvements that compile today from work that needs the iOS 27.1 SDK. A runtime #available check cannot resolve a symbol absent from the build SDK, and it does not change what linking the newer SDK does to screen space and bars. Do not raise a deployment target, change the team's selected Xcode, or install a beta as an incidental audit step.

Trace assumptions to behavior

Search production sources and project configuration for candidates such as:

rg -n 'UIScreen\.main|UIDevice\.current\.orientation|userInterfaceIdiom|UIRequiresFullScreen|UISupportedInterfaceOrientations|supportedInterfaceOrientations' .
rg -n 'UIToolbar\(|UINavigationBar\(|UITabBar\(|safeAreaInsets\.(left|right)' .

Treat matches as review leads. An idiom check for an unrelated platform behavior may be valid. Follow each layout use to its container, coordinate space, and owner; don't replace strings mechanically. Inspect manually positioned overlays, fixed bar heights, cached screen metrics, arithmetic that assumes equal left and right insets, and separate compact/regular view trees that may recreate editor state.

For each issue, explain a user-visible trigger, the responsible code location, a scoped remedy, and how to reproduce and verify it. Rank data loss or unavailable primary actions above cosmetic spacing. Keep public interfaces and existing platform behavior intact unless the requested change requires otherwise.

Deliver or implement within scope

For an audit, return prioritized findings, the applicable SDK and Catalyst constraints, and a proposed sequence. For an implementation request, make the supported changes and run relevant checks; isolate deferred API adoption with its reason. Hand layout, bar, scene, camera, and QA work to the matching iphone-duo-* skill when it is installed.

Use a report table with flow / file / failure / proposed change / evidence / remaining check. Distinguish source review, compilation, simulator execution, and device execution. Never convert an unexecuted scenario into a pass.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.