agentleFS
ViviBeriViviBeri/webcraft-pro/skills/performance-auditing/SKILL.md

performance-auditing

Skill11 starsChanged 10 days agoMITView on GitHub

Audit website loading and runtime performance when establishing a baseline, investigating regressions or preparing a performance-focused release review.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every audit must assess each category and state reviewed, not applicable with a reason, or not assessed with a reason:

    line 14
  2. Distinctive:

    Use this skill to create a repeatable, evidence-based view of website performance.

    line 24
  3. Distinctive:

    Run controlled lab measurements with Lighthouse or Chrome DevTools.

    line 31
  4. Distinctive:

    Create findings with severity, evidence, likely cause, owner, recommended fix and a measurable acceptance criterion.

    line 34
  5. Distinctive:

    Never use a Lighthouse score as the sole release criterion.

    line 39
  6. Distinctive:

    Keep lab conditions stable and document any deviation.

    line 40
  7. Distinctive:

    Do not compare measurements from materially different devices, browsers or throttling profiles as if equivalent.

    line 41
  8. Distinctive:

    Use field metrics to understand real users and lab tools to isolate causes.

    line 42
  9. Distinctive:

    Treat third-party scripts, consent tools and embedded media as part of the user experience.

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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 Auditing

Required Reading

  • Front-End Performance Checklist — required reference for audit planning. Use its HTML, CSS, fonts, images and JavaScript checks as source material, and report findings under the five WebCraft Pro audit categories below.

Audit categories

Every audit must assess each category and state reviewed, not applicable with a reason, or not assessed with a reason:

  1. Network: request waterfall, transfer size, compression, caching, CDN/origin latency, connection setup, resource priority and critical-resource discovery.
  2. Rendering: critical path, render-blocking resources, style/layout/paint, layout stability, LCP discovery, main-thread rendering work and hydration where applicable.
  3. JavaScript: bundle composition, unused code, parsing/execution, long tasks, interaction handlers, third-party scripts and code splitting.
  4. CSS: stylesheet size, unused rules, selector/style recalculation costs, critical CSS, blocking behavior and responsive delivery.
  5. Images: dimensions, responsive sources, modern formats, compression, lazy-loading boundaries, LCP image priority and reserved layout space.

Map font loading and font-display checks into Network and Rendering. Keep findings evidence-based; do not force a category to produce a finding when measurements show no material issue.

Use this skill to create a repeatable, evidence-based view of website performance.

Workflow

  1. Define representative routes, templates, critical journeys and supported devices.
  2. Record the build identifier, browser version, test location, viewport, CPU/network throttling, cache state and test date.
  3. Capture field evidence where available using CrUX, PageSpeed Insights or production RUM. Record the data window and sample limitations.
  4. Run controlled lab measurements with Lighthouse or Chrome DevTools. Repeat runs and compare medians or distributions rather than selecting the best result.
  5. Inspect the trace, network waterfall, main-thread activity, layout shifts, image discovery and long tasks. Identify the largest user-impacting bottleneck.
  6. Compare results against agreed budgets and a known baseline. Separate a real regression from noisy infrastructure or test variance.
  7. Create findings with severity, evidence, likely cause, owner, recommended fix and a measurable acceptance criterion.
  8. Re-run the same test protocol after changes and retain reports as CI artifacts where appropriate.

Audit rules

  • Never use a Lighthouse score as the sole release criterion.
  • Keep lab conditions stable and document any deviation.
  • Do not compare measurements from materially different devices, browsers or throttling profiles as if equivalent.
  • Use field metrics to understand real users and lab tools to isolate causes.
  • Include mobile testing; desktop-only results hide constrained-device issues.
  • Treat third-party scripts, consent tools and embedded media as part of the user experience.
  • Report unavailable field data explicitly instead of inventing it.

Deliverables

Return scope, environment, baseline, evidence, ranked findings, proposed budgets, retest protocol and known limitations.

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.