/sendbird-client:add-feature <feature> [--product <product>]from Sendbird Client Plugin
Add a Sendbird feature to the project (channel, message, reaction, thread, typing, file, push, call, and more). Use when the customer wants to add a specific Sendbird capability to existing code.
Ships in Sendbird Client Plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve every plugin-owned path below from ${CLAUDE_PLUGIN_ROOT}. Where that variable is empty (Codex does not set it for shell commands), the plugin root is the folder two levels above this SKILL.md. A shell command that only reads or checks files exits 0 when a file it looks for is missing (if [ -f <file> ]; then cat <file>; fi, or || true after an optional read), and quotes separator lines (echo '=== name': zsh, the default macOS shell, treats a word that starts with = as a command name). Otherwise a normal check is shown to the customer as a failed command.
Resolve the platform agent with bash "${CLAUDE_PLUGIN_ROOT}/tools/routing/route-agent.sh" <project-dir> code. Hand work to that agent by calling the Agent tool once with the agent as Claude Code lists it: this plugin's name, a colon, then the name the router printed (for example sendbird-client:sendbird-ios-agent). In Codex, which has no Agent tool, run that agent's launcher skill instead (for example $sendbird-client:sendbird-ios-agent) and start the agent only as that skill says; it sets the model and settings the agent needs. Do not do the agent's part yourself, even in a small project: write or edit no project source file in this session, before or after the hand-off, also when the customer confirms a change in a later turn. If the hand-off fails, say that this part was not done. When the agent reports, your final answer carries its changed files, every check line, and its symbol, source, and version table as the agent wrote them (docs/AGENT_CONTRACT.md section 6); shorten the wording only. In an answer in another language each check line still starts with the check's name as the agent wrote it (- dependency: pass, package.json:12); translate only the words after it.
Before anything else, check every product the request names (chat, uikit, calls, desk, or live; a Sendbird product outside that list is not covered by this plugin, so change nothing for it and tell the customer) with bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/resolve-products.sh" <project-dir> --check <product>, one run per product. Printing the scope without --check is not this check. When it exits 1, change nothing and hand nothing to an agent: say what it printed. Only for "out of configured scope" add that SENDBIRD_PRODUCTS or enabledProducts in .sendbird-client/profile.json sets the scope; for "not covered by this plugin" say that this plugin does not cover that product and name the products it covers, and never suggest SENDBIRD_PRODUCTS or enabledProducts, which cannot add it; for "not available on this host" give the reason it printed and suggest neither; a non-interactive run ends with status: "declined".
Add one feature to an existing integration.
bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/detect.sh" <project-dir> and resolve platform, host, product, and installed SDK versions. If an ambiguity changes the emitted code, ask one focused question before handing off, for example which UI to build with when the host is hybrid (docs/AGENT_CONTRACT.md section 1).bash "${CLAUDE_PLUGIN_ROOT}/core/commands/search-discussions.sh" <owner/repo> <English keywords> once on the UIKit repository for the detected platform and host (from config/plugin-config.json .repos, for example .repos.ios.uikitUikitHost on iOS UIKit, .repos.android.uikit on Android, .repos.js.uikitReactNative on React Native). Put the curated sections and the discussion results, or the NOT RUN: <reason> line, in the agent's brief; the agent then checks the customer-local SDK, public source, and docs. Label what a discussion says as community signal; when the command prints NOT RUN: <reason>, say in the answer that discussions were not searched and why.templates/<platform>/<host>/<product>/ and wire imports/delegates/hooks. List that folder first and name its files in the brief, word for word, with the instruction to keep each template's source: comment at the top of the file the agent writes from it; the final answer's source table names the same template path. A file written for that product without the template's source comment does not finish the request.
When the project has no Sendbird UIKit package and the feature adds or changes a chat screen built on the Chat SDK, the brief also tells the agent to type-check the files it wrote once they are written: bash "${CLAUDE_PLUGIN_ROOT}/tools/verify/check-written.sh" <project-dir> <every .ts, .tsx, .kt, .java, and .swift file written>, fix the errors it lists in those files, and run it again, up to three runs (contract section 3, "Type-check the Chat SDK screens you wrote"). A UIKit project does not run it, except on React and React Native: there the brief tells the agent to run it on every .ts and .tsx file it wrote or changed (contract section 3, "Type-check the TypeScript you wrote on the UIKit path too").docs/AGENT_CONTRACT.md section 6 lists, whether the agent or you made the change: the task envelope, the changed files, each section 4 check (with typecheck when the step above ran it) and each check of this feature (for example handler removal on the screen that adds it) as pass, fail, or not run with file:line, and the symbol, source, source version, and verification method table. Cite the source that contains each symbol, not a related docs page. Suggest /sendbird-client:run-check once (suggest only). In a non-interactive run, end with the run summary (skill: "add-feature", the checks under checks).Per-product API: knowledge/curated/<platform>/products/<product>.md — channel/message (chat), prebuilt screens (uikit), dial (calls).
Verified base templates exist for every product on all six hosts: ios/uikit, ios/swiftui, android/view, android/compose, js/react, js/react-native, under templates/<platform>/<host>/<product>/ (each dir's _README.md has splice steps + variations).
Chat message features have templates on all six hosts, under templates/<platform>/<host>/chat/ (the _README.md there has per-feature splice steps):
| Feature | ios/uikit, android/view | ios/swiftui | android/compose | js/react, js/react-native |
|---|---|---|---|---|
| Send an image or file, upload progress, cancel, resend a failed one | FileMessageSender | FileUploadModel | FileUploadViewModel | FileMessageUpload.ts (no upload progress on React Native) |
| Edit and delete your own messages, other members' edits and deletes | MessageEditing | MessageActionsModel | MessageActionsViewModel | MessageEditing.ts |
| Unread counts (total badge, per channel, mark as read) | UnreadCount | UnreadCountModel | UnreadCountViewModel | UnreadCount.ts |
| Typing indicator and read receipts | TypingAndReadReceipts | ChannelActivityModel | ChannelActivityViewModel | TypingAndReadReceipts.ts |
| Thread replies (load, reply, new replies) | MessageThreads | ThreadModel | ThreadViewModel | none yet: knowledge/curated/js/products/chat.md "Message threads" |
A feature from this table is done when it works on screen: the agent follows every splice step in the folder's _README.md, not only the helper file. For files that means the picker that chooses the image or document, the permission it needs, file messages shown in the message list, and a resend action on a failed one; a helper that nothing in the app calls, or a picker left as a to-do, does not finish the request. On React Native, also cite knowledge/curated/js/hosts/react-native.md "Sending a file (no File in React Native)" for the file object and pick the picker package version from the project's react-native version (its "Version compatibility checklist").
Calls (a voice or video call, accept or decline an incoming call, sign out of Calls): templates/<platform>/<host>/calls/ on all six hosts; the folder's _README.md has the permissions and splice steps, and templates/js/react/calls/DirectCallPanel.tsx is a ready call screen for React. On iOS, Android, and React Native, incoming calls need push even while the app is open; dialing out does not. When this run does not wire that push, manualSteps lists the push credentials and names the calls-incoming skill as the next step (knowledge/curated/<platform>/products/calls.md "Manual steps").
If the specific feature isn't templated yet, derive it from the curated doc's cited sections or the customer-local SDK surface — never from memory.
Every API in the inserted code must be verified and cited. If the feature/template is not yet verified for this platform+host, say so and offer the verified docs link rather than inventing code. Discussions are community signal, labeled as such.
What SKILL.md sets; muted values are Claude Code's defaults
sendbird-client@sendbird is listed by sendbird/sendbird-plugins — review the source before installing
npx claudepluginhub sendbird/sendbird-plugins --plugin sendbird-client18 skills in this plugin
/auth-recipesGenerate correct Sendbird connection/session code — direct connect, session-token issue/refresh, multi-device, reauth, safe logout — for the detected platform/host. Auth is part of Chat. Use when the customer asks about authentication, session tokens, or login/logout flows./calls-incomingMake Sendbird Calls ring (on iOS, Android, and React Native new incoming calls arrive only through push, even while the app is open, and also in the background or after the app was closed), and fix common in-call audio and video problems — iOS PushKit with CallKit, Android FCM with a call notification, React Native native push, and web media and WebSocket checks. Use when an app that already uses Sendbird Calls misses incoming calls, crashes on a VoIP push, or has no audio or video during a call./choose-uiHelp the customer choose between Sendbird UIKit (prebuilt screens they can theme and customize) and their own UI built on the Chat SDK. Reads the project and the requirements (how custom the design is, the timeline, the features, the platform and host), compares the two options from the plugin's curated knowledge with cited sections, and recommends one with the next skill to run. Changes no files. Use when the customer asks whether to use UIKit or build their own chat UI./diagnose-channelDiagnose a Sendbird channel that misbehaves — a channel created by API or in the Sendbird Dashboard does not show in the list, every "message" tap creates a new 1:1 channel with the same user, a channel disappeared after members left or fetching it fails with 400201, or a user shown in the channel gets 400108. Reads the customer's code, names the cause with file:line, and offers the fix. Use when a channel is missing, duplicated, or gone, also when opening or loading it fails with 400201 or 400108./docs-searchSearch Sendbird official docs, public samples, and public discussions to answer a how-do-I or what-is question across any Sendbird product/platform. Use when the user asks about Sendbird documentation or concepts./explain-errorExplain a Sendbird error code or message — its meaning, common triggers, and a fix — across any product/platform, citing the verified error table. Use when the customer hits a Sendbird error code or exception. When opening or loading a channel fails with 400201 or 400108, use diagnose-channel instead; for a build, bundler, or package-install error, or an error from two copies of a Sendbird package, use fix-build.Other plugins' skills for the same job