Use Cursor's browser aria snapshots to audit a page for accessibility issues — missing labels, broken tab order, contrast, and ARIA misuse.
中文简介正在准备中。当前显示原文说明。
Profile a running web application's CPU performance using Cursor's built-in browser profiler. Captures call stacks, identifies slow functions, and suggests optimizations. Use when a page feels slow or janky.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Use this skill when a web application feels slow, janky, or unresponsive. Cursor's built-in browser has CPU profiling tools that capture real call stacks and timing data.
The cursor-ide-browser MCP provides browser_profile_start and browser_profile_stop tools that capture Chrome DevTools-format CPU profiles. Profile data is written to ~/.cursor/browser-logs/ as both raw JSON and a human-readable summary.
Ensure the app is running — start the dev server if it isn't already running.
Navigate to the slow page:
Tool: browser_navigate
Arguments: { "url": "http://localhost:3000/slow-page" }
Start profiling:
Tool: browser_profile_start
Reproduce the slow interaction — use browser tools to trigger the slow behavior:
browser_click, browser_scroll, browser_fill to interactStop profiling:
Tool: browser_profile_stop
This writes two files to ~/.cursor/browser-logs/:
cpu-profile-{timestamp}.json — raw Chrome DevTools profilecpu-profile-{timestamp}-summary.md — human-readable summaryAnalyze the results — read both files. Key things to look for in the raw JSON:
profile.nodes[].hitCount — how many samples hit each functionprofile.nodes[].callFrame.functionName — the function namesprofile.samples.length — total number of samples collectedCross-reference with the summary to identify:
Suggest fixes — based on the profile data, recommend specific optimizations:
.json profile to verify the summary — the summary can miss nuances.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Use Cursor's browser aria snapshots to audit a page for accessibility issues — missing labels, broken tab order, contrast, and ARIA misuse.
中文简介正在准备中。当前显示原文说明。
Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.
中文简介正在准备中。当前显示原文说明。
Generate OpenAPI/Swagger documentation for an API, including endpoint schemas, request/response types, and interactive docs UI.
中文简介正在准备中。当前显示原文说明。
Add authentication to a web application using NextAuth.js (Auth.js), including OAuth providers, session management, and protected routes.
中文简介正在准备中。当前显示原文说明。
Dockerize an application with a production-ready Dockerfile, docker-compose setup, and .dockerignore.
中文简介正在准备中。当前显示原文说明。
Set up Playwright end-to-end testing in a project, including test configuration, example tests, and CI integration.
中文简介正在准备中。当前显示原文说明。