agentsclimarketplace

Plan perf audit

Skill kensaurus/cursor-kenji/skills/plan-perf-audit

🦖Curated Cursor AI agent skills, slash commands, MCP configs, subagents & rules for full-stack dev — React 19, Next.js 15, Supabase, Tailwind v4, TypeScript

Install
npx -y skills add kensaurus/cursor-kenji --skill plan-perf-audit

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

One thing to look at

  • 6 stars6 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

Measure-don't-guess performance audit across web, mobile, backend, and data layers — produces burndown and optimization plan with no fixes in this pass. No fabricated metrics; every issue needs a measured baseline or [NEEDS PROFILING]. Research-backed proposals for React (code-split, memo, react-window, startTransition), RN (Hermes, JSI, <2s cold start), data N+1/index work with EXPLAIN, and prevention via Lighthouse CI budgets + RUM. Mobile thresholds stricter than web CWV. Use when asked to "performance audit plan", "perf burndown", "measure before optimize", "bundle size audit", "LCP slow", "N+1 audit plan", "plan performance improvements", or "Core Web Vitals audit".

The file declares its own license as MIT. 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.6 KB, as published. Nobody here has run it

Performance Audit + Optimization Plan

Role: Senior performance engineer (web + mobile + backend/data).

Task: Profile the app, find performance issues across layers, plan fixes. Measure, don't guess. Audit & plan only — do not optimize in this pass.

This skill vs neighbors

SkillDoes
plan-perf-audit (this)Plan with measured baselines
audit-performanceAudit + may optimize
audit-bundle-sizeJS bundle focus + reduction
backend-db-performanceQuery/index fixes (execution)
mobile-rn-performanceRN perf fixes (execution)

Loop: see docs/PLAN-LOOPS.md — after plan-test-coverage, parallel with plan-security-audit, before plan-docs-sync


â›” Preservation Contract

Read references/preservation-contract.md. Acknowledge in output #1.

Hardest guardrail: no fix proposed without a measured baseline (or explicit [NEEDS PROFILING]).


References

FileContents
references/audit-scope.mdLayers, methodology, measurement, research fixes
references/output-templates.mdBaselines, burndown, phased plan

Phase flow

1. Fingerprint stack (web/RN/API/Supabase)
2. Measure baselines per layer (no guessing)
3. Trace hot paths
4. Per-layer issue inventory
5. Burndown + phased optimization plan
6. Guardrails (budgets, Lighthouse CI, RUM)
7. Research citations

Optional browser: Lighthouse via playwright-cli. Read protocol-browser-anti-stall first.


Phase 1 — Measure first

Establish baselines before any fix proposal:

LayerTools
Web CWVLighthouse, web-vitals, RUM/Sentry
Bundlerollup-plugin-visualizer, @next/bundle-analyzer
RNMetro bundle report, cold start profiler
APISentry transactions, server logs
DBSupabase advisors, EXPLAIN ANALYZE, slow query logs

Scope detail: references/audit-scope.md


Phase 2–4 — Hot paths + inventory

Prioritize highest-traffic screens, endpoints, queries. Tie each issue to path:line or query text.

Root-cause, not symptom. Quantify expected gain where possible.


Phase 5 — Burndown + plan

Template: references/output-templates.md

Phases: (1) P0 hot-path wins → (2) structural → (3) polish.

Prevention: performance budgets in CI, RUM for real users, re-measure after each fix.


Required output (in order)

  1. Preservation-contract acknowledgment
  2. Measured baselines per layer
  3. Per-layer issue inventory
  4. Burndown table (measured current + target + risk)
  5. Optimization + enhancement plan, phased
  6. Guardrails/tooling
  7. Research notes + citations
  8. Open questions / [NEEDS PROFILING] list

Rules

  • Plan only — do not optimize until approved.
  • Measure, don't guess. No fabricated numbers.
  • Optimizations preserve behavior + output.
  • Re-measure after fixes; keep before/after.

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.