前后端性能分析技能:定位瓶颈、跑 benchmark、对比优化前后效果。 前端覆盖 Core Web Vitals(LCP/FID/CLS)、Lighthouse 审计、Bundle 分析。 后端覆盖 API 响应时间、数据库查询性能、内存/CPU profiling。 核心原则:基于数据定位瓶颈,不做无依据的"优化"。 触发词:性能优化、太慢了、性能分析、LCP、首屏、响应时间慢、profiling、benchmark。 触发场景:性能相关需求验收、用户反馈慢、性能指标超标、重构后性能回归验证。
$npx -y skills add 312362115/claude --skill perf-profilingInstalls into the current project.
Run `npx skills use "https://github.com/312362115/claude" --skill "312362115/claude/perf-profiling"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/312362115/claude" that are relevant to the current task. Run `npx skills add "https://github.com/312362115/claude"` and select the relevant skills, then follow their instructions.