مقتطفات JavaScript مُختبَرة لقياس أداء الويب يشغّلها وكيلك أو سطر الأوامر.
مجموعة مقتطفات قياس ثابتة تُختبَر آليًا في التكامل المستمر لمقاييس Core Web Vitals وفحوص أداء أخرى، وكلّ منها يعيد بيانات منظّمة. يفسّر الوكيل النتائج بدل أن يكتب شيفرة القياس في لحظتها. تُستعمل كخادم MCP أو كمهارات تقود Chrome DevTools أو عبر سطر أوامر للسكربتات والتكامل المستمر أو تُلصق يدويًا في DevTools.
تنبيه: لم تظهر أوامر التثبيت في المقتطف؛ راجع README للطريقة الدقيقة.
Paste this prompt into Claude Code: it reads the README and installs it with you, showing each command before running it.
Add the MCP server “WebPerf Snippets” (https://github.com/nucliweb/webperf-snippets) to Claude Code. - Read the README to see how to run it. - Register it with `claude mcp add` at user scope. - If it needs API keys or accounts, tell me which ones and where to set them; never ask me to paste a secret in this chat. - Then check that it shows up in /mcp and suggest a first request that uses it.
Once installed, try for example:
Audit https://example.com for Core Web Vitals and summarise the worst problems.
My page feels slow after clicking: measure interaction delay (INP) on the checkout page.
Which images are hurting LCP on this page?
1.0.0