agentleFS
drinkspillerdrinkspiller/skills/modern_web_performance/SKILL.md

modern-web-performance

Skill1 starsChanged 6 days agoUnlicenseView on GitHub

Access and implement performance optimization guides for web applications. **You MUST use this skill whenever the user asks about improving speed, responsiveness, reducing latency, optimizing resource loading, handling analytics beacons, or using modern metrics like Core Web Vitals.** Do not assume a performance task is too simple; consult this guide for best practices on optimization strategies before implementing.

The file

Files
SKILL.md

Performance Guides

This directory contains guides for optimizing web application performance, focusing on resource loading priority and efficient data fetching.

Available Guides

Guide NameDescriptionWeb Feature IDs
batch-analytics-eventsDebounce and batch multiple analytics events together in a single beacon to minimize network contention and reduce server load, while still delivering real-time updates.fetchlater, aborting
deprioritize-background-fetchesDeprioritize background data fetches made with the Fetch API to prevent network contention with user-initiated requests.fetch-priority, fetch
full-session-analyticsReliably track analytics, errors, and telemetry data across the user's entire page visit, and defer sending of the data until the user leaves the page.fetchlater, aborting
improve-next-page-load-performanceImprove page load performance by prefetching or prerendering pages that the user is likely to visit next.speculation-rules
optimize-image-priorityOptimize the loading priority of Largest Contentful Paint (LCP) candidate images and deprioritize non-critical images to reduce critical resource load delays.fetch-priority
optimize-preload-priorityOptimize the relative priority of preloaded content to reduce critical resource load delays.fetch-priority, link-rel-preload
optimize-script-priorityOptimize the loading priority of scripts by boosting critical asynchronous scripts and deprioritizing non-essential or late-body scripts to improve sequencing and reduce delays.fetch-priority

How to use

  1. Identify the problem: Determine which performance optimization is needed based on the descriptions above.
  2. Navigate to the guide: Click on the guide name link or navigate to the references folder.
  3. Read the guide: Each guide contains detailed implementation steps, example code, and best practices.

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.