Agent skill · software engineering · dpearson2699

shareplay-activities

Build shared real-time experiences using GroupActivities and SharePlay. Use when implementing shared media playback, collaborative app features, synchronized game state, or any FaceTime, Messages, AirDrop, or nearby visionOS group activity on iOS, macOS, tvOS, or visionOS.

Why this skill is useful

Provides specific implementation patterns and code snippets for using GroupActivities and SharePlay that the AI wouldn't reliably generate on its own.

What it needs

About 7k tokens when loaded. Last updated 2026-07-31. 973 stars on the source repository.

What this skill does

GroupActivities / SharePlay Build shared real-time experiences using the GroupActivities framework. SharePlay connects people over FaceTime, Messages, AirDrop, and nearby visionOS sharing, synchronizing media playback, app state, or custom data. Contents Setup Defining a GroupActivity Session Lifecycle Sending and Receiving Messages Coordinated Media Playback Starting SharePlay from Your App GroupSessionJournal: File Transfer Common Mistakes Review Checklist References Setup Capability Add the Group Activities capability to the app target in Xcode. Xcode adds the required entitlement and updates the provisioning profile: Configure this only for app targets. Group Activities are not available in widgets, extensions, or App Clips. Checking Eligibility Observe changes reactively: Defining a GroupActivity Conform to GroupActivity and provide metadata: Activity Types Type Use Case --- --- .generic Default for custom activities .watchTogether Video playback .listenTogether Audio playback .createTogether Collaborative creation (drawing, editing) .exploreTogether Shared browsing, planning, or exploration .learnTogether Shared learning or studying .readTogether Shared reading .shopTogether Shared shopping .workoutTogether Shared fitness sessions GroupActivity is Codable; stored activity data must be codable. Add Transferable only for SwiftUI ShareLink, SharePlay over AirDrop, or AppKit/UIKit share sheets. Keep payloads minimal: use identifiers or URLs instead of large data. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills dpearson2699/shareplay-activities

View the source on GitHub

Browse the @skills marketplace