一键导入
auditing-performance
Audit and optimize application performance, including bundle size, rendering, database queries, and Core Web Vitals.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit and optimize application performance, including bundle size, rendering, database queries, and Core Web Vitals.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
| name | auditing-performance |
| description | Audit and optimize application performance, including bundle size, rendering, database queries, and Core Web Vitals. |
Use this skill when the user asks to optimize performance, reduce load times, fix slow pages, or audit Core Web Vitals.
Analyze bundle size
npx @next/bundle-analyzer (Next.js) or npx vite-bundle-visualizer (Vite) to identify large dependencies.moment → date-fns, lodash → individual imports or native methods).Audit rendering performance
useMemo.key props (not array index for dynamic lists).Check data fetching
Promise.all.Database query optimization
SELECT with specific columns instead of SELECT *.Check assets
loading="lazy" on below-the-fold images.font-display: swap and are preloaded.Generate recommendations — produce a prioritized list of optimizations ranked by impact (High / Medium / Low) with estimated effort for each.