
Relevancekit
This helps Claude write watchOS 26 widgets that use RelevanceKit to surface the right content at the right time in the Smart Stack. It covers two patterns: adding relevance() to existing timeline providers for supplementary hints, or building relevance-only widgets that appear solely when conditions match. The skill walks through time-based, location-based, fitness, sleep, and hardware relevance providers, plus how to combine multiple signals. Useful if you're building Apple Watch complications that need contextual intelligence, like showing a meeting widget only near the office or a workout widget when activity rings are incomplete. The API is watchOS-only despite being declared cross-platform, so iOS calls are no-ops.
- skills.sh installs
- 3.2K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill relevancekit --agent claude-codeInstalls into .claude/skills of the current project.
Files
RelevanceKit
Provide on-device contextual clues that increase a widget's visibility in the Apple Watch Smart Stack. RelevanceKit tells the system when a widget is relevant by time, location, fitness state, sleep schedule, or connected hardware. Targets Swift 6.3 / watchOS 26+.
Beta-sensitive. Re-check Apple documentation before making strong RelevanceKit availability or behavior claims.
See references/relevancekit-patterns.md for complete relevant-widget, timeline provider, grouping, preview, and permission patterns.
Contents
- Overview
- Setup
- Relevance Providers
- Boundary Routing
- Time-Based Relevance
- Location-Based Relevance
- Fitness and Sleep Relevance
- Hardware Relevance
- Combining Signals
- Widget Integration
- Common Mistakes
- Review Checklist
- References
Overview
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Frontend Development, Mobile Development
- First seen
- May 16, 2026
More from dpearson2699/swift-ios-skills
All 98- Sensorkit3.2K
- Swift Security3.2K
- Tabletopkit3.1K
- App Store Optimization3.1K
- Swift Api Design Guidelines3K
- Swiftlint2.9K
- Swift Formatstyle2.8K
- Core Data2.8K
- Focus Engine2.8K
- Ios Security1.1K
- Live Activities465
- Mapkit Location461
- Photos Camera Media456
- Eventkit Calendar415
- Cloudkit Sync413
- Metrickit Diagnostics409
- Musickit Audio409
- Realitykit Ar407
- Callkit Voip403
- Pencilkit Drawing403
- Homekit Matter402
- Passkit Wallet401
- Codable Patterns252
- Swiftui Animation5.7K