一键导入
review-performance
Perform performance testing and review of specific pages, identifying and fixing bottlenecks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform performance testing and review of specific pages, identifying and fixing bottlenecks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Standardize the verification of implemented GitHub issues on the development environment.
Parse downloaded Figma design JSON files and CSS layer data to generate Tailwind CSS layout classes, fonts, borders, and colors, with component-to-layer mapping and Storybook validation.
Compare a live component implementation with its original Figma design frame, validating rendering and alignment in Storybook iteratively until pixel-perfect results are achieved.
End-to-end automation for the full GitHub issue lifecycle. Use this when the user provides a feature request or bug report and wants to go from zero to a reviewed and refined Pull Request in one autonomous process.
Create a detailed GitHub issue using the mandatory template for new features or complex changes.
Refine an existing GitHub issue to improve clarity, technical implementation details, and alignment with project rules.
| name | review-performance |
| description | Perform performance testing and review of specific pages, identifying and fixing bottlenecks. |
This workflow guides you through standardizing the performance testing and review of specific pages in the application.
You are an expert performance engineer and autonomous agent.
Use this workflow whenever the user asks to "run the review-performance workflow", "review performance for [URL]", or as a subsequent step during the github-issue-test workflow.
https://www.your-domain.com/de/product/some-product or http://localhost:6767/de/provider/...), use it.http://localhost:6767/sitemap.xml, parse it, and pick a random URL from the sitemap to test.de, en, fr) and the remaining path from the selected URL.paths.src (e.g. src/ or .) and search for any i18n pathnames files (paths.src/i18n/pathnames.ts or equivalent i18n configurations). If i18n configurations do not exist, map directly to the route segments..../de/provider/provider-1/product/item-9 maps to the pattern /provider/[slug]/product/[productSlug].paths.app or src/app)./provider/[slug]/product/[productSlug] resolves to <paths.app>/[locale]/provider/[slug]/product/[productSlug]/page.tsx (or <paths.app>/provider/[slug]/product/[productSlug]/page.tsx if non-localized).chrome-devtools MCP is available.navigate_page to go to the target URL.performance_start_trace with reload: true to begin capturing frontend performance issues, Core Web Vitals (LCP, INP, CLS), and page load speed.performance_stop_trace.performance_analyze_insight on specific blocking issues or layout shifts to get detailed information on what caused them.lighthouse_audit as a complementary check to generate a structured report specifically targeting Accessibility (a11y), SEO, and web Best Practices regressions.page.tsx file resolved in Phase 1.list_code_definition_names, search_files, and read_file as needed).next/dynamic) for heavy, non-critical components.next/image (e.g., adding priority to LCP images, fixing sizing).replace_in_file to implement the fixes in the codebase.performance_start_trace / performance_stop_trace cycle to verify the optimizations have improved the metrics (e.g., reduced LCP or CLS).github-issue-test workflow), document the performance findings and actionable improvements as a comment in the existing GitHub issue using the add_issue_comment tool..agents/skills/github-issue-create skill to create a new issue documenting the performance bottlenecks found for the tested page.page.tsx..agents/skills/github-issue-refine skill.mcp_chrome-devtools_list_pages and mcp_chrome-devtools_close_page to close the pages opened during the performance tests.