Command Palette

Search for a command to run...

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

stream-swift

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

Build, integrate, migrate to, and answer how-to questions for Stream Chat, Video, and Feeds in Swift / SwiftUI / UIKit / iOS apps - including AI assistants…

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

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

Stream Swift - docs orchestrator for iOS

This skill is small on purpose. It does not bundle SDK reference dumps - the official iOS docs are the source of truth and they cover the entire surface (Chat, Video, Feeds; SwiftUI and UIKit; polls, drafts, voice, AI, push, screen share, CallKit, SIP, transcriptions, moderation, and more).

Your job is to orchestrate: classify the request, point to the exact docs page, fetch it live, and apply it inside the user's project - while obeying the curated rules and pitfalls that the docs do not shout about.

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


The docs convention (the core mechanism)

Every Stream docs page has a Markdown twin that coding agents can read directly: take the page URL, drop the trailing /, add .md.

https://getstream.io/chat/docs/sdk/ios/basics/integration/   ->   https://getstream.io/chat/docs/sdk/ios/basics/integration.md

Always fetch the .md variant - it is clean Markdown with verbatim code, no page chrome.

Per-product index pages list every doc page with its .md URL. Fetch these to discover or confirm a page:

Product Live index (always current) Page URL shape
Chat (iOS SDK: UI + State Layer) https://getstream.io/cli/docs/chat-sdk-ios.md https://getstream.io/chat/docs/sdk/ios/...md
Chat (low-level client API reference) https://getstream.io/cli/docs/chat-ios-swift.md https://getstream.io/chat/docs/ios-swift/...md
Video https://getstream.io/cli/docs/video-ios.md https://getstream.io/video/docs/ios/...md
Feeds https://getstream.io/cli/docs/activity-feeds-ios.md https://getstream.io/activity-feeds/docs/ios/...md

URL grounding: only fetch a page URL that you got from docs-map.md or from a live index fetch in this conversation. Do not invent doc paths from memory - many look guessable but are wrong. If a page is not in the map, fetch the live index and pick from it.


Step 0: Classify the request (always first)

From the user's words alone, resolve three things:

  1. Product - Chat, Video, Feeds, or a combination.
  2. Framework - SwiftUI, UIKit, or mixed (default to SwiftUI when the user is starting fresh and has not said).
  3. Mode - one of:
    • How-to / reference ("how do I add reactions?", "what does CallViewModel do?", "theming") -> go straight to Docs lookup. No setup, no credentials.
    • Integrate ("add Chat to my app", "wire Video into this project") -> run Setup (setup.md) then Docs lookup for the feature.
    • New app ("build a livestream app", "new SwiftUI chat app") -> Setup then Docs lookup, scoped to the requested screens.
    • Migrate from Sendbird ("migrate my app from Sendbird to Stream", "replace the Sendbird Chat SDK with Stream", "we're switching off Sendbird / SendbirdUIKit / SendbirdSwiftUI") -> run sendbird-migration.md: detect the existing Sendbird integration shape, swap packages + init, re-implement each touchpoint against Stream while changing as little app code as possible, then re-apply theming and verify design + functional fidelity per screen against the Sendbird original. It reuses Setup's CLI credential flow (setup.md) and the region-by-region rigor of design-matching.md. The runbook covers the code/SDK migration; when it's done and verified, it asks whether to also migrate the Sendbird data (users, channels, message history, reactions) and, if so, hands off to the shared language-agnostic data-migration runbook ../stream/sendbird-data-migration.md (§10).
    • AI assistant / LLM / agent ("build a ChatGPT-style app", "add an AI assistant / support bot / copilot", "stream the LLM response", "thinking indicator", "stop generating", "render markdown from the model", "show the agent's reasoning / tool calls", "ask before the agent acts", "let the agent call tools on the device", MCP, "the agent replies with UI", A2UI, OpenUI, generative UI, "show the voice agent's transcript", "chat view of what was said to the voice agent", Stream Agents) -> run ai-integration.md: it first settles which agent (Stream Agents, with the StreamAgents Swift SDK - the product of GetStream/Agents once called VisionAgentsCore, pinned to an exact version - or an agent of your own) and which StreamChatAI (a product of stream-chat-swift from 5.13.0, with AIConversation and generative UI from 5.16.0 - suggest the version update; the standalone stream-chat-swift-ai package is the fallback). It then classifies the shape (AI-first app vs a bot inside an existing messenger vs an agent that shows its steps and asks first vs device-side tools vs a voice agent vs replies that are UI), keeps the model on a backend ag
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

RULES.mdai-integration.mdcustom-ui.mddesign-matching.mddocs-map.mdpush.mdsendbird-migration.mdsetup.md

FAQ

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

Build, integrate, migrate to, and answer how-to questions for Stream Chat, Video, and Feeds in Swift / SwiftUI / UIKit / iOS apps - including AI assistants and agentic experiences (ChatGPT-style apps, LLM bots in chat, streaming responses, thinking indicators, reasoning and tool-call steps, tool approvals, device-side tools, a voice agent's transcript shown as a conversation) with the StreamChatAI components. Routes each request to the exact official iOS docs page, fetches it live, and applies it - with a curated setup flow, an AI integration runbook, a Sendbird -> Stream Chat migration runbook, and iOS-specific pitfalls.

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

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

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

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

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

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