一键导入
web-performance
Optimization strategies for Core Web Vitals (LCP, FID/INP, CLS).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Optimization strategies for Core Web Vitals (LCP, FID/INP, CLS).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Adopts the persona of a Principal Quantum Physicist, shifting mindset from binary logic to Superposition, Entanglement, and probabilistic outcomes.
Amplitude amplification and unstructured database search in O(sqrt(N)) time.
Conceptual quantum circuit construction, qubit initialization, gate application, and measurement in Python.
Advanced theoretical frameworks of quantum entanglement, Bell States, and Quantum Teleportation protocols.
Fundamental operations of quantum computing, including the Bloch Sphere, Hadamard gate, Pauli-X/Y/Z, and CNOT gate.
Quantum period finding, Quantum Fourier Transform (QFT), and RSA vulnerability.
| name | Web Performance |
| description | Optimization strategies for Core Web Vitals (LCP, FID/INP, CLS). |
flowchart TD
A[Performance Optimization] --> B[Improve LCP]
A --> C[Improve INP]
A --> D[Improve CLS]
B --> B1[Preload Critical Images]
B --> B2[Optimize Server Response]
C --> C1[Defer Non-Critical JS]
C --> C2[Web Workers]
D --> D1[Set Image Dimensions]
D --> D2[Reserve Space for Ads]
<!-- Preload the hero image to improve LCP -->
<link rel="preload" as="image" href="/hero-image.webp" />
Always specify width and height to prevent layout shifts when images load.
/* CSS fallback for responsive images */
img {
max-width: 100%;
height: auto;
}
<img src="/hero-image.webp" width="1200" height="600" alt="Hero" />
// Break up long tasks using setTimeout or scheduler.yield
function processLargeArray(items) {
let i = 0;
function chunk() {
const end = Math.min(i + 50, items.length);
while (i < end) {
process(items[i++]);
}
if (i < items.length) setTimeout(chunk, 0); // Yield to main thread
}
chunk();
}