·frontend-performance
</>

frontend-performance

b-open-io/prompts

当用户想要使用 Lighthouse、捆绑分析和动画最佳实践来优化 Next.js 前端性能时,应该使用此技能。在诊断慢速页面、优化包大小或改进 Core Web Vitals(LCP、TBT、CLS)时使用。

10安装·1热度·@b-open-io

安装

$npx skills add https://github.com/b-open-io/prompts --skill frontend-performance

SKILL.md

Important: Always test production builds (next build && next start), not dev mode. Dev mode has 2-10x overhead from HMR, source maps, and no optimizations.

For libraries with many exports (icons, utilities, animation libraries):

This ensures tree-shaking works correctly - only imports you use get bundled.

当用户想要使用 Lighthouse、捆绑分析和动画最佳实践来优化 Next.js 前端性能时,应该使用此技能。在诊断慢速页面、优化包大小或改进 Core Web Vitals(LCP、TBT、CLS)时使用。 来源:b-open-io/prompts。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/b-open-io/prompts --skill frontend-performance
分类
</>开发工具
认证
收录时间
2026-02-11
更新时间
2026-02-18

快速解答

什么是 frontend-performance?

当用户想要使用 Lighthouse、捆绑分析和动画最佳实践来优化 Next.js 前端性能时,应该使用此技能。在诊断慢速页面、优化包大小或改进 Core Web Vitals(LCP、TBT、CLS)时使用。 来源:b-open-io/prompts。

如何安装 frontend-performance?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/b-open-io/prompts --skill frontend-performance 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/b-open-io/prompts

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-11