agentsclimarketplace

Performance review

Skill shinzoxD/knackbox/skills/coding/performance-review

Curated, auditable, benchmark-ready Agent Skills library for Claude Code, Codex, OpenCode, Cursor, and more.

Install
npx -y skills add shinzoxD/knackbox --skill performance-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Diagnose application performance bottlenecks and propose measured fixes. Use whenever the user mentions slow endpoints, high latency, CPU or memory spikes, N+1 queries, profiling results, p95/p99, or asks how to make code or systems faster — even without formal profiler output.

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.0 KB, as published. Nobody here has run it

Performance Review

Guessing is not a performance strategy. Measure, find the dominant cost, fix that, re-measure. Optimize for the user's SLO (latency, throughput, cost), not micro-benchmark theater.

Workflow

  1. Define success. Target metric (p95 latency, req/s, memory ceiling), environment (prod-like?), and workload (endpoint, query, batch size).
  2. Gather evidence. Profiles, traces, EXPLAIN, logs, metrics, or a minimal repro. If missing, prescribe the cheapest measurement first.
  3. Find the dominant bottleneck. CPU, I/O, lock contention, network chattiness, over-fetch, GC, cold start — pick one primary.
  4. Propose fixes ordered by expected impact / effort. Prefer algorithmic and I/O reductions before micro-opts.
  5. Verification plan. How to prove the win and catch regressions.

Common patterns

SymptomOften check
Slow list endpointN+1 queries, missing index, over-serialization
High CPUHot loops, regex, JSON parse, compression, crypto
High memory / OOMUnbounded caches, loading full tables, leaks
Tail latencyLock contention, GC pauses, cold deps, retries
Batch job slowSequential I/O, small transactions, no parallelism

Output format

## Performance review: <surface>

**Goal metric:** …
**Evidence used:** … (or: measurements to collect first)

### Primary bottleneck (hypothesis)
What + why + confidence (low/med/high)

### Recommendations
1. [high impact] … — expected effect, risk, how to verify
2. …

### Do not do yet
Premature micro-opts that distract from the bottleneck.

### Measurement plan
Commands, profilers, or dashboards to confirm.

Rules

  1. Never claim a speedup percentage without measurement or a clearly labeled estimate.
  2. One primary bottleneck before a laundry list of nits.
  3. Correctness and security beat clever caching; call out stale-data risks.
  4. Distinguish algorithmic O() improvements from constant-factor tweaks.
  5. If code is not the bottleneck (network, DB plan, noisy neighbor), say so.
  6. Prefer fixes that add observability (timers, spans) when evidence is thin.

Edge cases

  • No profile provided: give a 3-step measurement recipe before deep code rewrites.
  • Micro-benchmark only: warn about dead-code elimination and unrealistic inputs; ask for end-to-end numbers.
  • Frontend: include bundle size, waterfalls, and main-thread long tasks when relevant — not only server CPU.
  • "Make it faster" with no SLO: propose a default (e.g. p95 under X) and proceed.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.