Use this skill when optimizing application performance across frontend (Core Web Vitals, bundles), backend (N+1 queries, connection pools, caching), and database (indexes, query plans). Profiles before fixing, pinpoints actual bottlenecks rather than assumed ones, verifies improvements by re-measuring the same way as baseline.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Performance Optimization
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 This Skill
Use this skill when:
- Performance requirements exist in the spec (load time budgets, response time SLAs, LCP/INP/CLS targets)
- Users or monitoring report slow behavior (high latency, sluggish interactions, jank)
- Core Web Vitals scores are below 'Good' thresholds
- You suspect a recent change introduced a performance regression
- Building features that handle large datasets or high traffic volumes
- Profiling or tracing reveals a bottleneck that needs addressing
- An N+1 query pattern is discovered in data-fetching code
- Bundle size analysis shows large, unnecessary dependencies
**When NOT to use:** Do not optimize before you have empirical evidence of a problem. Premature optimization is a known source of bugs, complexity, and wasted effort. If you're guessing at what's slow, measure first.
## Core Web Vitals Targets
…
The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_5uq5ea4plgr6alnu
GET https://markdownregistry.com/api/v1/resolve?ref=jpeetz/agent-skills/performance-optimization
GET https://markdownregistry.com/api/v1/blob/464a4f06b526ed17e18b92dcc39401d8271939110bac94882254c3cb14636ff1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
jpeetz/agent-skills · skills/api-backend/api-and-interface-design/SKILL.md · Use this skill when designing APIs, module boundaries, or any public interface. Create stable, well-documented…
jpeetz/agent-skills · skills/api-backend/api-design-first/SKILL.md · Use this skill when designing an API or defining an API contract before writing code. Generates OpenAPI 3.1…
jpeetz/agent-skills · skills/api-backend/graphql-api-development/SKILL.md · Use this skill when designing, implementing, or optimizing a GraphQL API: schema-first design, resolver architecture…
jpeetz/agent-skills · skills/api-backend/har-api-reverse-engineering/SKILL.md · Use this skill when an agent needs to call a website's hidden or undocumented API: capture real browser requests into a…
jpeetz/agent-skills · skills/api-backend/image-to-image-character-generation/SKILL.md · Use this skill when an agent needs to generate consistent character images via kie.ai grok-imagine image-to-image from…
jpeetz/agent-skills · skills/api-backend/kie-ai-platform/SKILL.md · Use this skill when an agent needs to integrate with the Kie.ai API for image/video/audio generation, task management…
jpeetz/agent-skills · skills/api-backend/n8n-api-shape/SKILL.md · Use this skill when working with the n8n REST API — read, update, or verify workflows on ANY n8n instance…
jpeetz/agent-skills · skills/api-backend/social-har-api-connectivity/SKILL.md · Use this skill when an agent needs to connect to a social platform's API by prompting the user to pick a platform…
jpeetz/agent-skills · skills/business-strategy/app-discovery-scrutiny/SKILL.md · Use this skill when the user wants to evaluate a mobile app idea for commercial viability — whether it's a clone…
jpeetz/agent-skills · skills/business-strategy/enterprise-consulting-methods/SKILL.md · Use this skill when you need McKinsey/BCG-grade strategy work — problem decomposition, hypothesis testing, storyline…
jpeetz/agent-skills · skills/business-strategy/linear-project-management/SKILL.md · Use this skill when driving Linear projects and issues from an agent.
jpeetz/agent-skills · skills/code-quality/clean-pro-review-gates/SKILL.md · Use this skill when reviewing any AI-generated or modified code, tests, docs, or infrastructure before merging. Applies…
addyosmani/agent-skills · skills/performance-optimization/SKILL.md · Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements…
gamedev-skills/awesome-gamedev-agent-skills · skills/disciplines/performance-optimization/SKILL.md · Find and fix game performance problems methodically — measure with the engine profiler first, reason about the…
ukanwat/overtime · .claude/skills/performance-optimization/SKILL.md · Find and fix game performance problems methodically — measure with the engine profiler first, reason about the…
mindrally/skills · performance-optimization/SKILL.md · Performance optimization guidelines for web development including server-side rendering, CSS best practices, and…
shashankswe2020-ux/whoop-mcp · .github/skills/performance-optimization/SKILL.md · Optimizes application performance. Use when performance requirements exist, when you suspect performance regressions…