/sendbird-client:upgrade-sdk [product] [--apply]from Sendbird Client Plugin
Upgrade the Sendbird SDKs a project already uses to the newest release of the same major version. Reads the installed versions, looks up the newest published version in the registry, lists the deprecated APIs the project calls with the replacement the SDK names, and applies the version bump and the replacements only after the customer confirms. When the customer asks to move to a newer major version (for example Chat SDK v3 to v4), plans that move from the public migration guide, Chat SDK first. Use when the customer asks to update or upgrade their Sendbird SDKs.
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.
Resolve the active product scope with bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/resolve-products.sh" <project-dir> and leave out products outside it.
Upgrade within a major version, or to a newer major when the customer asks for one: read first, change files only after the customer says yes.
bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/detect.sh" <project-dir> and bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/resolve-products.sh" <project-dir>. For each Sendbird package the project declares, record the declared version and the resolved one:
package.json and the lockfile (package-lock.json, yarn.lock, or pnpm-lock.yaml). Package names: knowledge/curated/js/setup.md "Packages (npm)".Package.resolved (or project.yml / the Xcode project's package references; Podfile.lock only when the project already uses CocoaPods). Package URLs: knowledge/curated/ios/setup.md.app/build.gradle(.kts) and gradle/libs.versions.toml when present. Coordinates and repositories: knowledge/curated/android/setup.md.
If the project has no Sendbird package, say so and suggest /sendbird-client:setup instead.bash "${CLAUDE_PLUGIN_ROOT}/tools/local-sdk/latest-version.sh" <npm|spm|maven> <package> --major <installed major> (spm takes the package's GitHub URL; maven takes the artifact, plus --repo <url> when settings.gradle declares a repository other than the default). Quote latestInMajor, latest, and source from its output. Never state a version from memory; if the lookup fails, report the error for that package and leave it out of the plan.latest is a newer major than the installed one (for example Chat v3 to v4), read knowledge/curated/<platform>/cross-cutting/migration.md and quote the public guide it names for each package, with its URL, and its order of work. For a product it lists without a guide, say that no public migration guide exists.
latestInMajor only.migration.md: Chat SDK first and UIKit after it, the package change it describes with the project's own package manager (a CocoaPods project stays on CocoaPods), and the renames it lists. Steps 4 and 5 do not apply across majors. Confirm as in step 6, then hand the plan to the platform agent once as in step 7; its "Old major versions" section does the change in the same order.
When latestInMajor equals the installed version for every package and no major move was asked for, say the project is already on the newest release of its major version and stop.knowledge/curated/<platform>/setup.md, knowledge/curated/<platform>/hosts/<host>.md, and, when UIKit is installed, knowledge/curated/<platform>/products/uikit.md. Cite each rule you apply:
knowledge/curated/android/setup.md "Getting a newer Chat SDK under UIKit"). When UIKit moves, read the Chat version the target UIKit POM declares (<repo>/com/sendbird/sdk/uikit/<version>/uikit-<version>.pom) and keep any explicit Chat declaration at or above it.@sendbird/chat with npm view <uikit package>@<target> dependencies peerDependencies. React Native UIKit declares it as a peer dependency, so the app installs a matching @sendbird/chat itself (knowledge/curated/js/hosts/react-native.md "Version compatibility checklist"). Keep the app's own @sendbird/chat inside that range so one copy is installed. Never pass --legacy-peer-deps or --force (docs/AGENT_CONTRACT.md section 3).sendbird-chat-sdk-ios for the whole app, so the Chat version must satisfy the minimum every Sendbird package declares (knowledge/curated/ios/setup.md, the shared-dependency table). Read the target UIKit Package.swift for its Chat minimum.bash "${CLAUDE_PLUGIN_ROOT}/tools/local-sdk/deprecated-usage.sh" <project-dir> <product> [installed version]. Android: run it again with the target version and --download to see what the target release deprecates. Each DEPRECATED: line gives the file, line, and the SDK's own deprecation text; the replacement is the API that text names. A line marked (overloaded: check the call) is a deprecated overload: open the call and keep it only when its arguments match the deprecated declaration. If the tool prints NOT RUN: <reason>, report the check as not run with that reason; never present it as "no deprecated APIs". If the SDK text names no replacement, say so instead of choosing one.file:line → replacement; the files that will change. Ask the customer once whether to apply it.
SENDBIRD_NONINTERACTIVE): apply only when the request itself says to apply the upgrade (for example "apply", "go ahead", "update the files", "적용해 줘", or --apply). Asking for the upgrade is not that consent: "upgrade the SDK", "최신으로 올려 줘", or "올리고 deprecated API도 정리해 줘" start this skill and still end at the plan (docs/AGENT_CONTRACT.md section 7). Otherwise change nothing and stop with status: "needs_input" and one question, id apply-upgrade, options yes and no, whose text names each package's installed and target version.Agent once with the agent route-agent.sh returned, passing the plan:
npm install <package>@<version> and the like);bash "${CLAUDE_PLUGIN_ROOT}/tools/local-sdk/read-surface.sh" <project-dir> <product> <target version> after the install. A replacement whose return type or callback shape differs (for example a promise versus a request handler) is adapted at the call site without changing the signature of the app's own function;deprecated-usage.sh again with the target version and report what remains.
This skill does not build the project. To build and launch it against the customer's Sendbird app, suggest /sendbird-client:run-check.core/schemas/run-summary.schema.json, skill: "upgrade-sdk").knowledge/curated/<platform>/setup.md.knowledge/curated/<platform>/cross-cutting/migration.md — the public guide for each SDK, the order of work (Chat SDK first, then UIKit), the package change, and the renames.knowledge/curated/android/setup.md "Getting a newer Chat SDK under UIKit".knowledge/curated/js/products/uikit.md, knowledge/curated/js/hosts/react-native.md "Version compatibility checklist".knowledge/curated/ios/setup.md.tools/local-sdk/latest-version.sh (registry lookup), tools/local-sdk/deprecated-usage.sh (deprecated calls, read from the SDK files; JS uses the TypeScript language service, iOS the installed .swiftinterface, Android the AAR), tools/local-sdk/read-surface.sh (target surface).Every version comes from the registry output of this run, cited with its source. Every replacement API comes from the SDK's own deprecation text, the target version's surface, or migration.md, cited; never invent a replacement or a migration step. If a fact cannot be verified, say "I don't know — here's what I checked" and leave that change out.
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
/add-featureAdd 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./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.Other plugins' skills for the same job