What problem does it solve?
This Skill addresses the complexities of structuring modern iOS applications, focusing on robust app entry points, state management, authentication flows, and scene lifecycle handling to ensure a stable and scalable user experience.
Core Features & Use Cases
- App Architecture: Guides the structuring of
@main entry points and root view management.
- State Management: Implements explicit, validated state machines for app-level states (loading, authentication, etc.).
- Lifecycle Handling: Manages scene lifecycle events (
scenePhase) for seamless background/foreground transitions and state restoration.
- Modularization Strategy: Provides decision trees and patterns for breaking down large codebases into manageable modules.
- Use Case: When building a new iOS app, use this Skill to define a clear architecture for handling user authentication, transitioning between different app states (e.g., onboarding to main dashboard), and ensuring data is correctly restored when the app is backgrounded and reopened.
Quick Start
Use the axiom-app-composition skill to define an enum-based state machine for managing app states like loading, unauthenticated, and authenticated.