Cursor rule Cursor
APPLY: Block decoration and performance optimization.
Cursor rule Cursor
APPLY: Block decoration and performance optimization.
Cursor rule Cursor
Cursor rule "aem-franklin-loading-phases" from adobecom/express-milo, covering aem franklin loading phases & performance, aem/franklin loading phases (critical architecture), three-phase loading (e-l-d) assignment, phase e budget rules and block performance pattern (hero-marquee style).
Cursor rule Cursor
Cursor rule "aem-markup-sections-blocks" from adobecom/express-milo, covering aem markup, sections, and blocks architecture, document structure hierarchy, 1. default content (preferred), 2. sections (layout grouping) and 3. blocks (component logic).
Cursor rule Cursor
Cursor rule "aem-three-phase-performance" from adobecom/express-milo, covering aem three-phase loading (e-l-d), phase assignment, phase e budget rules and implementation pattern.
Cursor rule Cursor
When conducting code reviews, you MUST check ALL of the following rules and provide the specific format outlined below.
Cursor rule Cursor
Cursor rule "core-web-vitals-standards" from adobecom/express-milo, covering core web vitals performance standards, performance is non-negotiable, critical: css render-blocking detection & resolution, css render-blocking root cause and required aem performance pattern.
Cursor rule Cursor
When the user asks to optimize variable usage of their files, look at the CSS values that do not use vars. Reference styles.css for existing vars that match the value EXACTLY and ensure that the var name and the value are semantically similar. For example, do not use a spacing variable for font sizes and vice versa.…
Cursor rule Cursor
Cursor rule "css-render-blocking-diagnosis" from adobecom/express-milo, covering css render-blocking diagnosis & resolution, critical learning from 98 pagespeed achievement, primary diagnostic protocol, step 1: css blocking symptom recognition and step 2: css loading sequence audit.
Cursor rule Cursor
APPLY: "Code review" queries and block creation.
Cursor rule Cursor
Cursor rule "dom-manipulation-best-practices" from adobecom/express-milo, covering dom manipulation performance rules - three-phase strategy, aem performance principles (required), phase e - lcp critical dom operations (required), createelement pattern (required) and phase-aware dom construction (required).
Cursor rule Cursor
Cursor rule "dom-structure-preservation" from adobecom/express-milo, covering dom structure preservation rule - three-phase compatible, critical: never break existing dom structure, ⚠️ absolute requirement: identical markup post-optimization, why this matters and ✅ allowed performance optimizations (all phases).
Cursor rule Cursor
Cursor rule "event-handling-performance" from adobecom/express-milo, covering event handling performance rules - three-phase strategy, aem performance principles (required), phase e - critical event handlers only (required), phase l - enhanced event handling (required) and throttling & debouncing (required).
Cursor rule Cursor
APPLY: Block development and optimization.
Cursor rule Cursor
Cursor rule "express-milo-performance-diagnosis" from adobecom/express-milo, covering express-milo performance diagnosis, performance issue decision tree, root cause: css render-blocking in scripts.js, aem eds transformation requirements and solution pattern.
Cursor rule Cursor
Cursor rule "image-optimization-requirements" from adobecom/express-milo, covering image optimization performance rules - three-phase strategy, aem bandwidth budget management (critical), phase e (eager) - lcp image optimization (required), bandwidth budget calculation (required) and responsive image pattern - phase…
Cursor rule Cursor
Cursor rule "lazy-loading-implementation" from adobecom/express-milo, covering lazy loading performance rules - three-phase strategy, aem three-phase loading implementation (required), phase assignment strategy, phase e - critical section only (required) and phase l - intersectionobserver pattern (required).
Cursor rule Cursor
Cursor rule "lighthouse-performance-troubleshooting" from adobecom/express-milo, covering lighthouse performance troubleshooting guide, target performance scores, critical performance issues & solutions, issue 1: lcp > 3 seconds (score drops from 100 to 86) and issue 2: largest contentful paint optimization.
Cursor rule Cursor
APPLY: "Generate Nala tests" or "Write E2E tests" queries.
Cursor rule Cursor
Template for pull request (PR) descriptions.
Cursor rule Cursor
Cursor rule "resource-loading-strategy" from adobecom/express-milo, covering resource loading performance rules - three-phase strategy, aem three-phase loading (e-l-d) - required, phase e (eager) - critical path to lcp, phase l (lazy) - same-origin enhancement and phase d (delayed) - third-party deferred.
Cursor rule Cursor
Cursor rule "unit-testing-standards" from adobecom/express-milo, covering unit testing standards, testing philosophy, testing framework stack, test structure patterns and 1. standard test file organization.