/ios-swift-skills:iphone-duo-designfrom ios-swift-skills
Guides designing, adapting, implementing, or auditing iOS apps for iPhone Duo, covering resizing, folding, vertical bars, reserved regions, state continuity, multiple scenes, camera behavior, and accessibility. Produces evidence-based readiness findings with SDK gates and fallbacks.
Ships in ios-swift-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Help an app keep its identity and functionality while its usable space changes. This skill works with any coding assistant that can read Markdown. Shell, browser, Xcode, and simulator tools are optional capabilities, not host-specific dependencies. When a tool is unavailable, provide the exact remaining check and keep its result unverified.
Before changing code, inspect the app's deployment targets, Swift language mode, selected Xcode/SDK, UI framework, scene configuration, and principal user flows. For design-only work, record any unknowns instead of choosing a deployment target for the user. Preserve existing platform support unless the user requests a change.
Read versions and sources before proposing Duo-specific symbols. Refresh the official sources when implementation depends on their current availability. The version table records the SDK used to check each declaration.
Keep three evidence categories separate:
A request for "Duo compliant" means a review against documented design guidance and the app's requirements. Do not issue an Apple certification, guarantee App Review approval, or call an untested app fully ready.
| Request | Read and produce |
|---|---|
| Design review, layout, bars, fold handling | Layout and controls; findings tied to affected flows |
| Lost state, multiple windows, simultaneous displays, camera | Continuity, scenes, and camera; ownership and lifecycle plan |
| Implementation with an older SDK or deployment target | Versions and sources; verified API gate and fallback |
| Readiness audit or release evidence | Verification; completed report template |
For a narrow task, load only its references. The adaptive editor example uses established APIs and shared edit state. It does not implement new Duo APIs or prove behavior on Duo hardware.
For code changes, report the changed behavior, minimum versions, fallback,
tests performed, and remaining evidence gaps. For an audit, rank actionable
findings by user impact and attach a source or reproduction to each finding.
Use verified, failed, blocked, or not applicable per matrix row.
Keep unavailable SDK/device checks explicit while completing useful current-SDK work. Recommend additional features only when they serve the app's actual tasks. Do not add camera access, a second display experience, or sensor tracking merely because the device supports it.
README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)examples/AdaptiveEditor.swift (opens in a new tab)examples/prompts.md (opens in a new tab)references/continuity-scenes-camera.md (opens in a new tab)references/layout-and-controls.md (opens in a new tab)references/readiness-report.md (opens in a new tab)references/verification.md (opens in a new tab)references/versions-and-sources.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
iphone-duo, adaptive-layout, ios-design, foldable, multi-scene, readiness-audit
npx claudepluginhub fal3/swift-apple-skills --plugin ios-swift-skills14 skills in this plugin
/app-intents-widgetsDesign, implement, debug, and verify stable App Intents and WidgetKit integrations, including AppIntent, AppEntity, AppEnum, entity queries, AppShortcutsProvider, dependency injection, shared extension data, widget timelines, relevance, controls, Live Activity selection, deep links, handoff, confirmation, and privacy. Use when exposing app actions to Siri or Shortcuts, building configurable or interactive widgets, sharing state with extensions, or choosing the correct system surface for an action. Do not use for ordinary in-app buttons, generic SwiftUI layout, background scheduling without a widget or intent, SiriKit-only legacy work with no migration request, or Live Activity push-server implementation as the sole task./apple-evaluationsBuild, review, and debug generative AI quality regression suites with Apple's Evaluations framework, including Evaluation, datasets, metrics, Swift Testing integration, calibrated model judges, and tool-call trajectories. Use when measuring an Apple-platform intelligence feature, comparing prompts or models, or diagnosing misleading evaluation results. Do not use for ordinary deterministic unit tests, UI automation, performance profiling alone, model training, or an unrelated vendor's evaluation framework./cross-platform-app-development-skillUse when one Swift/SwiftUI product intentionally targets two or more of iOS, iPadOS, Mac Catalyst, macOS, watchOS, tvOS, or visionOS and needs shared-domain design, adaptive UI, capability boundaries, navigation, input, scenes, storage, or conditional compilation. Do not use for a single-platform feature or for non-Apple cross-platform frameworks./ios-accessibility-skillUse when iOS or iPadOS accessibility design, implementation, review, or testing involves VoiceOver, Voice Control, Switch Control, Full Keyboard Access, Dynamic Type, contrast, motion, focus, media alternatives, or Assistive Access. Do not use for generic visual styling or platform-neutral UI work with no accessibility requirement./ios-animation-graphics-skillDesign, implement, debug, and review accessible Apple-platform animation and graphics with SwiftUI animation, Canvas, TimelineView, matched geometry, phase/keyframe animators, Core Animation, and Lottie. Use for motion design, custom drawing, transitions, particles, animated symbols, UIKit/AppKit bridging, Reduce Motion, and animation performance. Prefer native SwiftUI for app UI; use Core Animation or Lottie only when their capabilities are needed. Do not use this skill for SpriteKit/Metal game engines, video rendering, or image editing unless animation integration is the specific task./memory-leak-diagnosis-skillDiagnose, explain, and fix Swift and Apple-platform memory leaks, unexpected object retention, deinit failures, heap growth, retain cycles, runaway caches, task and AsyncSequence lifetimes, timer/delegate/closure ownership, jetsam, and ARC issues using Xcode Memory Graph and Instruments Allocations, Leaks, and VM tools. Use when objects do not deallocate, memory rises across repeated workflows, or weak/unowned and capture-list choices are unclear. Do not enable Zombies for leak measurement, call every temporary retention a leak, or use unowned without a proven lifetime invariant.Other plugins' skills for the same job