Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    iPhone Duo Adaptivity Audit

    1

    Find and fix legacy screen, orientation, idiom and lifecycle code that breaks in iOS 27 resizable environments.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    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, keyWindow and connectedScenes.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

    1. A read-only scanner (duo_scan.py) lists every match with a rule ID.
    2. The skill reads each match and classifies it: replace, keep with a reason, or ask you.
    3. If Xcode 27 has its UIKit modernization skill, this skill uses it for bulk UIKit rewrites.
    4. 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.

    The scanner matches single-line patterns and joined member chains. It does not see macros or generated code, so some matches need a manual search. Bulk UIKit rewrites through Xcode's modernization skill need Xcode 27.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Terminal: the skill runs its read-only scanner with python3 and calls xcrun to find the SDK path and to export Xcode's own modernization skill into a temporary directory. Read Files: it reads Swift sources, Info.plist and project files. Write Files: it changes code only after you approve each change. No network access. The domains in references/sources.md are citations, not services.

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    This skill identifies and replaces hardcoded values like `UIScreen.main` and device orientation checks with modern, container-aware logic. This ensures your app layouts respond correctly when users resize windows or switch displays on the iPhone Duo.

    The skill requires Xcode 16+ and is optimized for AI agents with file-system access, such as GitHub Copilot Extensions or Cursor. It works across both SwiftUI and UIKit lifecycles, though it specifically targets the transition to UIScene.

    Yes, the skill is designed to handle hybrid projects. It identifies legacy UIKit idioms and replaces them with modern Traits, while ensuring SwiftUI views are using the correct Environment values rather than global screen statics.

    The audit performs a safe, read-only scan first. Every suggested change is presented as a diff for your approval, and it integrates with Xcode’s build system to verify that the modernizations don't break your existing implementation.

    While this skill focuses on universal adaptivity (screen bounds and traits), it specifically adds logic to handle the Touch ID sensors found on iPhone Duo, ensuring your biometric authentication flows don't crash or default to incorrect UI symbols.

    Purchasing this skill grants you access to the `duo_scan.py` tool and the AI instruction set. You will also receive free compatibility updates for the duration of the iOS 27 beta cycle to ensure the rules align with Apple's latest API changes.

    New in Mobile Development