relevancekit

Community

Boost widget visibility on Apple Watch

AuthorKumarAdi8
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps watchOS widget authors increase the chance their widget appears in the Apple Watch Smart Stack by providing precise, on-device contextual relevance clues so the system surfaces the right widget at the right time.

Core Features & Use Cases

  • Relevance provider patterns: Implement AppIntentTimelineProvider.relevance() or RelevanceEntriesProvider to supply time, location, fitness, sleep, and hardware clues.
  • Permission & preview guidance: Request location and HealthKit permissions in both the app and widget extension and handle context.isPreview and placeholder entries for reliable previews.
  • Grouping, deduplication, and association: Use WidgetRelevanceGroup and .associatedKind(_:) to control grouping behavior and avoid duplicate Smart Stack cards.
  • Use case: Surface meeting cards 15 minutes before start, show commute tools during an inferred commute, or surface media controls when headphones connect.

Quick Start

Add relevance clues to your widget by implementing relevance() to return ordered WidgetRelevance attributes and ensure required permissions are granted in both the app and widget extension.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: relevancekit
Download link: https://github.com/KumarAdi8/AgentKit/archive/main.zip#relevancekit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.