Performance profiling and optimization skill. Audits Core Web Vitals (LCP, CLS, INP), N+1 queries, bundle budgets, and memory leaks.
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 Profiling & Optimization (`/performance`)
> **Philosophy**: *Measure with evidence, not intuition. Eliminate N+1 query cascades, bound memory allocations, and enforce strict Core Web Vitals budgets. If it is not measured, it will degrade.*
This skill establishes performance optimization standards across frontend client bundles, Core Web Vitals, API latency budgets, memory leaks, and database query executions.
---
## 1. Quick Navigation & Progressive Disclosure
| Resource Type | Document | Description |
| :--- | :--- | :--- |
| **Reference** | [references/core-web-vitals-audit.md](references/core-web-vitals-audit.md) | LCP, INP, and CLS metric targets, hero image preloading, layout shift prevention. |
| **Reference** | [references/memory-leak-profiling.md](references/memory-leak-profiling.md) | Front-end leak sources, detached DOM nodes, Chrome DevTools heap profiling. |
| **Utility** | [scripts/audit_performance_budgets.py](scripts/audit_performance_budgets.py) | Audits bundle sizes, unoptimized images, inline fetch waterfalls, and N+1 query loops. |
---
## 2. Performance Guardrails & Budgets
```mermaid
flowchart TD
…
The line at the top of this page pins the label git:20261029.1aa6bef, 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_6idxbiixjcozg7cz
GET https://markdownregistry.com/api/v1/resolve?ref=darknecrocities/skillbuilder/.cursor/rules/performance.mdc
GET https://markdownregistry.com/api/v1/blob/a93d138c654f496222b67d9d5b8d64b665c0226d89b4c5fd58cf1e2b655a9fc1
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.
darknecrocities/skillbuilder · .cursor/rules/ai.mdc · Architect, implement, and maintain production AI systems, Gemini API agents, Antigravity multi-agent orchestration…
ericrisco/rsc-harness · skills/performance/SKILL.md · Use when a page or interaction is slow for one user and the fix starts from a measurement — a failing Core Web Vital…
tomcounsell/ai · skills/valor/bama/skills/code/performance/SKILL.md · Make a macOS app fast by measuring hangs, stutter, CPU, memory, and energy, then moving work off the main thread and…