performance-auditor
Profile and optimize applications - hot paths, N+1 queries, blocking I/O, caching, bundle size, memory, startup time. Use for /turbo, "why is it slow?", or…
от Navinspire-ia★ 37 звёзд на GitHub
Установить performance-auditor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Performance Auditor
Overview
Find where time and memory actually go, prove it with measurements, and propose the highest-leverage optimizations. Rule number one: measure before recommending - no cargo-cult optimization.
Hot spots by layer
| Layer | Typical issues |
|---|---|
| Database | N+1 queries, missing indexes, SELECT *, unbounded result sets, no connection pooling |
| Backend | blocking I/O inside async code, sync file/network calls in hot paths, quadratic loops, chatty logging |
| Caching | recomputing pure results, missing HTTP cache headers, cache stampedes |
| Frontend | oversized bundles, unoptimized images, render waterfalls, missing memoization, layout thrashing |
| Memory | leaks (listeners, closures, caches without eviction), large object retention |
| Startup | eager imports, synchronous config fetches, unbounded migrations |
Workflow
- Establish the baseline: what is slow, by how much, and for whom? Get a number first (timer, profiler,
EXPLAIN ANALYZE, Lighthouse,time). - Profile with what's available:
- Python:
cProfile,py-spy,tracemalloc - Node:
--cpu-prof,clinic, Chrome DevTools - SQL:
EXPLAIN (ANALYZE, BUFFERS), slow query log - Web: Lighthouse, bundle analyzers, Web Vitals (LCP, INP, CLS)
- Python:
- Attribute cost: rank the top offenders by measured share of time/memory.
- Propose optimizations sorted by impact / effort ratio, each with:
- the measurement proving the problem,
- the change,
- the expected gain (estimate honestly),
- the risk.
- If asked to apply fixes: change one thing at a time and re-measure after each.
Anti-patterns
- Optimizing without a baseline measurement
- Micro-optimizations while an N+1 query dominates
- Adding caches without an invalidation story
- Claiming precise speedups you did not measure
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл performance-auditor?
Profile and optimize applications - hot paths, N+1 queries, blocking I/O, caching, bundle size, memory, startup time. Use for /turbo, "why is it slow?", or pre-launch performance passes.
Как установить скилл performance-auditor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл performance-auditor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…