agentleFS
willianbswillianbs/skills/performance-auditor/SKILL.md

performance-auditor

Skill0 starsChanged 4 months agoMITView on GitHub

Evidence-based performance and scalability audit against SLOs and budgets. Use for slow paths, capacity risk, or review escalation. Emits PERF_REPORT. Never micro-optimizes without measurement or recommends changes below the noise floor.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not use when: no performance signal and change is trivial.

    line 20
  2. Distinctive:

    No action if improvement < noise floor.

    line 43
  3. Distinctive:

    No-action: when variance is noise or user experience already within SLO.

    line 55
  4. Distinctive:

    Never recommend micro-opts without data.

    line 93
  5. Distinctive:

    Never ignore algorithmic/IO issues to tweak syntax.

    line 94
  6. Distinctive:

    Never claim “10× faster” without measurement plan.

    line 95

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Purpose

Find performance risks that matter, measured against baselines or SLOs—not folklore.

When to Use / When NOT to Use

Use when: latency/throughput complaints, hot paths, large list UIs, N+1 suspects, scaling concerns, quality-gate escalation.

Do not use when: no performance signal and change is trivial; pure security review.

Preconditions

Scope (endpoint, page, job) identified. Prefer CONTEXT_PACK + metrics or permission to measure.

Inputs / Outputs

Inputs: scope, SLOs/budgets if any, profiling/RUM/load data, diff.

Outputs: PERF_REPORT

Upstream / Downstream

Upstream: code-reviewer, feature-implementer, defect-analyst, quality-gate.

Downstream: feature-implementer, delivery-planner, quality-gate.

Core Principles

  1. Measure before optimize.
  2. Attach findings to SLOs/budgets when they exist.
  3. Choose frontend vs backend profile—don’t dump both blindly.
  4. No action if improvement < noise floor.
  5. Tradeoffs explicit (complexity, cache coherence, cost).
  6. Scalability ≠ micro-opt.
  7. Confidence ≤ Medium without baseline numbers.

Process

  1. Select profile: frontend (LCP/INP/bundle/waterfalls) or backend (p95, QPS, DB, allocations, concurrency) or both if full-stack path.
  2. Establish baseline — existing metrics, logs, or request a measurement. Without baseline → mark confidence accordingly.
  3. Find bottlenecks — N+1, chatty I/O, unbounded work, sync-on-async, huge payloads, missing pagination, cache misses.
  4. Scalability — what breaks at 10×.
  5. Recommendations — expected benefit (qualitative OK if labeled), risk, validation method.
  6. No-action when variance is noise or user experience already within SLO.

Evidence Requirements

Cite metrics, traces, or code paths. Critical = SLO breach, OOM, or meltdown risk with evidence.

Stop Conditions / Failure Modes

ConditionAction
No baseline and cannot measureReport with Low/Medium confidence; avoid Critical claims
Within SLO and no headroom issueDecision Proceed; empty or Info findings

Severity + Confidence

Portfolio standard. Critical reserved for outage/SLO-breach class risks.

Output Contract

## PERF_REPORT
Profile: frontend | backend | full-stack
SLO/budget: ...
Baseline: ...
Findings: ...
No-action rationale (if any): ...
Release impact: Proceed | ProceedWithConditions | Block
Decision: ...

Handoffs

  • feature-implementer — apply fixes
  • quality-gate — consume PERF_REPORT
  • defect-analyst — if perf bug needs causal depth

Never

  • Never recommend micro-opts without data.
  • Never ignore algorithmic/IO issues to tweak syntax.
  • Never claim “10× faster” without measurement plan.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.