axiom-audit-resize

Audits iOS apps for resize-readiness violations across UIKit, Info.plist, and scene lifecycle configuration.

1.1k|83|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/CharlesWiltgen/Axiom --skill axiom-audit-resize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-audit-resize
Source: https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-audit-resize
Command: npx skills add https://github.com/CharlesWiltgen/Axiom --skill axiom-audit-resize

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Apple's 27-cycle SDK makes every app resizable and mandates the scene-based lifecycle, so apps built around fixed canvases, UIScreen.main geometry, or app-delegate-only lifecycles break under iPhone Mirroring, Split View, and resized windows. This Skill systematically scans a codebase to find every violation before users hit them.

Core Features & Use Cases

  • Anti-Pattern Detection: Greps and verifies 12 known violations including UIScreen.main layout use, UIRequiresFullScreen, orientation-derived layout, idiom checks, cached geometry, and unresized Metal/SpriteKit surfaces.
  • Completeness Reasoning: Checks for missing resize infrastructure such as minimumSize restrictions, isInteractivelyResizing throttling, per-scene state restoration, and Mirroring-compatible input handling.
  • Scored Report: Produces a severity-ranked issue list with file:line references, compound-finding analysis, and a RESIZE-READY / PARTIAL / FIXED-CANVAS readiness score.
  • Use Case: Before shipping against the iOS 27 SDK, run the audit on a mixed SwiftUI/UIKit app to confirm the scene lifecycle is adopted and no layout math assumes a full-screen canvas.

Quick Start

Ask the assistant to audit this project for window resizing readiness and iPhone Mirroring compatibility using the resize audit skill.

Frequently Asked Questions about axiom-audit-resize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if my iOS app is ready for resizable windows?

Run this audit to scan your UIKit code, Info.plist, and scene manifest for fixed-canvas assumptions. It reports a Resize Readiness Score of RESIZE-READY, PARTIAL, or FIXED-CANVAS with severity-ranked issues and fixes.

What breaks in iOS apps under iPhone Mirroring?

Mirroring breaks apps that read UIScreen.main for layout, derive layout from device orientation, or use custom pan gestures without allowedScrollTypesMask. The audit detects all of these plus biometric flows that fail without the companion-capable LA policy.

Does the audit handle SwiftUI apps or only UIKit?

SwiftUI-lifecycle apps automatically satisfy the scene requirement and are not flagged. SwiftUI layout adaptivity issues like GeometryReader misuse are delegated to the separate swiftui-layout-auditor, with overlaps noted in Cross-Auditor Notes.

Why is an app-delegate-only lifecycle a critical issue?

Apps built against the 27 SDK with only UIApplicationDelegate and no scene manifest no longer launch, since the scene-based lifecycle is mandatory. The fix is adopting UIWindowSceneDelegate plus UIApplicationSceneManifest.

What are the limitations of this resize audit?

The audit relies on grep patterns with contextual verification, so it can miss violations hidden behind dynamic indirection. It also excludes test, preview, and dependency directories, and defers deep SpriteKit and accessibility findings to other auditors.