agentleFS
kelgirechandrakant-cpukelgirechandrakant-cpu/vibe-coding-playbook/skills/performance-audit/SKILL.md

perf-audit

Skill4 starsChanged 3 months agoMITView on GitHub

Performance and bundle size optimization protocol. Analyzes loading strategy, network patterns, and rendering bottlenecks. Produces prioritized fix recommendations. Use when pages feel slow or before shipping major features.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use a11y-audit and triage.

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.
  • renfei-designSkill

    a11y-audit

    Audit Figma designs for WCAG accessibility issues — color contrast, minimum font size, touch target sizing, and missing text alternatives. Use when asked to check accessibility, audit contrast ratios, find a11y issues, verify WCAG compliance, or review designs for accessibility problems. Scans nodes, analyzes offline, and annotates issues in Figma.

    Also in 4 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 4 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 10 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:

    When asked to audit performance, evaluate the application across these three critical domains:

    line 8
  2. Distinctive:

    Do asynchronous actions have immediate optimistic UI updates?

    line 21

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

When asked to audit performance, evaluate the application across these three critical domains:

1. Bundle & Network Optimization

  • Are heavy libraries (charts, 3D rendering, PDF generators) being lazy-loaded using dynamic imports (e.g., React.lazy)?
  • Is the app downloading massive uncompressed images?
  • Are API responses paginated or capped, rather than returning thousands of records at once?

2. Render Performance

  • Is there unnecessary state residing at the top level of the component tree, causing the entire app to re-render on every keystroke?
  • Are expensive calculations wrapped in useMemo?
  • Are functions passed to child components wrapped in useCallback (when appropriate)?

3. Perceived Performance

  • Do asynchronous actions have immediate optimistic UI updates?
  • Are there skeleton loaders preventing layout shift (Cumulative Layout Shift) while data fetches?

Output

Provide a diagnosis and the exact code refactors needed to eliminate the bottlenecks.

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.