Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

stream-unity

БесплатноБез исполняемых скриптовНе проверен

Build, integrate, and answer how-to questions for Stream Chat and Stream Video in Unity Engine games and apps. Use for Unity / C# / MonoBehaviour project work…

GetStreamот GetStream★ 21 звезда на GitHub

Об этом скилле

Stream Unity - docs orchestrator for Unity Engine

Chat and Video. There is no Stream Feeds SDK for Unity (/activity-feeds/docs/unity and https://getstream.io/cli/docs/activity-feeds-unity.md both 404). If the user asks for activity feeds in Unity, say so up front and offer the alternatives (the REST/server API driven from your backend, or a platform SDK on a companion app) rather than inventing an API.

These are two separate SDKs, and almost nothing is shared. Different repos, different install mechanisms, different maturity, different supported platforms, different docs quality. There is no combined client, no shared AuthCredentials type (StreamChat.Libs.Auth.AuthCredentials and StreamVideo.Libs.Auth.AuthCredentials are distinct types in distinct assemblies), and connecting a user to one does not connect them to the other. Treat "add chat to my Unity call app" as two integrations that happen to share an API key.

Chat Video
Repo GetStream/stream-chat-unity (default branch develop) GetStream/stream-video-unity (default branch main)
Latest v5.7.0 (stable, 5.x line) 0.11.0 (pre-1.0 - the surface still moves)
Install .unitypackage from GitHub Releases, imported into Assets/ UPM package from a git URL
Entry point StreamChatClient.CreateDefaultClient() -> IStreamChatClient StreamVideoClient.CreateDefaultClient() -> IStreamVideoClient
Namespace StreamChat.Core StreamVideo.Core
Platforms Everything Unity targets, WebGL included Android (ARM64), iOS, Windows x64, macOS, Linux. No WebGL, no UWP
Pre-built UI None - a sample project, not components None - a sample project, not components
Docs coverage Good: nearly every page carries real Unity C# Thin: 22 pages; several shipped capabilities have no page at all

Neither SDK ships reusable UI. Both ship a sample project you import and read, not a component library you drop in. Every chat bubble, channel row, participant tile, and call button in the user's game is code you write. Say this before promising a screen, and run ui.md when building one.

This skill orchestrates: it gates the request against product, platform, and feature support, routes to the exact docs page, fetches it live, and applies it - while carrying the Unity-specific knowledge the docs do not have (the client's hidden DontDestroyOnLoad runner, the track-binding requirement, IL2CPP stripping, and the player settings that decide whether a build works on device at all).

Rules (read once per session): RULES.md - non-negotiable rules + Unity pitfalls. Read before writing any code.


Step 0: Three gates, before any code

Resolve all three from the user's words plus a read-only probe. Each one can turn "here is the code" into "that is not possible", so none is optional and none belongs in a runtime failure later.

Gate 1: product (and whether it exists for Unity)

Ask Answer
Chat / messaging / in-game text chat Supported. Chat SDK.
Video calls / audio calls / audio rooms / livestream broadcast Supported. Video SDK.
Both Two installs, two clients, two connect calls. Do not try to unify them.
Activity feeds / timelines / follow graph No Unity SDK. State it immediately; offer the server API path.
Moderation review queue / dashboard UI Not an app surface. Moderation review happens in the Stream Dashboard; the SDKs expose only end-user actions (flag, mute, ban).

Gate 2: Unity version and build target (the Video SDK is the constraint)

Probe rather than ask:

bash -c 'echo "=== UNITY VERSION ==="; cat ProjectSettings/ProjectVersion.txt 2>/dev/null; \
echo "=== UPM MANIFEST ==="; cat Packages/manifest.json 2>/dev/null; \
echo "=== STREAM CHAT PRESENT ==="; find . -maxdepth 5 -type d -name "StreamChat" -not -path "*/Library/*" 2>/dev/null; \
echo "=== STREAM VIDEO PRESENT ==="; grep -n "io.getstream.video" Packages/manifest.json 2>/dev/null; \
echo "=== SCRIPTING BACKEND / TARGET ==="; grep -nE "scriptingBackend|AndroidTargetArchitectures|apiCompatibilityLevel|managedStrippingLevel" ProjectSettings/ProjectSettings.asset 2>/dev/null | head -20'
Situation What to do
Unity 6 / 2023.1 / 2022.3 / 2021.3 / 2020.3 Both SDKs supported.
Unity 2019.4 - 2020.2, Chat only Chat supports it (the SDK advertises 2019.x). Video does not - its package declares "unity": "2020.3" and its WebRTC fork the same.
Unity 2019.x - 2020.2, Video requested Hard stop for Video. Say it immediately: upgrade the editor, or ship Chat only.
Target is WebGL, Video requested Hard stop. Unity's WebRTC package does not support WebGL, so neither does the Video SDK. Chat does work on WebGL. Offer: Chat on WebGL plus
Полный SKILL.md на GitHub

Установить stream-unity в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

RULES.mddocs-map.mdplatforms.mdsetup.mdui.md

FAQ

Что делает скилл stream-unity?

Build, integrate, and answer how-to questions for Stream Chat and Stream Video in Unity Engine games and apps. Use for Unity / C# / MonoBehaviour project work - the Chat .unitypackage and the Video UPM package, StreamChatClient / StreamVideoClient wiring, ConnectUserAsync and tokens, channels and messages, calls and participant tracks, camera and microphone devices, building the UI yourself on UGUI or UI Toolkit, IL2CPP, and Android / iOS / desktop / WebGL player settings. Triggers on unity, unity engine, unity 6, unity 2022, monobehaviour, .unitypackage, Packages/manifest.json, asmdef, il2cpp, ugui, rawimage, audiosource, webcamtexture, StreamChatClient, IStreamChatClient, IStreamChannel, StreamVideoClient, IStreamVideoClient, IStreamCall, StreamVideoTrack, in-game chat, unity video call. Chat and Video only - there is no Stream Feeds SDK for Unity.

Как установить скилл stream-unity?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл stream-unity запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить stream-unity с