Skills performance-optimization
๐Ÿ“ฆ

performance-optimization

Content revision r2 Safe โšก Contains scriptsโš™๏ธ External commands๐Ÿ“ Filesystem access

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.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 78 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
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.

Your Agent should still show its plan and request any confirmation required by the security policy.

Test it

Using "performance-optimization". The page has LCP of 4.2 seconds, a 1.8 MB JavaScript bundle, and large hero images.

Expected outcome:

  • 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.

Using "performance-optimization". An API loads tasks and fetches each task owner separately.

Expected outcome:

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.

Using "performance-optimization". A cache serves user profiles by profile ID, but the response includes tenant-specific permissions.

Expected outcome:

The cache key omits a response input. Include tenant and permission context, or avoid shared caching when authorization data must remain isolated.

Security Audit

Safe
v2 โ€ข 9/19/2026 Open versioned report

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.

1
Files scanned
497
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/addyosmani-performance-optimization/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/addyosmani-performance-optimization/security.svg)](https://skillstore.io/skills/addyosmani-performance-optimization?utm_source=security_passport_badge)

HTML badge

<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>

Embed card

<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>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

addyosmani. (2026). performance-optimization security audit report (audit version 2) [Author version unspecified]. Skillstore. https://skillstore.io/skills/addyosmani-performance-optimization/audits/2

BibTeX citation

@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"

Compare variants

3 installable variants

Each author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.

Why this variant is first

Stronger evidence confidence
ArieGoldkin Recommended

ariegoldkin-performance-optimization

Skillstore Score 78
Evidence Confidence High
Skillstore usage 13
Updated

2026-09-09

addyosmani Current

addyosmani-performance-optimization

Skillstore Score 78
Evidence Confidence Medium
Skillstore usage 1
Updated

2026-09-22

supercent-io-performance-optimization

Skillstore Score 77
Evidence Confidence High
Skillstore usage 23
Updated

2026-09-09

Skillstore Score

Why this score Evidence Confidence: Medium
55
Architecture
85
Maintainability
87
Content
65
Community
91
Spec Compliance

What You Can Build

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.

Try These Prompts

Find the First Measurement
My application feels slow. Ask for the minimum data needed, then identify the first measurements I should collect.
Review Frontend Metrics
Review these LCP, INP, CLS, bundle, and network results. Identify the most likely bottleneck and propose one testable fix.
Analyze a Query Plan
Analyze this query and EXPLAIN ANALYZE output. Explain the bottleneck, evaluate index options, and state the measurement needed after the change.
Design a Performance Experiment
Design a controlled performance experiment for this suspected bottleneck. Define the baseline, one change, success threshold, variance check, rollback rule, and regression guard.

Best Practices

  • 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.

Avoid

  • 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.

Frequently Asked Questions

What should I measure first?
Start with the user-visible symptom and collect a baseline for the relevant metric, such as LCP, INP, p95 latency, or query time.
Can this skill optimize my code automatically?
No. It provides analysis, recommendations, and verification steps. You decide which code, database, or infrastructure changes to implement.
When should I add a database index?
Inspect the query plan first. Add an index when it addresses the query shape and measure both read improvement and write cost.
How should I choose a cache?
Choose the smallest suitable layer based on scope, freshness, invalidation, and recomputation cost. Include every response input in the cache key.
How do I know an optimization worked?
Repeat the baseline measurement under comparable conditions. Keep the change only when the improvement exceeds normal variance and tests remain correct.
Does this cover production monitoring?
Yes. It recommends synthetic budgets and field monitoring for the primary user-facing metric, with alerts that lead back to fresh measurement.

Developer Details

Author

addyosmani

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

5d5054f8a23586f9b500fece1cb613a9dffc787b

Maintenance freshness

9/19/2026

Usage

1 downloads ยท 0 views

File structure

๐Ÿ“„ SKILL.md

More from addyosmani

View all
View all