relevancekit

Create contextual relevance signals for Apple Watch widgets using RelevanceKit and WidgetKit.

Updated Jul 12, 2026
One-click install
npx skills add https://github.com/yashpalsince2004/National_academy_app --skill relevancekit-yashpalsince2004
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: relevancekit
Source: https://github.com/yashpalsince2004/National_academy_app/tree/main/Mobile/.agents/skills/relevancekit
Command: npx skills add https://github.com/yashpalsince2004/National_academy_app --skill relevancekit-yashpalsince2004

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires RelevanceKit, WidgetKit, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill improves the visibility of Apple Watch widgets by providing contextual relevance signals, ensuring the right widget is displayed at the right time.

Core Features & Use Cases

  • Relevance Providers: Use timeline providers or RelevanceEntriesProvider to define when a widget is relevant.
  • Time-Based Relevance: Define relevance based on specific dates, date ranges, or time intervals.
  • Location-Based Relevance: Set relevance based on inferred or specific locations.
  • Fitness and Sleep Relevance: Trigger widgets based on fitness activities or sleep schedules.
  • Hardware Relevance: Make widgets relevant based on the connection of specific hardware, like headphones.
  • Combining Signals: Combine multiple relevance signals to make widgets relevant under various conditions.
  • Widget Integration: Integrate with WidgetKit to create relevant widgets for watchOS 26 and later.
  • Use Case: Create a widget that shows calendar events only when they are approaching or when the user is near a specific location.

Quick Start

Use the relevancekit skill to create a widget that shows calendar events on the Apple Watch.

Frequently Asked Questions about relevancekit

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

FAQPage Schema
How do I make Apple Watch widgets show at the right time using contextual signals?

Apple Watch widget visibility is controlled by providing contextual relevance signals through RelevanceKit. You define timeline providers that trigger widget displays based on specific times, locations, fitness activities, or hardware states.

Can I trigger watchOS widgets based on location and fitness data?

Yes, watchOS widgets can be triggered using location-based and fitness-based relevance signals. You can set widget relevance based on inferred locations, specific coordinates, fitness activities, or sleep schedules to display contextually appropriate information.

Does RelevanceKit work with WidgetKit on watchOS?

RelevanceKit integrates directly with WidgetKit to create relevant widgets for watchOS 26 and later. This combination allows you to define relevance entries that determine when widgets appear on the Apple Watch face.

How to combine multiple relevance signals for a single watchOS widget?

Combining multiple relevance signals involves using RelevanceEntriesProvider to merge time, location, fitness, and hardware states. This allows a single widget to become relevant under various overlapping conditions, like showing calendar events when approaching a location.

What are the limitations of using RelevanceKit for Apple Watch widgets?

RelevanceKit targets watchOS 26 and later exclusively, meaning widgets using these contextual relevance signals will not function on older watchOS versions. Widget visibility depends entirely on the defined relevance constraints.

Do I need RelevanceKit to show widgets based on hardware states on Apple Watch?

To display widgets based on hardware connections like headphones, RelevanceKit provides the necessary hardware relevance signals. This allows WidgetKit to trigger specific interfaces when matching hardware connects to the Apple Watch.