Relevancekit
RelevanceKit helps developers surface the right watchOS widgets at the right moment by providing contextual relevance signals to the system. Learn to implement time-based, location-based, fitness, and hardware relevance clues through timeline providers or the new RelevanceEntriesProvider, and master Smart Stack routing patterns for mixed widget ecosystems.
Relevancekit teaches you to increase Apple Watch widget visibility using contextual relevance signals on watchOS 26+.
AI-generated summary based on this skill's SKILL.md
Install
dpearson2699/swift-ios-skills/relevancekit · repository language: Python
git clone https://github.com/dpearson2699/swift-ios-skills
cp -r swift-ios-skills ~/.claude/skills/relevancekitgenerated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is Relevancekit?
Relevancekit helps developers surface the right watchOS widgets at the right moment by providing contextual relevance signals to the system. It enables you to implement time-based, location-based, fitness, and hardware relevance clues through timeline providers or the new RelevanceEntriesProvider, and master Smart Stack routing patterns for mixed widget ecosystems.
How to use Relevancekit for widget relevance?
Relevancekit provides multiple approaches to signal widget relevance. You can use timeline providers to deliver time-based, location-based, fitness, and hardware relevance clues, or adopt the newer RelevanceEntriesProvider API for more flexible relevance signaling. Both methods help the system intelligently route your widgets within Smart Stacks based on contextual signals.
What relevance signals does Relevancekit support?
Relevancekit supports four primary types of relevance signals: time-based (scheduling when widgets matter most), location-based (triggering on geographic context), fitness-related (integrating with health and activity data), and hardware-specific signals (adapting to device capabilities). These signals work together to help the system determine optimal widget visibility.
Can Relevancekit help with Smart Stack routing?
Yes. Relevancekit enables you to master Smart Stack routing patterns for mixed widget ecosystems. By providing contextual relevance signals through either timeline providers or RelevanceEntriesProvider, you guide the system to surface the most appropriate widget at the right moment within a Smart Stack configuration.
What are the implementation options in Relevancekit?
Relevancekit offers two main implementation paths: the traditional timeline provider approach and the newer RelevanceEntriesProvider API. Both allow you to communicate relevance signals to watchOS, giving you flexibility in how you structure your widget relevance logic depending on your app's architecture and requirements.