agentsclimarketplace

Ios app lifecycle

Skill ComeOnOliver/skillshub/skills/HoangNguyen0403/agent-skills-standard/ios-app-lifecycle

Standards for AppDelegate, SceneDelegate, Deep Linking, and Background Tasks. Use when managing iOS app lifecycle, deep linking, or background task scheduling. (triggers: AppDelegate.swift, SceneDelegate.swift, didFinishLaunchingWithOptions, willConnectTo, backgroundTask, Shortcut, UserActivity)From its SKILL.md

Install
npx -y skills add ComeOnOliver/skillshub --skill ios-app-lifecycle

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.4 KB, 232 tokens by cl100k_base, as published. Nobody here has run it

iOS App Lifecycle Standards

Priority: P0

Implementation Guidelines

App & Scene Delegate

  • SceneDelegate: Use for UI windows and scene-specific state in iOS 13+.
  • AppDelegate: Focus on app-wide setup (DI, Analytics, Push notification registration).
  • Slim Delegates: Move initialization logic to dedicated Bootstrapper or AppCoordinator.

Deep Linking

  • Universal Links: Prefer over custom URL schemes. Handle via scene(_:continue:userActivity:).
  • Handling logic: Routing should be handled by the Root Coordinator to navigate to specific screens.

Background Tasks

  • Background Fetch: Use BGTaskScheduler for periodically refreshing data.
  • Expiration: Handle expirationHandler to avoid app kill by the system.

Anti-Patterns

  • No complex logic in didFinishLaunching: Use a Bootstrapper service.
  • No UIWindow setup in AppDelegate: Use SceneDelegate for iOS 13+.
  • No synchronous network calls in launch: Move to background thread.

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.