Command Palette

Search for a command to run...

Назад к скиллам
скилл № 35052

code-review-performance

Deep performance analysis focusing on algorithms and resources

БесплатноБез исполняемых скриптов
eltmonот eltmon★ 36 звёзд на GitHub

Установить code-review-performance в Claude Code и Claude Desktop

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

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

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

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

Performance Review

Algorithm Complexity

  • Identify O(n^2) or worse algorithms
  • Look for unnecessary iterations
  • Check for opportunities to use better data structures

Database/API Patterns

  • N+1 query detection
  • Missing indexes (check query patterns)
  • Unbounded queries (missing LIMIT)
  • Connection pool exhaustion risks

Memory & Resources

  • Memory leaks (unclosed resources)
  • Unbounded caches or buffers
  • Large object allocations in loops

Concurrency

  • Lock contention hotspots
  • Blocking operations in async contexts
  • Thread pool exhaustion

Blocking Operations (CRITICAL for Node.js)

  • execSync/spawnSync - These BLOCK the event loop and cause UI freezes
  • Search for: execSync, spawnSync, readFileSync in hot paths
  • ALWAYS flag as HIGH IMPACT - causes perceived hangs and latency spikes

Fix pattern to recommend:

// Replace execSync with async version
import { exec } from 'child_process';
import { promisify } from 'util';
const execAsync = promisify(exec);
const { stdout } = await execAsync('command here');

Common offenders in this codebase:

  • tmux capture-pane / tmux send-keys / tmux has-session
  • git branch / git status / git log

Output Format

For each finding:

  • Impact: High/Medium/Low
  • Scale factor: "At 10x load, this will..."
  • Location: file:line
  • Suggested optimization

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

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

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

FAQ

Что делает скилл code-review-performance?

Deep performance analysis focusing on algorithms and resources

Как установить скилл code-review-performance?

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

Скилл code-review-performance запускает скрипты?

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

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

Сравнить code-review-performance с