Skip to content
Back to skills

Performance Audit

ASecurity

Scan a Sendbird integration for known anti-patterns — repeated connects, handler/listener leaks, eager pagination, unoptimized images, missing offline cache, and product-specific pitfalls. Use when the customer reports slowness, memory growth, or wants a health check.

  • 20 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
developmentgoshellbashapiperformance

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add sendbird/sendbird-client-plugin --skill performance-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Performance Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sendbird-performance-audit/badge)](https://www.skillsdirectory.com/skills/sendbird-performance-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: performance-audit
description: Scan a Sendbird integration for known anti-patterns — repeated connects, handler/listener leaks, eager pagination, unoptimized images, missing offline cache, and product-specific pitfalls. Use when the customer reports slowness, memory growth, or wants a health check.
argument-hint: ""
allowed-tools: Read, Bash, Grep, Glob, WebFetch, Agent
---

# /sendbird-client:performance-audit

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.

Scan for known anti-patterns (read-first). Fixes go through the platform agent: when the request itself asks for them ("fix it", "apply", "고쳐 줘", "적용해 줘", or `--apply`), apply them after the report without asking; otherwise apply them after the customer says yes.

## Steps
1. Run `bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/detect.sh" <project-dir>` and resolve platform, host, products, and installed SDK versions.
2. Hand the inspection to the platform agent once, as the top of this skill says, with step 3 as its brief, and wait for its result. Do not read the sources yourself instead, even in a small project.
3. (The agent's brief.) Grep the project for the verified anti-patterns from `knowledge/curated/<platform>/cross-cutting/performance.md` + `pitfalls.md` (both populated): repeated init/connect, handler-leak pairs (iOS `addChannelDelegate` without `removeChannelDelegate`; Android `addChannelHandler` without `removeChannelHandler`; JS `addGroupChannelHandler` without `removeGroupChannelHandler` in effect cleanup), eager pagination without a `limit`, local caching disabled (`isLocalCachingEnabled`/`useCaching`), unoptimized images, plus product pitfalls from `products/<product>.md`.
4. Report each finding from the agent's result with severity + file:line + a cited fix suggestion (applied through the platform agent as the top of this skill says). Keep the agent's citation for each finding (the curated path and line or heading) and the API names its fix uses exactly as the agent wrote them, also when you put the findings in a table.
   - Non-interactive (`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. When the request says not to change anything ("just give me the findings; don't change any files yet"), that question is answered: end with `completed`, the findings in the answer, and the fixes under `nextSteps`.

## No-Fabrication
Anti-patterns + fixes come from curated/verified sources, cited. Don't invent a "best practice" — if a pitfall isn't in a verified source, don't assert it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.