code-performance-fix
Skill6 starsChanged 3 months agoMITView on GitHub
Measure and improve performance (web vitals, benchmarks, data access) using representative workloads and raw-sample evidence. Use for slow pages, benchmark comparisons or index proposals. RU: производительность, оптимизация скорости, бенчмарк.
In this repository65 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/agent-hook-verify/references/claude.mdCLAUDE.md
- agent-command-runSkill
- agent-context-auditSkill
- agent-hook-verifySkill
- agent-integration-auditSkill
- agent-model-findSkill
- agent-project-syncSkill
- agent-skill-findSkill
- agent-skill-syncSkill
- agent-terms-defineSkill
- agent-workspace-migrateSkill
- api-contract-defineSkill
- api-docs-syncSkill
- api-stream-diagnoseSkill
- api-yandex-oauth-runSkill
- code-async-reviewSkill
- code-cli-buildSkill
- code-config-auditSkill
- code-durable-reviewSkill
- code-state-verifySkill
- deploy-artifact-publishSkill
- deploy-rollout-runSkill
- design-brand-buildSkill
- docs-claims-verifySkill
- docs-diagram-buildSkill
- docs-prose-fixSkill
- git-branch-cleanSkill
- git-merge-syncSkill
- git-path-runSkill
- git-repo-runSkill
- git-worktree-guardSkill
- infra-container-setupSkill
- infra-network-diagnoseSkill
- infra-project-migrateSkill
- infra-runbook-buildSkill
- kanban-board-auditSkill
- kanban-card-buildSkill
- kanban-card-planSkill
- kanban-card-reviewSkill
- kanban-card-runSkill
- kanban-card-verifySkill
- kanban-epic-coordinateSkill
- kanban-queue-coordinateSkill
- kanban-roadmap-planSkill
- kanban-schedule-runSkill
- monitor-telemetry-setupSkill
- personal-action-planSkill
- quality-artifact-verifySkill
- quality-change-reviewSkill
- quality-change-verifySkill
- research-prior-art-findSkill
- research-source-auditSkill
- research-source-findSkill
- research-spike-runSkill
- security-access-diagnoseSkill
- security-api-hardenSkill
- security-boundary-hardenSkill
- security-boundary-reviewSkill
- security-filesystem-hardenSkill
- The first 60 shown.
The file
Files
Performance optimization and benchmarks
Establish the user-visible goal, baseline, affected paths, workload and constraints before choosing an optimization. Use representative field data when available and controlled synthetic measurements for reproducible diagnosis; report missing samples and measurement limits rather than treating proxy metrics as proof of user experience.
For web experiences evaluate the relevant current Core Web Vitals (LCP, INP, CLS), network and server latency, payloads and runtime work; confirm current definitions and thresholds from the authoritative tool documentation. Measure the actual bottleneck before choosing rendering, caching, code-splitting, asset, database or infrastructure changes; server rendering, preloading, a CSS naming convention or a service worker is not a universal win. Preserve correctness, accessibility, security and behavior; when caching or data partitioning changes, verify freshness, invalidation and authorization boundaries.
Benchmarks that inform a decision
Define the question, units, conditions, acceptance criteria, sampling plan, execution budget and permitted resource effects before running, and verify the trials compare the intended builds, workloads, inputs, configuration and constraints. A benchmark runner's availability does not authorize production tests, service changes or broad cleanup. Retain raw per-trial observations and command outcomes; verify schema, units, valid sample counts, failures and substitutions; recompute aggregates from raw values with a stated rounding policy; distinguish mean from worst observed value; instrument readiness, latency or shutdown directly, because one favorable metric cannot establish an unrelated criterion. Compare the same workload and environment before and after, and report method, sample size, provenance, conditions, results, limitations and unmeasured criteria, keeping measurements separate from interpretation. Preserve failures from noisy or incomplete runs instead of treating an exit-zero wrapper or a subset as acceptance. Deploy, change infrastructure, run expensive load tests or clean up only within the authorized scope.
For data-access changes or index proposals use data-access performance.
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.

