performance-optimization

仓库创建 2026年2月16日最近提交 21 小时前SkillHot 收录 20 天前
▸ 精选理由

以数据为导向避免盲目优化,聚焦真实影响点。

这个 Skill 做什么

基于测量与剖析定位瓶颈并有针对性地优化应用性能。

先测量再优化:通过 profiling 找到前端、后端或数据库的真实瓶颈,针对性修复后再复测,避免盲目优化。在需要达成性能指标、怀疑回归或要改善 Core Web Vitals、加载时间和 N+1 问题时使用。强调以数据为驱动,只优化对用户体验有实际影响的瓶颈。

▸ 展开 SKILL.md 英文原文

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.

开发编程性能分析性能调优基准测试通用
8.1w
Stars
8.7k
Forks
24
仓库内 Skill
+10.0k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/addyosmani/agent-skills/main/skills/performance-optimization/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/addyosmani/agent-skills/main/skills/performance-optimization/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Performance Optimization

## Overview

Measure before optimizing. Performance work without measurement is guessing — and guessing leads to premature optimization that adds complexity without improving what matters. Profile first, identify the actual bottleneck, fix it, measure again. Optimize only what measurements prove matters.

## When to Use

- Performance requirements exist in the spec (load time budgets, response time SLAs)
- Users or monitoring report slow behavior
- Core Web Vitals scores are below thresholds
- You suspect a change introduced a regression
- Building features that handle large datasets or high traffic

**When NOT to use:** Don't optimize before you have evidence of 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有