core-web-vitals-standards

core-web-vitals-standards is a cursor rule for Cursor from adobecom/express-milo. It costs 2,487 tokens per session, scanned A, a copy of core-web-vitals-standards, Apache-2.0.

A set of coding rules for improving Core Web Vitals, the browser measurements Google uses to judge loading and page responsiveness in Adobe Experience Manager sites.

In plain words
What is it for?
Use it when diagnosing slow Largest Contentful Paint (LCP), especially white screens or large CSS files loaded through JavaScript, and when applying Adobe Experience Manager's three-stage loading pattern.
Why use it?
It helps find slow loading caused by CSS that prevents the page from appearing, including cases where other optimizations have not fixed the delay.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when diagnosing slow Largest Contentful Paint (LCP), especially white screens or large CSS files loaded through JavaScript, and when applying Adobe Experience Manager's three-stage loading pattern.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/adobecom/express-milo/core-web-vitals-standards
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/adobecom/express-milo

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for core-web-vitals-standards

README.md
[![agentmods](https://agentmods.dev/badge/rules/adobecom/express-milo/core-web-vitals-standards/github.svg)](https://agentmods.dev/rules/adobecom/express-milo/core-web-vitals-standards)
Your own site
<a href="https://agentmods.dev/rules/adobecom/express-milo/core-web-vitals-standards"><img src="https://agentmods.dev/badge/rules/adobecom/express-milo/core-web-vitals-standards/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for core-web-vitals-standards

Your own site · 80×15
<a href="https://agentmods.dev/rules/adobecom/express-milo/core-web-vitals-standards"><img src="https://agentmods.dev/badge/rules/adobecom/express-milo/core-web-vitals-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,487 This file is loaded in full into every session.
When invoked 2,487 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02487 $0.02487
Opus 5.5 $0.00995 $0.00995
Sonnet 5.5 $0.00497 $0.00497
Haiku 4.5 $0.00249 $0.00249

Measured 3mo ago against content hash c3450831a164, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

core-web-vitals-standards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to core-web-vitals-standards — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/core-web-vitals-standards.mdc · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Core Web Vitals Performance Standards

APPLY: EVERY QUERY - CRITICAL PERFORMANCE RULE

Performance is Non-Negotiable

Following AEM's "Keeping it 100" principle: Maintain Lighthouse Score 100 through Three-Phase Loading (E-L-D)

CRITICAL: CSS Render-Blocking Detection & Resolution

ALWAYS check CSS loading sequence FIRST when diagnosing slow LCP

CSS Render-Blocking Symptoms (URGENT INVESTIGATION REQUIRED)

  • LCP > 3 seconds with white screen until late in loading
  • Body visibility delayed despite JavaScript optimization
  • Performance scores plateau despite component optimizations
  • Render delay >70% in LCP breakdown

CSS Render-Blocking Root Cause

Large CSS files (>20KB) loaded via JavaScript after HTML parsing:

// ❌ ANTI-PATTERN: Render-blocking CSS via JavaScript
const link = document.createElement('link');
link.setAttribute('rel', 'stylesheet');
link.setAttribute('href', 'large-file.css'); // Blocks body visibility
document.head.appendChild(link);

REQUIRED AEM Performance Pattern

// ✅ REQUIRED: Follow AEM Three-Phase Loading for LCP optimization
// Phase E: Focus on accelerating transformation speed for LCP elements
export default async function init(el) {
  // Create LCP structure immediately (synchronous DOM)
  const basicStructure = createLCPStructure(el);
  el.append(basicStructure);
  
  // Phase L: Defer heavy operations to Promise.all
  const enhancementPromise = Promise.all([
    loadAdditionalData(),
    processAsyncFeatures()
  ]);
  
  // Progressive enhancement without blocking LCP
  const data = await enhancementPromise;
  enhanceWithData(basicStructure, data);
}

Three-Phase Loading Strategy (REQUIRED)

Based on AEM's performance best practices:

Phase E (Eager) - Critical Path to LCP

  • 100kb Payload Limit: Everything before LCP MUST stay under 100kb total
  • Single Origin Rule: NO connections to second origins before LCP (TLS/DNS overhead blocks LCP)
  • Body Hidden Pattern: body { display: none; } in head.html prevents premature image downloads
  • LCP Target: 1560ms or better on mobile (100 score in PageSpeed Insights)

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 229 lines · 2,487 tokens per session scan A c3450831a164

Subscribe to this mod's changes

core-web-vitals-standards is a cursor rule published in the GitHub repository adobecom/express-milo (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 2,487 tokens to every session, about $0.0099 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to core-web-vitals-standards, differing in 0 lines, and is treated as a copy.

Related

core-web-vitals-standards compared with cursor rules from other repositories

core-web-vitals-standards next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
core-web-vitals-standardsadobecom/express-miloCursor rule62mo agoApache-2.0A2,487Cursor
css-stylingConsensys/doc.lineaCursor rule48012d agoApache-2.0A0Cursor
shadcn-tailwind-guidedtyq/magicCursor rule5.1k1mo agononeA13Cursor
codex-premium-website-skillsTheGoat395/Codex-SkillsCursor rule1401mo agoMITA0Cursor
css-render-blocking-diagnosisadobecom/da-express-miloCursor rule6yesterdayApache-2.0A1,102Cursor
z-indexpubky/pubky-appCursor rule28todayMITA0Cursor
csssybrew/troyCursor rule551mo agoMITA0Cursor