/sendbird-client:fix-build [pasted error or log path]from Sendbird Client Plugin
Fix a build, bundler, type-check, or package-install error in a project that uses Sendbird — peer dependency conflicts while installing a Sendbird package, React Native errors from two copies of a Sendbird package, Next.js server rendering, webpack 5 or Vite Node.js core module errors, Create React App, Metro or Expo, Gradle repository resolution, Android 16 KB pages, manifest merger FileProvider conflicts, and Swift Package Manager or CocoaPods. Reads the pasted log, classifies it by host, and applies the documented fix, or says that another dependency causes it. Use when the customer pastes a build, bundler, type-check, install, Gradle, or Xcode error in a project that uses Sendbird, even when the error turns out to come from another dependency.
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.
Works from the error text the customer pasted (or a log file they point to). It does not run a build unless the customer explicitly asks for one in this request.
bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/detect.sh" <project-dir> and resolve platform, host, package manager, and the installed Sendbird versions (lockfile, Gradle files, Package.resolved, Podfile.lock).node_modules/@sendbird/, com.sendbird.sdk, or a Sendbird Swift package, say that another dependency causes it and stop. A peer dependency conflict reported while installing a Sendbird package is not that case: it has its own row below.docs/AGENT_CONTRACT.md section 6 "Write for the customer" gives for a problem: first what went wrong in one or two plain sentences, then the next steps as a short numbered list, then the details: the class, the evidence line from the log, the cause, and the fix with its citation: the curated section first (docs/AGENT_CONTRACT.md section 2, "Cite the curated entry"). Apply the fix through the platform agent: when the request itself asks for the fix ("fix it", "apply", "고쳐 줘", "적용해 줘", or --apply), apply it now and do not ask; otherwise offer it and apply it after the customer says yes. Keep the project's package manager and do not add --legacy-peer-deps, --force, or --ignore-engines (docs/AGENT_CONTRACT.md section 3).
SENDBIRD_NONINTERACTIVE): when the request does not ask for the fix, change nothing and stop with needs_input and the apply-fix question (docs/AGENT_CONTRACT.md section 7) instead of asking.manualSteps; contract section 3 allows this for fix-build) and mark the build "not run".| Class (what the log shows) | Curated section |
|---|---|
| Next.js: "Cannot use import statement outside a module" or "self is not defined" while rendering on the server | knowledge/curated/js/cross-cutting/troubleshooting.md "Next.js: ..." |
webpack 5, Vite, or Create React App names a Node.js core module (crypto, events, https, ...) inside a Sendbird package; "process is not defined" from UIKit React | knowledge/curated/js/cross-cutting/troubleshooting.md "webpack 5, Vite, or Create React App: ..." |
| The package manager (npm, yarn, or pnpm) reports a peer dependency conflict while installing a Sendbird package | docs/AGENT_CONTRACT.md section 3 (install the newest version whose peerDependencies accept the project's versions, checked with npm view <package>@<range> peerDependencies; keep the package manager; no --legacy-peer-deps, --force, or --ignore-engines); knowledge/curated/js/products/uikit.md "React (@sendbird/uikit-react)" for the UIKit React peers |
| React Native: missing BottomSheet or ActionMenu context, or other errors from two copies of a Sendbird package | knowledge/curated/js/cross-cutting/troubleshooting.md "Errors that come from two copies of a Sendbird package"; knowledge/curated/js/hosts/react-native.md "Version compatibility checklist" |
| React Native: the UIKit container throws "Cannot read property 'options' of undefined", or asks for media packages | knowledge/curated/js/cross-cutting/troubleshooting.md, the UIKit container entry under "Build and setup" |
| React Native Calls: the Android 16 KB page-size check fails | knowledge/curated/js/cross-cutting/troubleshooting.md "React Native Calls: ..." |
Gradle cannot resolve com.sendbird.sdk:* | knowledge/curated/android/cross-cutting/troubleshooting.md "Gradle can't resolve ..."; knowledge/curated/android/setup.md "Packaging (Gradle)" |
Android 15 crash on 16 KB pages, or unexpected Conscrypt .so files | knowledge/curated/android/cross-cutting/troubleshooting.md (16 KB entry); knowledge/curated/android/setup.md "Getting a newer Chat SDK under UIKit" |
Manifest merger fails on a FileProvider (provider@authorities or FILE_PROVIDER_PATHS) | knowledge/curated/android/cross-cutting/troubleshooting.md "Manifest merger fails on a FileProvider ..." |
| Xcode: "No such module" for a Sendbird module, a package that does not resolve, or a version conflict between Sendbird packages | knowledge/curated/ios/setup.md "Packaging — prefer Swift Package Manager" and "Keep shared dependencies compatible"; knowledge/curated/ios/cross-cutting/pitfalls.md "Setup / packaging" |
Compile errors right after moving from Chat SDK v3 to v4 or UIKit v2 to v3: old names (SBDMain, SendBird.init, new SendBird(...)) no longer resolve, or calls ask for a params argument | knowledge/curated/<platform>/cross-cutting/migration.md; on iOS also knowledge/curated/ios/cross-cutting/troubleshooting.md "Upgrading from v3" |
Rules for iOS packaging come from the plugin's policy: install with Swift Package Manager; use CocoaPods only when the project already has a Podfile, and never create one. sendbird-chat-ios-spm is the legacy v3 package; Chat v4 lives in sendbird-chat-sdk-ios.
When the error fits none of these rows, look for it in knowledge/curated/<platform>/cross-cutting/troubleshooting.md and pitfalls.md, then in the docs (${CLAUDE_PLUGIN_ROOT}/core/docs-index.json). If no verified source covers this framework or message, say "I have no verified guidance for this build error", list what you checked, and stop. Do not write bundler configuration, polyfills, or Gradle workarounds from memory.
knowledge/curated/js/cross-cutting/troubleshooting.md "Build and setup" — Next.js, webpack 5, Vite, Create React App, duplicate packages, the React Native UIKit container, React Native Calls 16 KB.knowledge/curated/android/cross-cutting/troubleshooting.md "Build and install" — Gradle repository, 16 KB pages, UIKit init, FileProvider merger.knowledge/curated/<platform>/cross-cutting/migration.md — Chat SDK v3 to v4 and UIKit v2 to v3 renames, in the order of the public migration guides.knowledge/curated/<platform>/setup.md — coordinates, repositories, and version pairing; knowledge/curated/js/hosts/react-native.md — React Native version checklist.Every cause and fix must cite one of the sections above. A published package file or official docs may add to that citation, and stand alone only when no section covers the case. Never invent a config key, a plugin, a polyfill package, or a version number. If the installed version cannot be read, say so and ask for the lockfile line instead of assuming one.
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