mcpField
S
shareplay-developer

shareplay-developer

github.com/tomkrikorianDevelopment66105 installsUpdated 19w ago
Repository

About shareplay-developer

A developer skill for planning and implementing SharePlay experiences with GroupActivities. It guides developers through activity setup, session lifecycle, synchronization, and spatial coordination, with references selected for each workflow.

Key features

  1. 01Choose launch-only or shared-state flows
  2. 02Define GroupActivity payloads
  3. 03Configure GroupSession lifecycle
  4. 04Add messaging and journal synchronization
  5. 05Set up spatial coordination

Use cases

  1. 01Plan a SharePlay activation surface
  2. 02Implement joining and leaving group sessions
  3. 03Synchronize state for late joiners
  4. 04Coordinate shared immersive spaces

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tomkrikorian/visionosagents --skill shareplay-developer

After installing, type/shareplay-developerin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
activation-ui.md
activity-definition.md
group-session-lifecycle.md
groupactivities-patterns.md
messaging-journal.md
shareplay-spatial-api.md
spatial-coordination.md
visionos-immersive-space.md
samples/
groupactivities-samples.md

Details

From the project README

SharePlay Developer

Quick Start

  1. Decide whether this experience is launch-only co-location or shared state sync.
  2. Add the Group Activities capability and required entitlement before building SharePlay UI.
  3. Define one GroupActivity per experience and keep the payload minimal and Codable.
  4. Load the right reference only after you know the workflow.
  5. For spatial personas or immersive spaces, load spatial-coordination.md before joining.

Load References When

ReferenceWhen to Use
activation-ui.mdWhen wiring the SharePlay entry point or start button flow.
activity-definition.mdWhen defining the GroupActivity payload, metadata, or transfer representation.
group-session-lifecycle.mdWhen joining, leaving, observing, or presenting a GroupSession.
messaging-journal.mdWhen using GroupSessionMessenger, GroupSessionJournal, or late-joiner sync.
shareplay-spatial-api.mdWhen checking the official GroupActivities APIs for activation, association, session ownership, and spatial coordination.
spatial-coordination.mdWhen configuring SystemCoordinator, spatial templates, or group immersive-space behavior.
visionos-immersive-space.mdWhen implementing launch-only SharePlay for a visionOS immersive space.
groupactivities-patterns.mdWhen you need broader GroupActivities patterns or sample-backed examples.

Workflow

  1. Define the activity and choose the activation surface.
  2. Observe and configure the session before joining.
  3. Add messaging or journal synchronization only if shared state is required.
  4. Configure spatial coordination when the experience shares an immersive space.
  5. Summarize the session lifecycle, sync model, and launch surface clearly.

When To Switch Skills

  • Switch to build-run-debug when the blocker is app launch, simulator state, or runtime debugging rather than SharePlay behavior.
  • Switch to signing-entitlements when the issue is capabilities, entitlements, or privacy gating.
  • Switch to telemetry when proof of event ordering or session state changes matters more than API design.

Guardrails

  • Keep GroupActivity data small and Codable.
  • Join only after the UI and local state are ready.

Output Expectations

Provide:

  • the activity type and activation surface
  • the chosen session and sync model
  • which references were used
  • the coordination model if immersive space is involved
  • the next skill to use if the blocker is execution, signing, or testing

Comments

Markdown supported