- Home
- Skills
- Mobile Development
- iPhone Duo Adaptivity Audit
Works with the AI tools you already use
iPhone Duo Adaptivity Audit
Find and fix legacy screen, orientation, idiom and lifecycle code that breaks in iOS 27 resizable environments.
$9.99
About this skill
The inner display of iPhone Duo, iPhone Mirroring, iPhone apps on iPad and Split View all resize your app. Code that reads the main screen, the device orientation or the idiom gets wrong values there. This skill finds that code and replaces it with values from the view's own window and traits.
What it does
- Finds legacy screen code:
UIScreen.main, screen bounds and scale,keyWindowandconnectedScenes.first. - Removes layout forks on orientation and idiom: replaces them with size classes and the container size.
- Plans the UIScene migration: the latest SDK requires the UIScene lifecycle, or the app does not launch.
- Checks
UIRequiresFullScreen: from iOS 27, it no longer opts the app out of resizing. - Fixes Face ID assumptions: iPhone Duo has Touch ID, so copy and symbols branch on
LAContext.biometryType.
How it works
- A read-only scanner (
duo_scan.py) lists every match with a rule ID. - The skill reads each match and classifies it: replace, keep with a reason, or ask you.
- If Xcode 27 has its UIKit modernization skill, this skill uses it for bulk UIKit rewrites.
- You approve each change. The skill applies it, builds and scans again.
Works with
SwiftUI and UIKit apps in Xcode. The skill references include before-and-after code for each replacement.
Why use this skill
This is the base for all other iPhone Duo work. A layout that depends on the screen, the orientation or the idiom is wrong on iPhone Duo before any foldable-specific change.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- Passed all security checks, Safe to install