Performance
Comprehensive performance optimization patterns for frontend, backend, and LLM inference.
Quick Reference
| Category |
Rules |
Impact |
When to Use |
| Core Web Vitals |
4 |
CRITICAL |
LCP, INP, CLS optimization with 2026 thresholds |
| Render Optimization |
3 |
HIGH |
React Compiler, memoization, virtualization |
| Lazy Loading |
3 |
HIGH |
Code splitting, route splitting, preloading |
| Image Optimization |
2 |
HIGH |
AVIF/WebP formats, responsive images |
| Profiling & Backend |
3 |
MEDIUM |
React DevTools, py-spy, bundle analysis |
| LLM Inference |
3 |
MEDIUM |
vLLM, quantization, speculative decoding |
| Caching |
2 |
HIGH |
Redis cache-aside, prompt caching, HTTP cache headers |
| Query & Data Fetching |
2 |
HIGH |
TanStack Query prefetching, optimistic updates, rollback |
| Sustainability |
1 |
MEDIUM |
Page weight budgets, lazy loading, optimized formats, dark mode |
Total: 23 rules across 9 categories
Core Web Vitals
Google's Core Web Vitals with 2026 stricter thresholds.
| Rule |
File |
Key Pattern |
| LCP Optimization |
rules/cwv-lcp.md |
Preload hero, SSR, fetchpriority="high" |
| INP Optimization |
rules/cwv-inp.md |
scheduler.yield, useTransition, requestIdleCallback |
| INP Advanced |
rules/cwv-inp-advanced.md |
Layout thrashing, third-party scripts, rAF patterns |
| CLS Prevention |
rules/cwv-cls.md |
Explicit dimensions, aspect-ratio, font-display |
2026 Thresholds
| Metric |
Current Good |
2026 Good |
| LCP |
<= 2.5s |
<= 2.0s |
| INP |
<= 200ms |
<= 150ms |
| CLS |
<= 0.1 |
<= 0.08 |
Render Optimization
React render performance patterns for React 19+.
| Rule |
File |
Key Pattern |
| React Compiler |
rules/render-compiler.md |
Auto-memoization, "Memo" badge verification |
| Manual Memoization |
rules/render-memo.md |
useMemo/useCallback escape hatches, state colocation |
| Virtualization |
rules/render-virtual.md |
TanStack Virtual for 100+ item lists |
Lazy Loading
Code splitting and lazy loading with React.lazy and Suspense.
| Rule |
File |
Key Pattern |
| React.lazy + Suspense |
rules/loading-lazy.md |
Component lazy loading, error boundaries |
| Route Splitting |
rules/loading-splitting.md |
React Router 7.x, Vite manual chunks |
| Preloading |
rules/loading-preload.md |
Prefetch on hover, modulepreload hints |
Image Optimization
Production image optimization for modern web applications.
| Rule |
File |
Key Pattern |
| Format Selection |
rules/images-formats.md |
AVIF/WebP, quality 75-85, picture element |
| Responsive Images |
rules/images-responsive.md |
sizes prop, art direction, CDN loaders |
Next.js Image component usage and the v16 image config defaults are first-party territory; see "Upstream coverage (do not restate)" below.
Profiling & Backend
Profiling tools and backend optimization patterns.
| Rule |
File |
Key Pattern |
| React Profiling |
rules/profiling-react.md |
DevTools Profiler, flamegraph, render counts |
| Backend Profiling |
rules/profiling-backend.md |
py-spy, cProfile, memory_profiler, flame graphs |
| Bundle Analysis |
rules/profiling-bundle.md |
vite-bundle-visualizer, tree shaking, performance budgets |
LLM Inference
High-performance LLM inference with vLLM, quantization, and speculative decoding.
| Rule |
File |
Key Pattern |
| vLLM Deployment |
rules/inference-vllm.md |
PagedAttention, continuous batching, tensor parallelism |
| Quantization |
rules/inference-quantization.md |
AWQ, GPTQ, FP8, INT8 method selection |
| Speculative Decoding |
rules/inference-speculative.md |
N-gram, draft model, 1.5-2.5x throughput |
Caching
Backend Redis caching and LLM prompt caching for cost savings and performance.
| Rule |
File |
Key Pattern |
| Redis & Backend |
rules/caching-redis.md |
Cache-aside, write-through, invalidation, stampede prevention |
| HTTP & Prompt |
rules/caching-http.md |
HTTP cache headers, LLM prompt caching, semantic caching |
Query & Data Fetching
TanStack Query v5 patterns for prefetching and optimistic updates.
| Rule |
File |
Key Pattern |
| Prefetching |
rules/query-prefetching.md |
Hover prefetch, route loaders, queryOptions, Suspense |
| Optimistic Updates |
rules/query-optimistic.md |
Optimistic mutations, rollback, cache invalidation |
Sustainability
Digital sustainability patterns for reducing carbon footprint and energy usage.
| Rule |
File |
Key Pattern |
| Sustainability UX |
rules/sustainability-ux.md |
Page weight budgets, AVIF/WebP, lazy loading, dark mode |
Local Profiling Target
When profiling a local app (Lighthouse, Core Web Vitals, bundle analysis), use Portless named URLs for stable, self-documenting targets:
# Discover services
portless list
# app → app.localhost (port 3000)
# Profile with agent-browser (preferred for visual metrics)
agent-browser open "https://app.localhost"
agent-browser profiler start
agent-browser wait --load networkidle
agent-browser profiler stop /tmp/profile.json
# Lighthouse via agent-browser
agent-browser open "https://app.localhost"
agent-browser screenshot /tmp/perf-baseline.png
# Or direct Lighthouse CLI
npx lighthouse https://app.localhost --output=json --output-path=/tmp/lighthouse.json
Named URLs are stable across restarts and self-documenting in performance reports. Install Portless with npm i -g portless.
Quick Start Example
// LCP: Priority hero image with SSR
import Image from 'next/image';
export default async function Page() {
const data = await fetchHeroData();
return (
<Image
src={data.heroImage}
alt="Hero"
priority
placeholder="blur"
sizes="100vw"
fill
/>
);
}
Key Decisions
| Decision |
Recommendation |
| Memoization |
Let React Compiler handle it (2026 default) |
| Lists 100+ items |
Use TanStack Virtual |
| Image format |
AVIF with WebP fallback (30-50% smaller) |
| LCP content |
SSR/SSG, never client-side fetch |
| Code splitting |
Per-route for most apps, per-component for heavy widgets |
| Prefetch strategy |
On hover for nav links, viewport for content |
| Quantization |
AWQ for 4-bit, FP8 for H100/H200 |
| Bundle budget |
Hard fail in CI to prevent regression |
Common Mistakes
- Client-side fetching LCP content (delays render)
- Images without explicit dimensions (causes CLS)
- Lazy loading LCP images (delays largest paint)
- Heavy computation in event handlers (blocks INP)
- Layout-shifting animations (use transform instead)
- Lazy loading tiny components < 5KB (overhead > savings)
- Missing error boundaries on lazy components
- Using GPTQ without calibration data
- Not benchmarking actual workload patterns
- Only measuring in lab environment (need RUM)
Related Skills
ork:react-server-components-framework - Server-first rendering
ork-extras:vite-advanced - Build optimization
browser-tools - Visual profiling with agent-browser + Portless
caching - Cache strategies for responses
ork-extras:monitoring-observability - Production monitoring and alerting
ork:database-patterns - Query and index optimization
ork-extras:llm-integration - Local inference with Ollama
Capability Details
lcp-optimization
Keywords: LCP, largest-contentful-paint, hero, preload, priority, SSR
Solves:
- Optimize hero image loading
- Server-render critical content
- Preload and prioritize LCP resources
inp-optimization
Keywords: INP, interaction, responsiveness, long-task, transition, yield
Solves:
- Break up long tasks with scheduler.yield
- Defer non-urgent updates with useTransition
- Optimize event handler performance
cls-prevention
Keywords: CLS, layout-shift, dimensions, aspect-ratio, font-display
Solves:
- Reserve space for dynamic content
- Prevent font flash and image pop-in
- Use transform for animations
react-compiler
Keywords: react-compiler, auto-memo, memoization, React 19
Solves:
- Enable automatic memoization
- Identify when manual memoization needed
- Verify compiler is working
virtualization
Keywords: virtual, TanStack, large-list, scroll, overscan
Solves:
- Render 100+ item lists efficiently
- Dynamic height virtualization
- Window scrolling patterns
lazy-loading
Keywords: React.lazy, Suspense, code-splitting, dynamic-import
Solves:
- Route-based code splitting
- Component lazy loading with error boundaries
- Prefetch on hover and viewport
image-optimization
Keywords: next/image, AVIF, WebP, responsive, blur-placeholder
Solves:
- Next.js Image component patterns
- Format selection and quality settings
- Responsive sizing and CDN configuration
profiling
Keywords: profiler, flame-graph, py-spy, DevTools, bundle-analyzer
Solves:
- Profile React renders and backend code
- Generate and interpret flame graphs
- Analyze and optimize bundle size
inp-advanced
Keywords: INP, scheduler-yield, layout-thrashing, third-party-scripts, requestAnimationFrame
Solves:
- Break long tasks with scheduler.yield()
- Audit and defer blocking third-party scripts
- Avoid synchronous layout thrashing in event handlers
- Optimize form submissions, dropdowns, accordions, filters
sustainability
Keywords: sustainability, carbon-footprint, page-weight, green-ux, dark-mode, lazy-loading
Solves:
- Enforce page weight budgets (< 1MB)
- Eliminate auto-playing videos and heavy decorative animations
- Serve optimized image formats (AVIF/WebP)
- Implement cursor-based pagination to prevent over-fetching
llm-inference
Keywords: vllm, quantization, speculative-decoding, inference, throughput
Solves:
- Deploy LLMs with vLLM for production
- Choose quantization method for hardware
- Accelerate generation with speculative decoding
Upstream coverage (do not restate)
These topics used to be restated in this skill's references, checklists, and examples. They are owned by first-party sources now; consult those instead of re-adding tutorials here. The ork-specific floors and scars that survived the cut live in references/ork-delta.md.
| Topic |
First-party source |
| Core Web Vitals mechanics, audit checklists, before/after examples |
skill: web-perf / cloudflare:web-perf (Chrome DevTools MCP); https://web.dev/vitals/ |
| Real User Monitoring with the web-vitals library |
skill: web-perf; https://github.com/GoogleChrome/web-vitals |
| Next.js Image component, v16 image config defaults, image CDN loaders |
skills: vercel:nextjs + vercel:next-upgrade; https://nextjs.org/docs/app/api-reference/components/image |
| Image format selection and optimization checklists |
skill: vercel:nextjs; https://web.dev/learn/images |
| React Compiler migration, memoization escape hatches, state colocation |
skill: vercel-react-best-practices; https://react.dev/learn/react-compiler |
| React DevTools Profiler workflow, render audits |
skill: vercel-react-best-practices; https://react.dev/reference/react/Profiler |
| TanStack Virtual list/grid virtualization patterns |
https://tanstack.com/virtual/latest/docs/introduction |
| Route-based code splitting (React Router, Vite manual chunks) |
https://reactrouter.com/ and https://vite.dev/guide/build |
| Generic profiling workflows (Lighthouse, py-spy, bundle analyzers) |
skill: web-perf; https://github.com/benfred/py-spy |
| Redis and HTTP caching strategy patterns |
skill: upstash-redis-js; https://redis.io/docs/latest/ |
| vLLM deployment, quantization, speculative decoding, edge inference |
https://docs.vllm.ai/ |
| Full-stack performance audit walkthrough |
https://developer.chrome.com/docs/lighthouse/; ork delta in references/ork-delta.md + examples/orchestkit-performance-wins.md |
References
Load on demand with Read("references/<file>"):
| File |
Content |
ork-delta.md |
OrchestKit floors, scars, and house decisions for this skill |
cc-prompt-cache-guide.md |
CC 2.1.72 prompt cache optimization, stable-first prompt structure |
database-optimization.md |
Postgres indexing and N+1 fixes backing the recorded audit wins |
Real production before/after evidence (cache hierarchy, cost math): examples/orchestkit-performance-wins.md.
1---2name: performance3license: MIT4compatibility: "Claude Code 2.1.277+."5description: "Performance patterns: Core Web Vitals, React renders, lazy loading, images, backend profiling, LLM inference. Use when improving page speed, slow renders, bundle size or backend latency."6user-invocable: false7disable-model-invocation: false8effort: high9metadata:10 source: https://skillmd.com/skills/yonatangross/performance11 owner-agent: "frontend-performance-engineer"12 category: document-asset-creation13 version: "2.1.0"14 author: "OrchestKit"15 complexity: "high"16 tags: "performance, core-web-vitals, lcp, inp, cls, react-compiler, virtualization, lazy-loading, code-splitting, image-optimization, avif, profiling, vllm, quantization, inference, caching, redis, prompt-caching, tanstack-query, prefetching, optimistic-updates, sustainability, carbon-footprint, page-weight"17allowed-tools: "Read Glob Grep WebFetch WebSearch"18---1920# Performance2122Comprehensive performance optimization patterns for frontend, backend, and LLM inference.2324## Quick Reference2526| Category | Rules | Impact | When to Use |27|----------|-------|--------|-------------|28| [Core Web Vitals](#core-web-vitals) | 4 | CRITICAL | LCP, INP, CLS optimization with 2026 thresholds |29| [Render Optimization](#render-optimization) | 3 | HIGH | React Compiler, memoization, virtualization |30| [Lazy Loading](#lazy-loading) | 3 | HIGH | Code splitting, route splitting, preloading |31| [Image Optimization](#image-optimization) | 2 | HIGH | AVIF/WebP formats, responsive images |32| [Profiling & Backend](#profiling--backend) | 3 | MEDIUM | React DevTools, py-spy, bundle analysis |33| [LLM Inference](#llm-inference) | 3 | MEDIUM | vLLM, quantization, speculative decoding |34| [Caching](#caching) | 2 | HIGH | Redis cache-aside, prompt caching, HTTP cache headers |35| [Query & Data Fetching](#query--data-fetching) | 2 | HIGH | TanStack Query prefetching, optimistic updates, rollback |36| [Sustainability](#sustainability) | 1 | MEDIUM | Page weight budgets, lazy loading, optimized formats, dark mode |3738**Total: 23 rules across 9 categories**3940## Core Web Vitals4142Google's Core Web Vitals with 2026 stricter thresholds.4344| Rule | File | Key Pattern |45|------|------|-------------|46| LCP Optimization | `rules/cwv-lcp.md` | Preload hero, SSR, fetchpriority="high" |47| INP Optimization | `rules/cwv-inp.md` | scheduler.yield, useTransition, requestIdleCallback |48| INP Advanced | `rules/cwv-inp-advanced.md` | Layout thrashing, third-party scripts, rAF patterns |49| CLS Prevention | `rules/cwv-cls.md` | Explicit dimensions, aspect-ratio, font-display |5051### 2026 Thresholds5253| Metric | Current Good | 2026 Good |54|--------|--------------|-----------|55| LCP | <= 2.5s | <= 2.0s |56| INP | <= 200ms | <= 150ms |57| CLS | <= 0.1 | <= 0.08 |5859## Render Optimization6061React render performance patterns for React 19+.6263| Rule | File | Key Pattern |64|------|------|-------------|65| React Compiler | `rules/render-compiler.md` | Auto-memoization, "Memo" badge verification |66| Manual Memoization | `rules/render-memo.md` | useMemo/useCallback escape hatches, state colocation |67| Virtualization | `rules/render-virtual.md` | TanStack Virtual for 100+ item lists |6869## Lazy Loading7071Code splitting and lazy loading with React.lazy and Suspense.7273| Rule | File | Key Pattern |74|------|------|-------------|75| React.lazy + Suspense | `rules/loading-lazy.md` | Component lazy loading, error boundaries |76| Route Splitting | `rules/loading-splitting.md` | React Router 7.x, Vite manual chunks |77| Preloading | `rules/loading-preload.md` | Prefetch on hover, modulepreload hints |7879## Image Optimization8081Production image optimization for modern web applications.8283| Rule | File | Key Pattern |84|------|------|-------------|85| Format Selection | `rules/images-formats.md` | AVIF/WebP, quality 75-85, picture element |86| Responsive Images | `rules/images-responsive.md` | sizes prop, art direction, CDN loaders |8788Next.js `Image` component usage and the v16 image config defaults are first-party territory; see "Upstream coverage (do not restate)" below.8990## Profiling & Backend9192Profiling tools and backend optimization patterns.9394| Rule | File | Key Pattern |95|------|------|-------------|96| React Profiling | `rules/profiling-react.md` | DevTools Profiler, flamegraph, render counts |97| Backend Profiling | `rules/profiling-backend.md` | py-spy, cProfile, memory_profiler, flame graphs |98| Bundle Analysis | `rules/profiling-bundle.md` | vite-bundle-visualizer, tree shaking, performance budgets |99100## LLM Inference101102High-performance LLM inference with vLLM, quantization, and speculative decoding.103104| Rule | File | Key Pattern |105|------|------|-------------|106| vLLM Deployment | `rules/inference-vllm.md` | PagedAttention, continuous batching, tensor parallelism |107| Quantization | `rules/inference-quantization.md` | AWQ, GPTQ, FP8, INT8 method selection |108| Speculative Decoding | `rules/inference-speculative.md` | N-gram, draft model, 1.5-2.5x throughput |109110## Caching111112Backend Redis caching and LLM prompt caching for cost savings and performance.113114| Rule | File | Key Pattern |115|------|------|-------------|116| Redis & Backend | `rules/caching-redis.md` | Cache-aside, write-through, invalidation, stampede prevention |117| HTTP & Prompt | `rules/caching-http.md` | HTTP cache headers, LLM prompt caching, semantic caching |118119## Query & Data Fetching120121TanStack Query v5 patterns for prefetching and optimistic updates.122123| Rule | File | Key Pattern |124|------|------|-------------|125| Prefetching | `rules/query-prefetching.md` | Hover prefetch, route loaders, queryOptions, Suspense |126| Optimistic Updates | `rules/query-optimistic.md` | Optimistic mutations, rollback, cache invalidation |127128## Sustainability129130Digital sustainability patterns for reducing carbon footprint and energy usage.131132| Rule | File | Key Pattern |133|------|------|-------------|134| Sustainability UX | `rules/sustainability-ux.md` | Page weight budgets, AVIF/WebP, lazy loading, dark mode |135136## Local Profiling Target137138When profiling a local app (Lighthouse, Core Web Vitals, bundle analysis), use Portless named URLs for stable, self-documenting targets:139140```bash141# Discover services142portless list143# app → app.localhost (port 3000)144145# Profile with agent-browser (preferred for visual metrics)146agent-browser open "https://app.localhost"147agent-browser profiler start148agent-browser wait --load networkidle149agent-browser profiler stop /tmp/profile.json150151# Lighthouse via agent-browser152agent-browser open "https://app.localhost"153agent-browser screenshot /tmp/perf-baseline.png154155# Or direct Lighthouse CLI156npx lighthouse https://app.localhost --output=json --output-path=/tmp/lighthouse.json157```158159Named URLs are stable across restarts and self-documenting in performance reports. Install Portless with `npm i -g portless`.160161## Quick Start Example162163```tsx164// LCP: Priority hero image with SSR165import Image from 'next/image';166167export default async function Page() {168 const data = await fetchHeroData();169 return (170 <Image171 src={data.heroImage}172 alt="Hero"173 priority174 placeholder="blur"175 sizes="100vw"176 fill177 />178 );179}180```181182## Key Decisions183184| Decision | Recommendation |185|----------|----------------|186| Memoization | Let React Compiler handle it (2026 default) |187| Lists 100+ items | Use TanStack Virtual |188| Image format | AVIF with WebP fallback (30-50% smaller) |189| LCP content | SSR/SSG, never client-side fetch |190| Code splitting | Per-route for most apps, per-component for heavy widgets |191| Prefetch strategy | On hover for nav links, viewport for content |192| Quantization | AWQ for 4-bit, FP8 for H100/H200 |193| Bundle budget | Hard fail in CI to prevent regression |194195## Common Mistakes1961971. Client-side fetching LCP content (delays render)1982. Images without explicit dimensions (causes CLS)1993. Lazy loading LCP images (delays largest paint)2004. Heavy computation in event handlers (blocks INP)2015. Layout-shifting animations (use transform instead)2026. Lazy loading tiny components < 5KB (overhead > savings)2037. Missing error boundaries on lazy components2048. Using GPTQ without calibration data2059. Not benchmarking actual workload patterns20610. Only measuring in lab environment (need RUM)207208## Related Skills209210- `ork:react-server-components-framework` - Server-first rendering211- `ork-extras:vite-advanced` - Build optimization212- `browser-tools` - Visual profiling with agent-browser + Portless213- `caching` - Cache strategies for responses214- `ork-extras:monitoring-observability` - Production monitoring and alerting215- `ork:database-patterns` - Query and index optimization216- `ork-extras:llm-integration` - Local inference with Ollama217218## Capability Details219220### lcp-optimization221**Keywords:** LCP, largest-contentful-paint, hero, preload, priority, SSR222**Solves:**223- Optimize hero image loading224- Server-render critical content225- Preload and prioritize LCP resources226227### inp-optimization228**Keywords:** INP, interaction, responsiveness, long-task, transition, yield229**Solves:**230- Break up long tasks with scheduler.yield231- Defer non-urgent updates with useTransition232- Optimize event handler performance233234### cls-prevention235**Keywords:** CLS, layout-shift, dimensions, aspect-ratio, font-display236**Solves:**237- Reserve space for dynamic content238- Prevent font flash and image pop-in239- Use transform for animations240241### react-compiler242**Keywords:** react-compiler, auto-memo, memoization, React 19243**Solves:**244- Enable automatic memoization245- Identify when manual memoization needed246- Verify compiler is working247248### virtualization249**Keywords:** virtual, TanStack, large-list, scroll, overscan250**Solves:**251- Render 100+ item lists efficiently252- Dynamic height virtualization253- Window scrolling patterns254255### lazy-loading256**Keywords:** React.lazy, Suspense, code-splitting, dynamic-import257**Solves:**258- Route-based code splitting259- Component lazy loading with error boundaries260- Prefetch on hover and viewport261262### image-optimization263**Keywords:** next/image, AVIF, WebP, responsive, blur-placeholder264**Solves:**265- Next.js Image component patterns266- Format selection and quality settings267- Responsive sizing and CDN configuration268269### profiling270**Keywords:** profiler, flame-graph, py-spy, DevTools, bundle-analyzer271**Solves:**272- Profile React renders and backend code273- Generate and interpret flame graphs274- Analyze and optimize bundle size275276### inp-advanced277**Keywords:** INP, scheduler-yield, layout-thrashing, third-party-scripts, requestAnimationFrame278**Solves:**279- Break long tasks with scheduler.yield()280- Audit and defer blocking third-party scripts281- Avoid synchronous layout thrashing in event handlers282- Optimize form submissions, dropdowns, accordions, filters283284### sustainability285**Keywords:** sustainability, carbon-footprint, page-weight, green-ux, dark-mode, lazy-loading286**Solves:**287- Enforce page weight budgets (< 1MB)288- Eliminate auto-playing videos and heavy decorative animations289- Serve optimized image formats (AVIF/WebP)290- Implement cursor-based pagination to prevent over-fetching291292### llm-inference293**Keywords:** vllm, quantization, speculative-decoding, inference, throughput294**Solves:**295- Deploy LLMs with vLLM for production296- Choose quantization method for hardware297- Accelerate generation with speculative decoding298299## Upstream coverage (do not restate)300301These topics used to be restated in this skill's references, checklists, and examples. They are owned by first-party sources now; consult those instead of re-adding tutorials here. The ork-specific floors and scars that survived the cut live in `references/ork-delta.md`.302303| Topic | First-party source |304|-------|--------------------|305| Core Web Vitals mechanics, audit checklists, before/after examples | skill: web-perf / cloudflare:web-perf (Chrome DevTools MCP); https://web.dev/vitals/ |306| Real User Monitoring with the web-vitals library | skill: web-perf; https://github.com/GoogleChrome/web-vitals |307| Next.js Image component, v16 image config defaults, image CDN loaders | skills: vercel:nextjs + vercel:next-upgrade; https://nextjs.org/docs/app/api-reference/components/image |308| Image format selection and optimization checklists | skill: vercel:nextjs; https://web.dev/learn/images |309| React Compiler migration, memoization escape hatches, state colocation | skill: vercel-react-best-practices; https://react.dev/learn/react-compiler |310| React DevTools Profiler workflow, render audits | skill: vercel-react-best-practices; https://react.dev/reference/react/Profiler |311| TanStack Virtual list/grid virtualization patterns | https://tanstack.com/virtual/latest/docs/introduction |312| Route-based code splitting (React Router, Vite manual chunks) | https://reactrouter.com/ and https://vite.dev/guide/build |313| Generic profiling workflows (Lighthouse, py-spy, bundle analyzers) | skill: web-perf; https://github.com/benfred/py-spy |314| Redis and HTTP caching strategy patterns | skill: upstash-redis-js; https://redis.io/docs/latest/ |315| vLLM deployment, quantization, speculative decoding, edge inference | https://docs.vllm.ai/ |316| Full-stack performance audit walkthrough | https://developer.chrome.com/docs/lighthouse/; ork delta in `references/ork-delta.md` + `examples/orchestkit-performance-wins.md` |317318## References319320Load on demand with `Read("references/<file>")`:321| File | Content |322|------|---------|323| `ork-delta.md` | OrchestKit floors, scars, and house decisions for this skill |324| `cc-prompt-cache-guide.md` | CC 2.1.72 prompt cache optimization, stable-first prompt structure |325| `database-optimization.md` | Postgres indexing and N+1 fixes backing the recorded audit wins |326327Real production before/after evidence (cache hierarchy, cost math): `examples/orchestkit-performance-wins.md`.