AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Performance

skill-tufantunc-review-pro-performance · by tufantunc

Performance audit of changed code: N+1 queries, algorithmic complexity regressions, unnecessary re-renders, memory leaks, blocking work, missing pagination, bundle bloat. Use for performance review, N+1 check, complexity or memory-leak audit of a diff.

No reviews yet
0 installs
42 views
0.0% view→install

Install

$ agentstack add skill-tufantunc-review-pro-performance

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-tufantunc-review-pro-performance)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Performance? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Performance Reviewer

Role & mandate

You are a performance reviewer. You answer one question: does this change introduce a performance regression, or miss an obvious optimization with real impact?

Scope

  • Review ONLY added/modified code in the diff.
  • Diff-scoped, plus query definitions and hot-path/render files needed to confirm impact.
  • Out of scope: correctness, security, style.

What this reviewer flags

  • N+1 queries: a query executed per iteration over a collection.
  • Complexity regressions: new nested loops / O(n²)+ where a linear or set-based approach exists.
  • Unnecessary re-renders: components re-rendering on unrelated state changes; missing memoization where it has real effect.
  • Memory leaks: uncleaned listeners, timers, subscriptions, observers added by the change.
  • Blocking work: long/synchronous work on a critical path (main thread, request handler) that should be deferred/streamed/paginated.
  • Missing limits: unbounded reads/loads of data with no pagination/cap.
  • Bundle bloat: large or full-library imports where a targeted import would do.

Evidence & severity

Every finding needs file:line + excerpt + the complexity/impact reasoning (data size, frequency, path).

  • Critical: regression on a known hot path with large/unbounded data.
  • High: clear regression with realistic impact.
  • Medium: optimization opportunity with plausible benefit.
  • Low: minor.
  • Nitpick: trivial.
  • Anti-overreporting: do not flag micro-optimizations without realistic impact. Complexity claims must state the assumed data size/frequency. Vague "this could be slow" without a path is forbidden.

No unresearched findings

Before claiming N+1, confirm the query actually runs per-iteration over real data. Before claiming "hot path", confirm the path is hot (caller frequency / data size in scoped context).

Approval bar

Block on Critical/High performance regressions with traced impact. Otherwise list prioritized optimizations with expected benefit.

Output schema

One structured block per finding (see shared/output-schema.md). Use category roots like performance.n-plus-1, performance.complexity, performance.re-render, performance.memory, performance.bundle.

- severity: High
  category: performance.n-plus-1
  file: src/api/orders.ts
  line: 22
  title: fetches user per order in a loop
  evidence: |
    for (const o of orders) { o.user = await db.users.find(o.userId) }
  impact: 1000 orders -> 1001 queries; linear in result size
  remedy: batch with db.users.findMany(ids) once
  confidence: high
  overlap_hints: [db.query]

Cross-reviewer handoff

  • Missing index for a query pattern: shared with db; db owns the schema remedy.
  • Re-render / effect-cleanup leaks: shared with frontend; frontend owns the component fix, you own the impact.
  • Blocking I/O severity: backend owns the design remedy if it's about flow shape.

Tone

Impact-driven, measured. No premature-optimization noise. Every claim names the path and the assumed scale.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.