swiftui-alarmkit

Schedule and manage alarms and countdown timers for iOS 18+ apps.

4|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/AutisticAF/claude-code-apple-dev-plugin --skill swiftui-alarmkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-alarmkit
Source: https://github.com/AutisticAF/claude-code-apple-dev-plugin/tree/main/skills/swiftui-alarmkit
Command: npx skills add https://github.com/AutisticAF/claude-code-apple-dev-plugin --skill swiftui-alarmkit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the guesswork and common integration errors when implementing alarms and countdown timers on iOS, ensuring correct authorization, Info.plist configuration, Live Activity support, and reliable alarm lifecycle management.

Core Features & Use Cases

  • Scheduling & Management: One-time, repeating, and countdown timers with pause, resume, and cancel support via AlarmManager.
  • Live Activities & Widgets: Guidance for adding a widget extension and ActivityConfiguration(for: AlarmAttributes.self) so alarms and timers display on the Lock Screen and Dynamic Island.
  • Robust Patterns: Authorization handling, alarm ID persistence, observing alarmUpdates, and handling system limits to avoid common runtime failures.

Quick Start

Use the swiftui-alarmkit skill to add an iOS 18+ alarm or timer with Live Activities, proper Info.plist keys, and persisted alarm IDs for pause/resume/cancel operations.

Frequently Asked Questions about swiftui-alarmkit

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

FAQPage Schema
How do I schedule repeating alarms and countdown timers in SwiftUI?

To schedule repeating alarms and countdown timers in SwiftUI, use AlarmManager for one-time, repeating, and countdown operations with support for pause, resume, and cancel functionality. Persist alarm IDs to manage the alarm lifecycle reliably across app sessions.

Do I need a widget extension to display Live Activities for iOS alarms?

Yes, you need a widget extension to display Live Activities for iOS alarms. Configure ActivityConfiguration(for: AlarmAttributes.self) within the widget extension to present countdown timers on the Lock Screen and Dynamic Island on iOS 18+.

Why are my iOS alarms failing to trigger in silent or Focus mode?

iOS alarms failing to trigger in silent or Focus mode often lack proper Focus or silent mode overrides. Additionally, ensure NSAlarmKitUsageDescription is present in Info.plist and verify AlarmManager.authorizationState is granted before scheduling.

What's the best way to handle AlarmKit authorization in SwiftUI?

The best way to handle AlarmKit authorization in SwiftUI is to check AlarmManager.authorizationState before scheduling alarms. Observe alarmUpdates async sequences to track authorization changes and alarm lifecycle events, ensuring your app responds to system permission states correctly.

Can I use AlarmKit to show countdown timers on the Dynamic Island?

Yes, you can use AlarmKit to show countdown timers on the Dynamic Island. Implement a widget extension with ActivityConfiguration(for: AlarmAttributes.self) to enable Live Activities that display your countdown presentations on the Lock Screen and Dynamic Island.

What are the system requirements for implementing AlarmKit in iOS apps?

Implementing AlarmKit in iOS apps requires iOS 18 or later. You must add NSAlarmKitUsageDescription to your Info.plist, handle AlarmManager.authorizationState, and include a widget extension with ActivityConfiguration(for: AlarmAttributes.self) for Live Activities.