性能优化
原名:performance-optimization
定位和改善应用速度、资源占用与核心体验指标问题。
中文 Skills 技能说明
适合已经有性能要求或观察到明显变慢的项目。优化前先建立可测量基线,再针对主要瓶颈处理,避免为了理论上的速度增加不必要复杂度。
上游能力依据
上游原始适用说明:Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.
上游 SKILL.md 主要章节(保留原文标题):
- Overview
- When to Use
- Core Web Vitals Targets
- The Optimization Workflow
- Step 1: Measure
- Where to Start Measuring
- Step 2: Identify the Bottleneck
- Step 3: Fix Common Anti-Patterns
- Step 4: Verify (Keep or Revert)
- Performance Budget
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- Addy Osmani
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/addyosmani/agent-skills/tree/f49337711b7a932b4b338c1d4ad73384df8fd87d/skills/performance-optimization
适用范围
平台:linux、macos、windows;标签:Performance、Optimization、Profiling
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。