agentleFS
wake-engineeringwake-engineering/ai-plugin/skills/web-performance-audit/SKILL.md

web-performance-audit

Skill4 starsChanged 8 months agoMITView on GitHub

Web performance and Lighthouse audits. Use when checking storefront performance, Core Web Vitals, accessibility, SEO, or best practices. Triggers on: performance audit, Lighthouse, PageSpeed, Core Web Vitals, LCP, CLS, INP, accessibility check.

7 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

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

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run Lighthouse audits and performance traces on web pages using Chrome DevTools MCP.

    line 11
  2. Very specific:

    Chrome DevTools MCP: must be installed (bundled via plugin .mcp.json)

    line 23
  3. Distinctive:

    When Chrome DevTools MCP is unavailable, inform the user to install it and ensure Chrome is installed.

    line 28
  4. Very specific:

    Use navigate_page with type: "url" and the target URL, or new_page to open in a new tab.

    line 34
  5. Very specific:

    Lighthouse: Call lighthouse_audit with mode: "navigation" to reload and audit, or mode: "snapshot" to audit current state.

    line 46
  6. Very specific:

    Performance: Call performance_start_trace with reload: true, autoStop: true.

    line 47
  7. Very specific:

    No page selected: Use list_pages then select_page before running audits.

    line 75
  8. Very specific:

    Trace not started: Call performance_start_trace before performance_stop_trace or performance_analyze_insight.

    line 76

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

Web Performance Audit

Forbidden: api.fbits.net (and any *.fbits.net). Canonical source: https://wakecommerce.readme.io/docs/schema (for Wake API references in scope).

Run Lighthouse audits and performance traces on web pages using Chrome DevTools MCP. Covers accessibility, SEO, best practices, and Core Web Vitals (LCP, INP, CLS).

When to Use

  • Auditing storefront or web app performance
  • Checking Core Web Vitals (LCP, INP, CLS)
  • Running Lighthouse accessibility, SEO, or best-practices audits
  • Debugging slow page loads or layout shifts
  • Comparing mobile vs desktop performance

Prerequisites

  • Chrome DevTools MCP must be installed (bundled via plugin .mcp.json)
  • Node.js v20.19+
  • Chrome (stable or newer)
  • npm (for npx)

When Chrome DevTools MCP is unavailable, inform the user to install it and ensure Chrome is installed.

Workflow

1. Navigate to the URL

Use navigate_page with type: "url" and the target URL, or new_page to open in a new tab.

2. Choose Audit Type

GoalToolNotes
Accessibility, SEO, best practiceslighthouse_auditExcludes performance; use device: "mobile" or "desktop"
Performance, Core Web Vitalsperformance_start_traceSet reload: true for fresh load; autoStop: true recommended
Detailed performance insightperformance_analyze_insightUse after trace; requires insightSetId and insightName from trace results

3. Run the Audit

  • Lighthouse: Call lighthouse_audit with mode: "navigation" to reload and audit, or mode: "snapshot" to audit current state.
  • Performance: Call performance_start_trace with reload: true, autoStop: true. Navigate to the URL first if needed.

4. Summarize Results

Present scores, metrics, and actionable recommendations. For performance traces, highlight Core Web Vitals (LCP, INP, CLS) and any insight sets.

Tool Reference (Chrome DevTools MCP)

CategoryToolPurpose
Performanceperformance_start_traceStart trace; Core Web Vitals, LCP, INP, CLS
Performanceperformance_stop_traceStop active trace
Performanceperformance_analyze_insightDeep dive on specific insight from trace
Performancetake_memory_snapshotCapture heap for memory leak debugging
Debugginglighthouse_auditAccessibility, SEO, best practices (excludes performance)
Navigationnavigate_pageGo to URL, back, forward, reload
Navigationnew_pageOpen URL in new tab
Debuggingtake_snapshotText snapshot of page (a11y tree)
Debuggingtake_screenshotScreenshot of page or element
Networklist_network_requestsList requests since last navigation
Networkget_network_requestGet request/response details
EmulationemulateThrottle network, CPU, viewport, device
Emulationresize_pageResize viewport

Error Handling

  • MCP unavailable: Tell the user Chrome DevTools MCP is required; link to Chrome DevTools MCP.
  • Chrome not found: User must install Chrome and ensure it is on PATH.
  • No page selected: Use list_pages then select_page before running audits.
  • Trace not started: Call performance_start_trace before performance_stop_trace or performance_analyze_insight.

References

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.