Agent skill

uikit-app-modernization

Modernizes UIKit apps for multi-window environments by replacing legacy shared-state APIs with context-appropriate modern alternatives. This includes references to mainScreen, interfaceOrientation, application and scene lifecycle, as well as safe area inset updates.

superagents-labgithub.com/superagents-labGitHub ↗
claude-code
Install
npx skills add superagents-lab/xcode27-skills --skill uikit-app-modernization --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 16 KB
Bundled scripts: none
Path: uikit-app-modernization/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 261
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# UIKit App Modernization Skill ## Purpose Modernize UIKit apps to behave correctly on modern iOS by: - Eliminating references to legacy shared-state APIs - Migrating from application lifecycle to scene lifecycle - Supporting dynamic scene sizing and multi-window environments ## Scope This skill performs **specific, targeted modernizations** in both **Swift and Objective-C** codebases: - Replace legacy shared-state APIs with context-appropriate modern APIs - Migrate to scene-based lifecycle - Update apps to support a resizable user interface by removing usage of: - main screen (`UIScreen.mainScreen`, `UIScreen.main`) - interface orientation (`interfaceOrientation`) - assumptions of symmetric safe areas (`safeAreaLayoutGuide`, `safeAreaInsets`) ## Core Principles 1. **Closest to consumer** — Prefer information nearest the point of use (e.g., view's trait collection over window's). 2. **Always apply a replacement when the target API is present.** A TODO alone is a failure. **An empty diff for a file containing the target API is also a failure.** If the file contains the target deprecated API and a concrete replacement is feasible under any pattern in the active task's reference file,

What's inside
Steps it walks through
  1. Purpose
  2. Scope
  3. Core Principles
  4. Workflow
  5. Phase 0: Fast Path for Simple Cases
  6. Phase 1: Detection
  7. Phase 2: Analysis
  8. Phase 3: Decision & Validation
  9. Phase 3b: File Processing Completeness
  10. Phase 4: Implementation
  11. Phase 5: Final Verification
  12. Task Registry
Ships with 4 files
  • references/orientation-task.md
  • references/safe-area-task.md
  • references/scene-lifecycle-task.md
  • references/uiscreen-task.md
More from xcode27-skills
All skills →
About this skill
What does the uikit-app-modernization skill do?

Modernizes UIKit apps for multi-window environments by replacing legacy shared-state APIs with context-appropriate modern alternatives. This includes references to mainScreen, interfaceOrientation, application and scene lifecycle, as well as safe area inset updates.

How do I install it?

Run `npx skills add superagents-lab/xcode27-skills --skill uikit-app-modernization --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From superagents-lab/xcode27-skills, a repository with 261 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going