agentleFS
ViviBeriViviBeri/webcraft-pro/skills/core-web-vitals/SKILL.md

core-web-vitals

Skill11 starsChanged 11 days agoMITView on GitHub

Diagnose and improve Core Web Vitals when evaluating real-user loading, responsiveness and visual stability across page templates and devices.

40 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use javascript-seo, page-metadata and 10 more.

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.
  • MYehia565Skill

    javascript-seo

    Diagnoses JS rendering, lazy-loading, and indexing gaps for client-rendered pages. Use when content appears in the browser but not in fetched HTML or Search.

    Also in 4 projects that use this

  • MYehia565Skill

    page-metadata

    Implements and audits title links, meta descriptions, robots meta, rel attributes, and heading hierarchy. Use when snippets are poor, titles are duplicated, or indexing directives need changing.

    Also in 3 projects that use this

  • gaznilmuzammil12-progSkill

    robots-txt

    When the user wants to configure, audit, or optimize robots.txt. Also use when the user mentions "robots.txt," "crawler rules," "block crawlers," "AI crawlers," "GPTBot," "allow/disallow," "disallow path," "crawl directives," "user-agent," "block Googlebot," "fix robots.txt," "robots.txt blocking," or "search engine crawling." For indexing, use indexing.

    Also in 3 projects that use this

  • RodrigoTomeESSkill

    web-quality-audit

    Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".

    Also in 13 projects that use this

  • kpbraySkill

    best-practices

    Applies Power BI best practices, BPA rules, and enterprise standards. Use for quality validation, naming conventions, and performance optimization.

    Also in 8 projects that use this

  • austintgriffithSkill

    indexing

    Use when building anything that reads past onchain activity: feeds, leaderboards, dashboards, analytics. Also when someone proposes scanning logs or blocks for history, when deciding which events a contract emits, or when deploying a subgraph or indexer to production.

    Also in 3 projects that use this

  • +1 more from MYehia565

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 4

    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:

    Use this skill when a page feels slow, interactions lag, content shifts during loading, or field performance needs an evidence-based review.

    line 8
  2. Distinctive:

    Treat Core Web Vitals as field metrics.

    line 27
  3. Distinctive:

    Do not claim a site passes when there is insufficient field data.

    line 29
  4. Distinctive:

    Do not optimize one metric by degrading another or removing essential functionality.

    line 30

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

Core Web Vitals

Use this skill when a page feels slow, interactions lag, content shifts during loading, or field performance needs an evidence-based review.

Workflow

  1. Identify the page templates, user journeys, device classes and geographic audiences in scope.
  2. Separate field data from lab diagnostics. Use CrUX, PageSpeed Insights or available RUM data for real-user distributions; use Lighthouse and DevTools traces to reproduce and diagnose.
  3. Evaluate the current Core Web Vitals at the 75th percentile, segmented by mobile and desktop where data permits:
    • LCP: good at 2.5 seconds or less.
    • INP: good at 200 milliseconds or less.
    • CLS: good at 0.1 or less.
  4. Diagnose the underlying cause before changing code:
    • LCP: server response, render-blocking resources, resource discovery, priority, image or text rendering.
    • INP: input delay, event-handler work, long tasks, style/layout work and rendering delay.
    • CLS: missing dimensions, injected content, font swaps, late UI and unstable embeds.
  5. Prioritize fixes by affected users, severity, frequency, confidence and implementation risk.
  6. Re-measure the same journeys and conditions. Compare distributions and regression risk, not only a single score.

Engineering rules

  • Treat Core Web Vitals as field metrics; a lab run is a diagnostic sample, not a substitute for field evidence.
  • Report the 75th percentile and device segmentation. Include sample size and date range when available.
  • Do not claim a site passes when there is insufficient field data; state the evidence limitation.
  • Do not optimize one metric by degrading another or removing essential functionality.
  • Preserve accessibility, correctness and user-perceived quality while tuning performance.
  • Track supporting metrics such as TTFB, FCP, TBT and long tasks as diagnostics, not replacements for the current Core Web Vitals.

Deliverables

Provide the page or journey scope, field and lab evidence, metric values, likely causes, prioritized fixes, verification conditions and remaining uncertainty.

Common AI failure mode

Failure: An agent treats one Lighthouse score or a single lab run as representative field performance, or reports a site as passing without sufficient real-user data.

Why it matters: Lab conditions are controlled samples and may not reflect the experience of users across devices, networks, locations, and page templates.

Prevention: Separate field data from lab diagnostics, report the 75th-percentile field metrics with device segmentation and sample context, use lab traces to investigate causes, and state when field evidence is insufficient.

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.