agentleFS
vmobifystudiovmobifystudio/app-dev-team/skills/performance-review/SKILL.md

performance-review

Skill4 starsChanged 4 months agoMITView on GitHub

Use as a review dimension on any diff that could cost startup time, frames, memory, battery, bandwidth or bundle size — by code-reviewer during review and by web-developer and test-automation-engineer before claiming a UI or harness ticket done. The studio's position is that this is a dimension with existing auditors behind it, not a standing role.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use security-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    security-review

    Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 2

    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:

    A performance finding with no number is an opinion: Every finding names: the metric, the value, the budget it is measured against, the …

    line 18
  2. Distinctive:

    No baseline, no regression detection — that is how these arrive silently.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 8 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

Performance review

Performance is a budget, and a budget only exists if something can exceed it. The budgets live in docs/20-architecture.md §8; if that section is empty, that is the finding.

Spawn the platform auditor first and fold its findings in — axiom:swiftui-performance-analyzer, axiom:swift-performance-analyzer, axiom:memory-auditor, axiom:energy-auditor on Apple platforms. All external and optional (separate plugins) — missing → record N/A: <tool> — not installed, walk the list below by hand, never file the absence as a defect.

Measure, then read the diff

A performance finding with no number is an opinion. Every finding names: the metric, the value, the budget it is measured against, the device or environment, and the build. Where you could not measure, the verdict is CANNOT EVALUATE — not a guess dressed as a warning.

The dimensions

DimensionBudget it spendsWhat to look for in a diff
Startupcold launch to first interactionwork moved into app init, eager singletons, sync I/O on the launch path
Frames60/120fps, jank-free scrolllayout or allocation per frame, unbounded list without recycling, expensive work in a view body
Memorypeak and steady-statefull-size images held, unbounded caches, retain cycles, accumulating observers
Battery / energybackground and foreground drainpolling instead of push, wake locks, continuous location, timers that never stop
Networkbytes and round tripsN+1 requests, no pagination, no caching headers, retry without backoff
Storagedisk footprint and write amplificationwriting on every keystroke, unbounded logs, no eviction policy
Bundle / binarydownload sizea whole library imported for one function, unsplit routes, uncompressed assets

The rules

  • Measure before optimising, and measure the thing users feel. A 40% faster function on a path that runs once at midnight is not a result.
  • Regressions are found by comparing to a baseline, so record the baseline value in the ticket. No baseline, no regression detection — that is how these arrive silently.
  • A cache is a correctness decision, not a performance one. Every cache added must state its invalidation rule; an unstated one is a stale-data defect waiting.
  • Never optimise by removing a bound. Widening a page size, dropping a limit or removing a timeout trades a slow path for an unbounded one.

Verdict

PERFORMANCE: PASS | PASS WITH NOTES | FAIL — <metric> <value> vs budget <value> on <device/build>

Exceeding a stated budget is a FAIL and a blocker to raise — not a number to quietly move.

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.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.