performance-optimization
Skill0 starsChanged 10 days agoMITView on GitHub
Optimize application performance once profiling shows where the time goes. Use when performance requirements exist, for suspected regressions, or verified bottlenecks.
156 other projects use a version of this, 38 of them edited.
Adopted by
Most recently taken up by
- albumentations-team/AlbumentationsXtheir own version, first seen Nov 29, 2026
- carlokop/skillstheir own version, first seen Nov 29, 2026
- dzikrisyairozi/agent-skillstheir own version, first seen Nov 29, 2026
- elidadutra187/claude-skillstheir own version, first seen Nov 29, 2026
- jaydubya818/MissionControltheir own version, first seen Nov 29, 2026
- sirius-cc-wu/sirius-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use accessibility-engineering, constraint-driven-development and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
steven123397Skillaccessibility-engineering
Audits existing interfaces for WCAG 2.2 AA conformance and remediates the violations found. Use when auditing a page or component for accessibility, running axe-core or pa11y, triaging a11y violations, or checking screen reader and contrast issues before shipping.
Also in 4 projects that use this
MrCipherSmithSkillconstraint-driven-development
Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.
Also in 20 projects that use this
LLl0k0laDSkillidea-refine
Refine ideas through structured divergent and convergent thinking. Use "idea-refine" or "ideate" to trigger.
Also in 45 projects that use this
LLl0k0laDSkillgit-workflow-and-versioning
Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams.
Also in 48 projects that use this
jaydubya818Skillobservability-and-instrumentation
Add or review logs, metrics, traces, and actionable alerts.
Also in 36 projects that use this
- +1 more from LLl0k0laD
Other versions156 projects use a version of this.
Word for word · 0
None found.
Edited · 38
- sanity-io/sanity★ 6.4k18% same
- shashankswe2020-ux/whoop-mcp★ 18118% same
- sampleXbro/agentsmesh★ 3118% same
- ishandutta2007/Awesome-Agent-Skills★ 2118% same
- aboylabs/ai-agent-skills★ 1518% same
- lza6/claw-code-tingfeng★ 522% same
- aakash1552005/universal-agent-skills★ 412% same
- PenceZHR/stagepass★ 418% same
- LLl0k0laD/agent-skills★ 324% same
- SrejonKhan/agent-skills★ 322% same
28 more not listed
Wrote their own version · 118
- addyosmani/agent-skills★ 121ksame name
- gamedev-skills/awesome-gamedev-agent-skills★ 9ksame name
- compozy/compozy★ 2.9ksame name
- ollaya-dev/ollaya★ 1.5ksame name
- buddy-compiler/buddy-mlir★ 778same name
- ThibautBaissac/rails_ai_agents★ 665same name
- albumentations-team/AlbumentationsX★ 601same name
- derHaken/SuperAntigravity★ 439same name
- ukanwat/aaabench★ 399same name
- ukanwat/overtime★ 399same name
108 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository68 other files it gives its agents.
- skills/web-development/adapters/copilot-instructions.mdCopilot instructions
- accessibility-auditSkill
- agent-handoffSkill
- ai-tool-securitySkill
- api-designSkill
- audit-loggingSkill
- background-jobsSkill
- bulk-reporting-exportSkill
- changelog-generatorSkill
- ci-cdSkill
- codebase-onboardingSkill
- code-reviewSkill
- code-simplificationSkill
- context-engineeringSkill
- context-privacySkill
- data-import-exportSkill
- debuggingSkill
- dependency-auditSkill
- deprecation-and-migrationSkill
- design-tokensSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- environmental-telemetrySkill
- erp-accountingSkill
- erp-domain-designSkill
- erp-inventorySkill
- erp-procurementSkill
- erp-salesSkill
- feature-flagsSkill
- forms-and-validationSkill
- frontend-stateSkill
- frontend-ui-engineeringSkill
- git-workflowSkill
- identity-access-managementSkill
- incremental-implementationSkill
- java-code-standardsSkill
- java-deliverySkill
- kerangkaSkill
- mcp-builderSkill
- membership-managementSkill
- observabilitySkill
- planning-and-task-breakdownSkill
- product-analyticsSkill
- quarkus-observabilitySkill
- quarkus-persistenceSkill
- quarkus-securitySkill
- quarkus-serviceSkill
- quarkus-testingSkill
- responsive-layoutSkill
- rest-api-contractSkill
- saas-billingSkill
- saas-multitenancySkill
- saas-onboardingSkill
- security-hardeningSkill
- shipping-and-launchSkill
- skill-creatorSkill
- skill-evaluationSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 138 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Do not optimize before you have evidence of a problem.
- Very specific: line 41
Use both synthetic (Lighthouse, DevTools) and RUM (web-vitals, CrUX).
- Very specific: line 43
Do not apply React.memo / useMemo everywhere — overusing is as bad as underusing.
- Distinctive: line 51
No performance monitoring in production
- Distinctive: line 56
After any performance-related change:
“Common” is measured: kept by at least 6 in 10 of the 138 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
Do not optimize before you have evidence of a problem. For page-load audits use web-perf. For production telemetry design use observability.
Process
1. MEASURE → Establish baseline with real data
2. IDENTIFY → Find the actual bottleneck (not assumed)
3. FIX → Address the specific bottleneck
4. VERIFY → Measure again, confirm improvement
5. GUARD → Add monitoring or tests to prevent regression| Metric | Good | Needs Improvement | Poor |
| LCP (Largest Contentful Paint) | ≤ 2.5s | ≤ 4.0s | > 4.0s |
| INP (Interaction to Next Paint) | ≤ 200ms | ≤ 500ms | > 500ms |
| CLS (Cumulative Layout Shift) | ≤ 0.1 | ≤ 0.25 | > 0.25 |
Use both synthetic (Lighthouse, DevTools) and RUM (web-vitals, CrUX). Symptom trees, bottleneck tables, anti-pattern fixes, and budgets: references/measure-and-fix.md.
Do not apply React.memo / useMemo everywhere — overusing is as bad as underusing.
Red flags
- Optimization without profiling data to justify it
- N+1 query patterns in data fetching
- List endpoints without pagination
- Images without dimensions, lazy loading, or responsive sizes
- Bundle size growing without review
- No performance monitoring in production
React.memoanduseMemoeverywhere (overusing is as bad as underusing)
Verification
After any performance-related change:
- Before and after measurements exist (specific numbers)
- The specific bottleneck is identified and addressed
- Core Web Vitals are within "Good" thresholds
- Bundle size hasn't increased significantly
- No N+1 queries in new data fetching code
- Performance budget passes in CI (if configured)
- Existing tests still pass (optimization didn't break behavior)
References
references/measure-and-fix.md— measurement, bottleneck map, anti-pattern fixes, budgets
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

