performance-optimization
Improve Application Performance with Evidence
Performance problems are difficult to diagnose when teams optimize from assumptions. This skill provides a measurement-first workflow for finding bottlenecks, testing fixes, and preventing regressions.
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "performance-optimization" from https://skillstore.io/skills/addyosmani-performance-optimization.md and its manifest at https://skillstore.io/api/skills/addyosmani-performance-optimization/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「performance-optimization」。 The page has LCP of 4.2 seconds, a 1.8 MB JavaScript bundle, and large hero images.
預期結果:
- Prioritize the hero image and initial JavaScript payload.
- Measure image transfer, render blocking, and bundle composition.
- Test responsive image formats and route-level code splitting.
- Keep the change only if LCP improves beyond normal run-to-run variance.
正在使用「performance-optimization」。 An API loads tasks and fetches each task owner separately.
預期結果:
This is an N+1 query pattern. Fetch tasks with their owners in one query, then compare query count and p95 latency before and after.
正在使用「performance-optimization」。 A cache serves user profiles by profile ID, but the response includes tenant-specific permissions.
預期結果:
The cache key omits a response input. Include tenant and permission context, or avoid shared caching when authorization data must remain isolated.
安全審計
安全All 55 static findings were reviewed against SKILL.md. They are false positives caused by documentation examples, Markdown syntax, a relative reference link, and fixed diagnostic SQL; no malicious behavior or prompt injection was found.
風險因素
⚡ 包含腳本 (2)
⚙️ 外部命令 (49)
📁 檔案系統存取 (2)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/addyosmani-performance-optimization/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/addyosmani-performance-optimization?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/addyosmani-performance-optimization?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/addyosmani-performance-optimization/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/addyosmani-performance-optimization.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
addyosmani. (2026). performance-optimization security audit report (audit version 2) [Author version unspecified]. Skillstore. https://skillstore.io/skills/addyosmani-performance-optimization/audits/2BibTeX 引用
@techreport{addyosmani-addyosmani-performance-optimization-2026,
author = {addyosmani},
title = {performance-optimization security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/addyosmani-performance-optimization/audits/2},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "performance-optimization security audit report (audit version 2)"
version: "unspecified"
type: report
authors:
- name: "addyosmani"
date-released: "2026-09-19"
url: "https://skillstore.io/skills/addyosmani-performance-optimization/audits/2"
identifiers:
- type: other
value: "skillstore:addyosmani-performance-optimization:audit:2"
description: "Skillstore immutable audit report identifier"
比較變體
3 個可安裝變體每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
ariegoldkin-performance-optimization
2026-10-24
addyosmani-performance-optimization
2026-09-22
supercent-io-performance-optimization
2026-09-09
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
Diagnose a Slow Web Page
Use measured browser data to identify bundle, rendering, image, interaction, or server-response bottlenecks.
Tune Database-Backed APIs
Review query plans, indexes, pagination, N+1 patterns, and connection pools before changing backend code.
Set a Regression Guardrail
Create performance budgets and monitoring checks that verify improvements and catch later regressions.
試試這些提示
My application feels slow. Ask for the minimum data needed, then identify the first measurements I should collect.
Review these LCP, INP, CLS, bundle, and network results. Identify the most likely bottleneck and propose one testable fix.
Analyze this query and EXPLAIN ANALYZE output. Explain the bottleneck, evaluate index options, and state the measurement needed after the change.
Design a controlled performance experiment for this suspected bottleneck. Define the baseline, one change, success threshold, variance check, rollback rule, and regression guard.
最佳實務
- Measure a representative baseline before proposing an optimization.
- Change one variable at a time and compare results against run-to-run variance.
- Keep only changes that improve the target metric without reducing correctness.
避免
- Adding indexes, caches, or memoization without evidence of a measured bottleneck.
- Keeping a neutral optimization because it has already been implemented.
- Combining several changes in one experiment so their effects cannot be attributed.
常見問題
What should I measure first?
Can this skill optimize my code automatically?
When should I add a database index?
How should I choose a cache?
How do I know an optimization worked?
Does this cover production monitoring?
開發者詳細資訊
作者
addyosmani授權
MIT
Skillstore 修訂
r2
版本提示
作者未聲明版本。
引用
5d5054f8a23586f9b500fece1cb613a9dffc787b
維護新鮮度
2026/9/19
使用量
1 次下載 · 0 次瀏覽
檔案結構
📄 SKILL.md