Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

shareplay-developer共享游戏开发商

Agent Skill

shareplay-developer 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,087

周安装

172

GitHub Stars

公开资料未说明

下载量

1,431
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:shareplay-developer(共享游戏开发商)
来源仓库:https://github.com/tomkrikorian/shareplay-developer
安装命令:
openclaw skills install shareplay-developer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install shareplay-developer

简介

Shareplay-developer 用于构建和调试 SharePlay GroupActivities 功能。

  • 涵盖 GroupActivity 定义、激活流程和消息传递机制。
  • 通过 clawhub 安装,安装命令为 openclaw skills install shareplay-developer。
  • 需熟悉 iOS 开发环境和相关 SDK 配置要求。
  • 建议结合 Apple 官方文档验证功能实现细节。

SKILL.md

name
shareplay-developer
description
Build, integrate, and troubleshoot SharePlay GroupActivities features, including GroupActivity definitions, activation flows, GroupSession lifecycle, messaging and journals, ShareLink and SharePlay UI surfaces, and visionOS spatial coordination. Use when implementing or debugging SharePlay experiences across Apple platforms, especially visionOS.

SharePlay Developer

Description and Goals

This skill provides comprehensive guidance for implementing SharePlay experiences with the GroupActivities framework. It covers activity definition, session lifecycle, state synchronization, UI surfaces, and visionOS spatial coordination.

Goals

  • Enable developers to build SharePlay experiences across Apple platforms
  • Guide proper GroupActivity definition and activation
  • Support GroupSession lifecycle management
  • Help implement state synchronization with messaging and journals
  • Enable spatial coordination for visionOS immersive experiences (group immersive space)

What This Skill Should Do

When implementing SharePlay features, this skill should:

  1. Guide activity setup - Help you define GroupActivity types and metadata
  2. Handle activation - Show how to check eligibility and activate SharePlay
  3. Manage sessions - Demonstrate GroupSession lifecycle and participant management
  4. Sync state - Provide patterns for messaging and journal-based synchronization
  5. Coordinate spatially - Show how to use SystemCoordinator for visionOS spatial experiences and group immersive spaces
  6. Present UI - Guide use of ShareLink and other SharePlay UI surfaces

Load the appropriate reference file from the tables below for detailed usage, code examples, and best practices.

Quick Start Workflow

  1. Add the Group Activities capability and com.apple.developer.group-session entitlement in Xcode.
  2. Define a GroupActivity type per experience and keep its data minimal and Codable.
  3. Provide GroupActivityMetadata with a clear title, type, and fallback URL.
  4. Check GroupStateObserver.isEligibleForGroupSession and activate or present SharePlay UI.
  5. Listen for sessions with for await session in Activity.sessions() and store the session strongly.
  6. Configure SystemCoordinator before join() when spatial personas or immersive spaces are involved.
  7. Call session.join() only after UI and state are ready.
  8. Sync state with GroupSessionMessenger (time-sensitive messages) or GroupSessionJournal (durable shared data objects).
  9. Observe activeParticipants and send a state snapshot for late joiners.
  10. Call leave() or end() and cancel tasks when the session invalidates.

visionOS Launch-Only Workflow (Same Space, No Sync)

Use this when you only want participants to enter the same immersive space with spatial coordination, without synchronizing entities or interactions yet.

  1. Define a GroupActivity with lightweight metadata. Add GroupActivityTransferRepresentation only when you want to start the activity from ShareLink, a share sheet, or another transferable context.
  2. Provide a SharePlayManager that observes sessions and configures SystemCoordinator:

- supportsGroupImmersiveSpace = true - spatialTemplatePreference = .sideBySide (or another appropriate template)

  1. If your immersive experience should keep the system immersive environment visible, set .immersiveEnvironmentBehavior(.coexist) on the ImmersiveSpace scene. Don’t treat that modifier as the API that spatially coordinates participants.
  2. Provide a start button:

- If FaceTime is active and activation is preferred, call activate(). - Otherwise present GroupActivitySharingController (UIKit) or ShareLink (SwiftUI).

  1. Join the session with session.join() once configured.

Information About the Skill

Core Concepts

Activity Definition

  • Use GroupActivity to define the shareable experience and keep payloads minimal.
  • Provide GroupActivity.metadata with title, subtitle, preview image, and fallback URL.
  • Set GroupActivityMetadata.type to a matching ActivityType value.
  • Use GroupActivityActivationResult from prepareForActivation() to decide activation.
  • Use GroupActivityTransferRepresentation when starting the activity from ShareLink, a share sheet, or another transferable surface.

Session Lifecycle and Participants

  • Use GroupSession to manage the live activity; call join(), leave(), or end().
  • Observe GroupSession.state, activeParticipants, and isLocallyInitiated to drive UI.
  • Use GroupSession.sceneSessionIdentifier to map sessions to scenes when needed.
  • Call requestForegroundPresentation() when the activity needs the app visible.
  • Use GroupSession.showNotice(_:) or postEvent(_:) for system playback notices.

Messaging and Transfer

  • Use GroupSessionMessenger for time-sensitive messages and state changes.
  • Use .reliable delivery for critical state and .unreliable for high-frequency updates.
  • Use GroupSessionJournal for attachments and other data objects that should remain available to current and later participants.

UI Surfaces to Start SharePlay

  • Use ShareLink with Transferable + GroupActivityTransferRepresentation in SwiftUI.
  • Use GroupActivitySharingController in UIKit/AppKit when no FaceTime call is active.
  • Use NSItemProvider.registerGroupActivity(...) in share sheets when needed.

visionOS Spatial Coordination

  • Use SystemCoordinator from GroupSession.systemCoordinator for spatial layout.
  • Set spatialTemplatePreference and supportsGroupImmersiveSpace as needed.
  • Use localParticipantStates and remoteParticipantStates to track poses.
  • Use groupActivityAssociation(_:) to choose the primary scene.
  • For immersive spaces, use .immersiveEnvironmentBehavior(.coexist) only when you want the system immersive environment to remain visible; participant co-location comes from SystemCoordinator configuration.

Reference Files

ReferenceWhen to Use
REFERENCE.mdWhen looking for GroupActivities-focused code samples and excerpts.
visionos-immersive-space.mdWhen implementing “launch-only” SharePlay for a visionOS immersive space (same space, no sync).
activation-ui.mdWhen wiring the start button (FaceTime-active activation vs share sheet fallback).

Implementation Patterns

  • Send a full state snapshot when new participants join.
  • Keep UI state separate from shared game state to reduce message churn.
  • Use GroupSessionMessenger for transient actions and GroupSessionJournal for durable data.
  • Prefer AVFoundation coordinated playback for media sync.

Pitfalls and Checks

  • Keep GroupActivity data minimal; send state changes via messenger or journal.
  • Store strong references to GroupSession, GroupSessionMessenger, and GroupSessionJournal.
  • Join only when UI and state are ready; call leave() on teardown.
  • Handle late joiners by sending the current state snapshot on activeParticipants change.
  • For visionOS group immersive space: if participants don't colocate, verify supportsGroupImmersiveSpace, the selected spatial template, and that SystemCoordinator is configured before join().

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.89%
按下载量换算1,372

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills