[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M756203HH0C001ENAEVRP13A":3,"skill-same:01M756203HH0C001ENAEVRP13A":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M756203HH0C001ENAEVRP13A","high-perf-browser",null,"Optimize web performance through network protocols, resource loading, and browser rendering internals. Use when the user mentions \"page load speed\", \"Core Web Vitals\", \"HTTP\u002F2\", \"resource hints\", \"network latency\", \"render blocking\", \"TCP optimization\", \"service worker\", or \"critical rendering path\". Also trigger when diagnosing slow page loads, optimizing time to first byte, choosing between WebSocket and SSE, or reducing bundle sizes. Covers TCP\u002FTLS optimization, caching strategies, WebSocket\u002FSSE, and protocol selection. For UI visual performance, see refactoring-ui. For font loading, see web-typography.","ASoudy\u002FAGS","ASoudy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F40639702?v=4","01M74G5NTCW8MWDNRTAF303PA1","01M74G5NTZXSE6T0GZR5BCB6V0",0,"MIT","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: high-perf-browser\ndescription: 'Optimize web performance through network protocols, resource loading, and browser rendering internals. Use when the user mentions \"page load speed\", \"Core Web Vitals\", \"HTTP\u002F2\", \"resource hints\", \"network latency\", \"render blocking\", \"TCP optimization\", \"service worker\", or \"critical rendering path\". Also trigger when diagnosing slow page loads, optimizing time to first byte, choosing between WebSocket and SSE, or reducing bundle sizes. Covers TCP\u002FTLS optimization, caching strategies, WebSocket\u002FSSE, and protocol selection. For UI visual performance, see refactoring-ui. For font loading, see web-typography.'\nlicense: MIT\nmetadata:\n  author: wondelai\n  version: \"1.1.0\"\n---\n\n# High Performance Browser Networking Framework\n\nA systematic approach to web performance optimization grounded in how browsers, protocols, and networks actually work. Apply these principles when building frontend applications, reviewing performance budgets, configuring servers, or diagnosing slow page loads.\n\n## Core Principle\n\n**Latency, not bandwidth, is the bottleneck.** Most web performance problems stem from too many round trips, not too little throughput. A 5x bandwidth increase yields diminishing returns; a 5x latency reduction transforms the user experience.\n\n**The foundation:** Every network request passes through DNS resolution, TCP handshake, TLS negotiation, and HTTP exchange before a single byte of content arrives. Each step adds round-trip latency. High-performance applications minimize round trips, parallelize requests, and eliminate unnecessary network hops. Understanding the protocol stack is not optional -- it is the prerequisite for meaningful optimization.\n\n## Scoring\n\n**Goal: 10\u002F10.** When reviewing or building web applications, rate performance 0-10 based on adherence to the principles below. A 10\u002F10 means full alignment with all guidelines; lower scores indicate gaps to address. Always provide the current score and specific improvements needed to reach 10\u002F10.\n\n## The High Performance Browser Networking Framework\n\nSix domains for building fast, resilient web applications:\n\n### 1. Network Fundamentals\n\n**Core concept:** Every HTTP request pays a latency tax: DNS lookup, TCP three-way handshake, and TLS negotiation -- all before any application data flows. Reducing or eliminating these round trips is the single highest-leverage optimization.\n\n**Why it works:** Light travels at a finite speed. A packet from New York to London takes ~28ms one way regardless of bandwidth. TCP slow start means new connections begin transmitting slowly. TLS adds 1-2 more round trips. These physics-level constraints cannot be solved with bigger pipes -- only with fewer trips.\n\n**Key insights:**\n- TCP three-way handshake adds one full RTT before data transfer begins\n- TCP slow start limits initial throughput to ~14KB (10 segments) in the first round trip -- keep critical resources under this threshold\n- TLS 1.2 adds 2 RTTs; TLS 1.3 reduces this to 1 RTT (0-RTT with session resumption)\n- Head-of-line blocking in TCP means one lost packet stalls all streams on that connection\n- Bandwidth-delay product determines in-flight data capacity; high-latency links underutilize bandwidth\n- DNS resolution can add 20-120ms; pre-resolve with `dns-prefetch`\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **Connection warmup** | Pre-establish connections to critical origins | `\u003Clink rel=\"preconnect\" href=\"https:\u002F\u002Fcdn.example.com\">` |\n| **DNS prefetch** | Resolve third-party domains early | `\u003Clink rel=\"dns-prefetch\" href=\"https:\u002F\u002Fanalytics.example.com\">` |\n| **TLS optimization** | Enable TLS 1.3 and session resumption | Server config: `ssl_protocols TLSv1.3;` with session tickets |\n| **Initial payload** | Keep critical HTML under 14KB compressed | Inline critical CSS, defer non-essential scripts |\n| **Connection reuse** | Keep-alive connections to avoid repeated handshakes | `Connection: keep-alive` (default in HTTP\u002F1.1+) |\n\nSee: [references\u002Fnetwork-fundamentals.md](references\u002Fnetwork-fundamentals.md) for TCP congestion control, bandwidth-delay product, and TLS handshake details.\n\n### 2. HTTP Protocol Evolution\n\n**Core concept:** HTTP has evolved from a simple request-response protocol to a multiplexed, binary, server-push-capable system. Choosing the right protocol version and configuring it properly eliminates entire categories of performance problems.\n\n**Why it works:** HTTP\u002F1.1 forces browsers into workarounds like domain sharding and sprite sheets because it cannot multiplex requests. HTTP\u002F2 solves multiplexing but inherits TCP head-of-line blocking. HTTP\u002F3 (QUIC) moves to UDP, eliminating head-of-line blocking and enabling connection migration. Each generation removes a bottleneck.\n\n**Key insights:**\n- HTTP\u002F1.1 allows only one outstanding request per TCP connection; browsers open 6 connections per host as a workaround\n- HTTP\u002F2 multiplexes unlimited streams over a single TCP connection, making domain sharding counterproductive\n- HPACK header compression in HTTP\u002F2 reduces repetitive header overhead by 85-95%\n- HTTP\u002F3 runs over QUIC (UDP), eliminating TCP head-of-line blocking and enabling 0-RTT connection resumption\n- Server Push (HTTP\u002F2) sends resources before the browser requests them -- use sparingly and prefer `103 Early Hints` instead\n- Connection coalescing in HTTP\u002F2 lets one connection serve multiple hostnames sharing a certificate\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **HTTP\u002F2 migration** | Remove HTTP\u002F1.1 workarounds | Undo domain sharding, remove sprite sheets, stop concatenating files |\n| **Stream prioritization** | Signal resource importance to the server | CSS and fonts at highest priority; images at lower priority |\n| **103 Early Hints** | Send preload hints before the full response | Server sends `103` with `Link: \u003C\u002Fstyle.css>; rel=preload` |\n| **QUIC\u002FHTTP\u002F3** | Enable HTTP\u002F3 on CDN or origin | Add `Alt-Svc: h3=\":443\"` header to advertise HTTP\u002F3 support |\n| **Header optimization** | Minimize custom headers to reduce overhead | Audit cookies and custom headers; remove unnecessary ones |\n\nSee: [references\u002Fhttp-protocols.md](references\u002Fhttp-protocols.md) for protocol comparison, migration strategies, and server push vs. Early Hints.\n\n### 3. Resource Loading and Critical Rendering Path\n\n**Core concept:** The browser must build the DOM, CSSOM, and render tree before painting pixels. Any resource that blocks this pipeline delays first paint. Optimizing the critical rendering path means identifying and eliminating these bottlenecks.\n\n**Why it works:** CSS is render-blocking: the browser will not paint until all CSS is parsed. JavaScript is parser-blocking by default: `\u003Cscript>` halts DOM construction until the script downloads and executes. Fonts can block text rendering for up to 3 seconds. Each blocking resource adds latency directly to time-to-first-paint.\n\n**Key insights:**\n- Critical rendering path: HTML bytes -> DOM -> CSSOM -> Render Tree -> Layout -> Paint -> Composite\n- CSS blocks rendering; JavaScript blocks parsing -- these have different optimization strategies\n- `async` downloads scripts in parallel and executes immediately; `defer` downloads in parallel but executes after DOM parsing\n- `\u003Clink rel=\"preload\">` fetches critical resources at high priority without blocking rendering\n- `\u003Clink rel=\"prefetch\">` fetches resources for likely next navigations at low priority\n- Inline critical CSS (above-the-fold styles) and defer the rest to eliminate the render-blocking CSS request\n- Fonts: use `font-display: swap` to avoid invisible text during font loading\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **Critical CSS** | Inline above-the-fold styles in `\u003Chead>` | `\u003Cstyle>\u002F* critical styles *\u002F\u003C\u002Fstyle>` + async load full CSS |\n| **Script loading** | Use `defer` for most scripts; `async` for independent scripts | `\u003Cscript src=\"app.js\" defer>\u003C\u002Fscript>` |\n| **Resource hints** | Preload critical fonts, hero images, above-fold assets | `\u003Clink rel=\"preload\" href=\"font.woff2\" as=\"font\" crossorigin>` |\n| **Image optimization** | Lazy-load below-fold images; use modern formats | `\u003Cimg loading=\"lazy\" src=\"photo.avif\" srcset=\"...\">` |\n| **Font loading** | Prevent invisible text with font-display | `@font-face { font-display: swap; }` |\n\nSee: [references\u002Fresource-loading.md](references\u002Fresource-loading.md) for async\u002Fdefer behavior, resource hint strategies, and image optimization.\n\n### 4. Caching Strategies\n\n**Core concept:** The fastest network request is one that never happens. A layered caching strategy -- browser memory, disk cache, service worker, CDN, and origin -- dramatically reduces load times for repeat visitors and subsequent navigations.\n\n**Why it works:** Cache-Control headers tell the browser and intermediaries exactly how long a response remains valid. Content-hashed URLs enable aggressive immutable caching. Service workers provide a programmable cache layer that works offline. Each cache hit eliminates a full network round trip.\n\n**Key insights:**\n- `Cache-Control: max-age=31536000, immutable` for content-hashed static assets (JS, CSS, images)\n- `Cache-Control: no-cache` still caches but revalidates every time -- use for HTML documents\n- `ETag` and `Last-Modified` enable conditional requests (`304 Not Modified`) that save bandwidth\n- `stale-while-revalidate` serves cached content immediately while fetching a fresh copy in the background\n- Service workers intercept fetch requests and can serve from cache, fall back to network, or implement custom strategies\n- CDN caching moves content closer to users, reducing RTT; configure `Vary` headers correctly to avoid cache pollution\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **Static assets** | Long-lived immutable cache with hash busting | `style.a1b2c3.css` with `Cache-Control: max-age=31536000, immutable` |\n| **HTML documents** | Revalidate on every request | `Cache-Control: no-cache` with `ETag` for conditional requests |\n| **API responses** | Short TTL with stale-while-revalidate | `Cache-Control: max-age=60, stale-while-revalidate=3600` |\n| **Offline support** | Service worker cache-first strategy | Cache static shell; network-first for dynamic content |\n| **CDN config** | Cache at edge with proper Vary headers | `Vary: Accept-Encoding, Accept` to prevent serving wrong format |\n\nSee: [references\u002Fcaching-strategies.md](references\u002Fcaching-strategies.md) for cache hierarchy, service worker patterns, and CDN configuration.\n\n### 5. Core Web Vitals Optimization\n\n**Core concept:** Core Web Vitals -- LCP, INP, and CLS -- are Google's user-centric performance metrics that directly impact search ranking and user experience. Each metric targets a different phase: loading (LCP), interactivity (INP), and visual stability (CLS).\n\n**Why it works:** These metrics measure what users actually experience, not what servers report. A page can have a fast TTFB but terrible LCP if the hero image loads late. A page can load quickly but feel sluggish if main-thread JavaScript blocks input handling (poor INP). Optimizing for these metrics means optimizing for real user perception.\n\n**Key insights:**\n- LCP (Largest Contentful Paint): target \u003C 2.5s -- optimize the largest visible element (hero image, heading block, or video poster)\n- INP (Interaction to Next Paint): target \u003C 200ms -- keep main thread free; break long tasks; use `requestIdleCallback` for non-urgent work\n- CLS (Cumulative Layout Shift): target \u003C 0.1 -- reserve space for dynamic content; set explicit dimensions on images and embeds\n- TTFB (Time to First Byte): target \u003C 800ms -- optimize server response time, use CDN, enable compression\n- FCP (First Contentful Paint): target \u003C 1.8s -- eliminate render-blocking resources, inline critical CSS\n- Measure with Real User Monitoring (RUM) in production, not just synthetic tests in lab conditions\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **LCP optimization** | Preload LCP element; set `fetchpriority=\"high\"` | `\u003Cimg src=\"hero.webp\" fetchpriority=\"high\">` |\n| **INP optimization** | Break long tasks; yield to main thread | `scheduler.yield()` or `setTimeout` to chunk work |\n| **CLS prevention** | Reserve space for async content | `\u003Cimg width=\"800\" height=\"600\">` or CSS `aspect-ratio` |\n| **TTFB reduction** | CDN, server-side caching, streaming SSR | Edge rendering with `Transfer-Encoding: chunked` |\n| **Performance budget** | Set thresholds and block deploys that exceed them | LCP \u003C 2.5s, INP \u003C 200ms, CLS \u003C 0.1 in CI pipeline |\n\nSee: [references\u002Fcore-web-vitals.md](references\u002Fcore-web-vitals.md) for measurement tools, debugging workflows, and optimization checklists.\n\n### 6. Real-Time Communication\n\n**Core concept:** When data must flow continuously between client and server, choosing the right transport -- WebSocket, SSE, or long polling -- determines latency, resource usage, and scalability.\n\n**Why it works:** HTTP's request-response model creates overhead for real-time data. WebSocket establishes a persistent full-duplex connection with minimal framing overhead (~2 bytes per frame). Server-Sent Events (SSE) provide a simpler server-to-client push over standard HTTP. The right choice depends on whether communication is unidirectional or bidirectional, how frequently data flows, and infrastructure constraints.\n\n**Key insights:**\n- WebSocket: full-duplex, minimal framing overhead, ideal for chat, gaming, and collaborative editing\n- SSE: server-to-client only, auto-reconnects, works through HTTP proxies, simpler to implement than WebSocket\n- Long polling: fallback when WebSocket\u002FSSE are unavailable; high overhead from repeated HTTP requests\n- WebSocket connections bypass HTTP\u002F2 multiplexing -- each WebSocket is a separate TCP connection\n- Implement heartbeat\u002Fping frames to detect dead connections; mobile networks silently drop idle connections\n- Connection management: exponential backoff on reconnection; queue messages during disconnection\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **Chat \u002F collaboration** | WebSocket with heartbeat and reconnection | `new WebSocket('wss:\u002F\u002F...')` with ping every 30s |\n| **Live feeds \u002F notifications** | SSE for server-to-client streaming | `new EventSource('\u002Fapi\u002Fupdates')` with auto-reconnect |\n| **Legacy fallback** | Long polling when WebSocket is blocked | `fetch('\u002Fpoll')` in a loop with timeout |\n| **Connection resilience** | Exponential backoff on reconnection | Delay: 1s, 2s, 4s, 8s... capped at 30s |\n| **Scaling** | Use a pub\u002Fsub broker behind WebSocket servers | Redis Pub\u002FSub or NATS for horizontal scaling |\n\nSee: [references\u002Freal-time-communication.md](references\u002Freal-time-communication.md) for WebSocket lifecycle, SSE patterns, and scaling strategies.\n\n## Common Mistakes\n\n| Mistake | Why It Fails | Fix |\n|---------|-------------|-----|\n| Adding bandwidth to fix slow pages | Latency, not bandwidth, is the bottleneck for most web traffic | Reduce round trips: preconnect, cache, CDN |\n| Loading all JS upfront | Parser-blocking scripts delay first paint and interactivity | Code-split; use `defer`; lazy-load non-critical modules |\n| No resource hints | Browser discovers critical resources too late in the parse | Add `preconnect`, `preload` for above-fold critical resources |\n| Cache-Control missing or `no-store` everywhere | Every visit re-downloads all resources from origin | Set proper `max-age` for static assets; use content hashing |\n| Ignoring CLS | Layout shifts destroy user trust and hurt search ranking | Set explicit dimensions on all images, embeds, and ads |\n| Using WebSocket for everything | Unnecessary complexity when SSE or HTTP polling suffices | Match transport to data flow pattern; SSE for server push |\n| Domain sharding on HTTP\u002F2 | Defeats multiplexing; creates extra TCP connections | Consolidate to one origin; let HTTP\u002F2 multiplex |\n| No compression | HTML, CSS, JS transfer at full size, wasting bandwidth | Enable Brotli (preferred) or Gzip on server and CDN |\n\n## Quick Diagnostic\n\n| Question | If No | Action |\n|----------|-------|--------|\n| Is TTFB under 800ms? | Server or network too slow | Add CDN, enable server caching, check backend |\n| Is LCP under 2.5s? | Largest element loads too late | Preload LCP resource; set `fetchpriority=\"high\"` |\n| Is INP under 200ms? | Main thread blocked during interactions | Break long tasks; defer non-critical JS |\n| Is CLS under 0.1? | Elements shift after initial render | Set explicit dimensions; reserve space for dynamic content |\n| Are static assets cached with content hashes? | Repeat visitors re-download everything | Add hash to filenames; set `Cache-Control: immutable` |\n| Is HTTP\u002F2 or HTTP\u002F3 enabled? | Missing multiplexing and header compression | Enable HTTP\u002F2 on server; add HTTP\u002F3 via CDN |\n| Are render-blocking resources minimized? | CSS and sync JS delay first paint | Inline critical CSS; `defer` scripts; remove unused CSS |\n| Is compression enabled (Brotli\u002FGzip)? | Transferring uncompressed text resources | Enable Brotli on server\u002FCDN; fall back to Gzip |\n\n## Reference Files\n\n- [network-fundamentals.md](references\u002Fnetwork-fundamentals.md): TCP handshake, congestion control, TLS optimization, DNS resolution, head-of-line blocking\n- [http-protocols.md](references\u002Fhttp-protocols.md): HTTP\u002F1.1 workarounds, HTTP\u002F2 multiplexing, HTTP\u002F3 and QUIC, migration strategies\n- [resource-loading.md](references\u002Fresource-loading.md): Critical rendering path, async\u002Fdefer, resource hints, image and font optimization\n- [caching-strategies.md](references\u002Fcaching-strategies.md): Cache-Control headers, service workers, CDN configuration, cache invalidation\n- [core-web-vitals.md](references\u002Fcore-web-vitals.md): LCP, INP, CLS optimization, measurement tools, performance budgets\n- [real-time-communication.md](references\u002Freal-time-communication.md): WebSocket, SSE, long polling, connection management, scaling\n\n## Further Reading\n\nThis skill is based on Ilya Grigorik's comprehensive guide to browser networking and web performance:\n\n- [*\"High Performance Browser Networking\"*](https:\u002F\u002Fwww.amazon.com\u002FHigh-Performance-Browser-Networking-performance\u002Fdp\u002F1449344763?tag=wondelai00-20) by Ilya Grigorik (the complete reference for networking protocols, browser internals, and performance optimization)\n- [hpbn.co](https:\u002F\u002Fhpbn.co\u002F) -- Free online edition maintained by the author\n\n## About the Author\n\n**Ilya Grigorik** is a web performance engineer, author, and developer advocate who spent over a decade at Google working on Chrome, web platform performance, and HTTP standards. He was a co-chair of the W3C Web Performance Working Group and contributed to the development of HTTP\u002F2 and related web standards. His book *High Performance Browser Networking* (O'Reilly, 2013) is widely regarded as the definitive reference for understanding how browsers interact with the network -- from TCP and TLS fundamentals through HTTP protocol evolution to real-time communication patterns. Grigorik's approach emphasizes that meaningful optimization requires understanding the underlying protocols, not just applying surface-level tricks, and that latency is the fundamental constraint shaping web performance.\n","# High Performance Browser Networking Framework\n\nA systematic approach to web performance optimization grounded in how browsers, protocols, and networks actually work. Apply these principles when building frontend applications, reviewing performance budgets, configuring servers, or diagnosing slow page loads.\n\n## Core Principle\n\n**Latency, not bandwidth, is the bottleneck.** Most web performance problems stem from too many round trips, not too little throughput. A 5x bandwidth increase yields diminishing returns; a 5x latency reduction transforms the user experience.\n\n**The foundation:** Every network request passes through DNS resolution, TCP handshake, TLS negotiation, and HTTP exchange before a single byte of content arrives. Each step adds round-trip latency. High-performance applications minimize round trips, parallelize requests, and eliminate unnecessary network hops. Understanding the protocol stack is not optional -- it is the prerequisite for meaningful optimization.\n\n## Scoring\n\n**Goal: 10\u002F10.** When reviewing or building web applications, rate performance 0-10 based on adherence to the principles below. A 10\u002F10 means full alignment with all guidelines; lower scores indicate gaps to address. Always provide the current score and specific improvements needed to reach 10\u002F10.\n\n## The High Performance Browser Networking Framework\n\nSix domains for building fast, resilient web applications:\n\n### 1. Network Fundamentals\n\n**Core concept:** Every HTTP request pays a latency tax: DNS lookup, TCP three-way handshake, and TLS negotiation -- all before any application data flows. Reducing or eliminating these round trips is the single highest-leverage optimization.\n\n**Why it works:** Light travels at a finite speed. A packet from New York to London takes ~28ms one way regardless of bandwidth. TCP slow start means new connections begin transmitting slowly. TLS adds 1-2 more round trips. These physics-level constraints cannot be solved with bigger pipes -- only with fewer trips.\n\n**Key insights:**\n- TCP three-way handshake adds one full RTT before data transfer begins\n- TCP slow start limits initial throughput to ~14KB (10 segments) in the first round trip -- keep critical resources under this threshold\n- TLS 1.2 adds 2 RTTs; TLS 1.3 reduces this to 1 RTT (0-RTT with session resumption)\n- Head-of-line blocking in TCP means one lost packet stalls all streams on that connection\n- Bandwidth-delay product determines in-flight data capacity; high-latency links underutilize bandwidth\n- DNS resolution can add 20-120ms; pre-resolve with `dns-prefetch`\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **Connection warmup** | Pre-establish connections to critical origins | `\u003Clink rel=\"preconnect\" href=\"https:\u002F\u002Fcdn.example.com\">` |\n| **DNS prefetch** | Resolve third-party domains early | `\u003Clink rel=\"dns-prefetch\" href=\"https:\u002F\u002Fanalytics.example.com\">` |\n| **TLS optimization** | Enable TLS 1.3 and session resumption | Server config: `ssl_protocols TLSv1.3;` with session tickets |\n| **Initial payload** | Keep critical HTML under 14KB compressed | Inline critical CSS, defer non-essential scripts |\n| **Connection reuse** | Keep-alive connections to avoid repeated handshakes | `Connection: keep-alive` (default in HTTP\u002F1.1+) |\n\nSee: [references\u002Fnetwork-fundamentals.md](references\u002Fnetwork-fundamentals.md) for TCP congestion control, bandwidth-delay product, and TLS handshake details.\n\n### 2. HTTP Protocol Evolution\n\n**Core concept:** HTTP has evolved from a simple request-response protocol to a multiplexed, binary, server-push-capable system. Choosing the right protocol version and configuring it properly eliminates entire categories of performance problems.\n\n**Why it works:** HTTP\u002F1.1 forces browsers into workarounds like domain sharding and sprite sheets because it cannot multiplex requests. HTTP\u002F2 solves multiplexing but inherits TCP head-of-line blocking. HTTP\u002F3 (QUIC) moves to UDP, eliminating head-of-line blocking and enabling connection migration. Each generation removes a bottleneck.\n\n**Key insights:**\n- HTTP\u002F1.1 allows only one outstanding request per TCP connection; browsers open 6 connections per host as a workaround\n- HTTP\u002F2 multiplexes unlimited streams over a single TCP connection, making domain sharding counterproductive\n- HPACK header compression in HTTP\u002F2 reduces repetitive header overhead by 85-95%\n- HTTP\u002F3 runs over QUIC (UDP), eliminating TCP head-of-line blocking and enabling 0-RTT connection resumption\n- Server Push (HTTP\u002F2) sends resources before the browser requests them -- use sparingly and prefer `103 Early Hints` instead\n- Connection coalescing in HTTP\u002F2 lets one connection serve multiple hostnames sharing a certificate\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **HTTP\u002F2 migration** | Remove HTTP\u002F1.1 workarounds | Undo domain sharding, remove sprite sheets, stop concatenating files |\n| **Stream prioritization** | Signal resource importance to the server | CSS and fonts at highest priority; images at lower priority |\n| **103 Early Hints** | Send preload hints before the full response | Server sends `103` with `Link: \u003C\u002Fstyle.css>; rel=preload` |\n| **QUIC\u002FHTTP\u002F3** | Enable HTTP\u002F3 on CDN or origin | Add `Alt-Svc: h3=\":443\"` header to advertise HTTP\u002F3 support |\n| **Header optimization** | Minimize custom headers to reduce overhead | Audit cookies and custom headers; remove unnecessary ones |\n\nSee: [references\u002Fhttp-protocols.md](references\u002Fhttp-protocols.md) for protocol comparison, migration strategies, and server push vs. Early Hints.\n\n### 3. Resource Loading and Critical Rendering Path\n\n**Core concept:** The browser must build the DOM, CSSOM, and render tree before painting pixels. Any resource that blocks this pipeline delays first paint. Optimizing the critical rendering path means identifying and eliminating these bottlenecks.\n\n**Why it works:** CSS is render-blocking: the browser will not paint until all CSS is parsed. JavaScript is parser-blocking by default: `\u003Cscript>` halts DOM construction until the script downloads and executes. Fonts can block text rendering for up to 3 seconds. Each blocking resource adds latency directly to time-to-first-paint.\n\n**Key insights:**\n- Critical rendering path: HTML bytes -> DOM -> CSSOM -> Render Tree -> Layout -> Paint -> Composite\n- CSS blocks rendering; JavaScript blocks parsing -- these have different optimization strategies\n- `async` downloads scripts in parallel and executes immediately; `defer` downloads in parallel but executes after DOM parsing\n- `\u003Clink rel=\"preload\">` fetches critical resources at high priority without blocking rendering\n- `\u003Clink rel=\"prefetch\">` fetches resources for likely next navigations at low priority\n- Inline critical CSS (above-the-fold styles) and defer the rest to eliminate the render-blocking CSS request\n- Fonts: use `font-display: swap` to avoid invisible text during font loading\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **Critical CSS** | Inline above-the-fold styles in `\u003Chead>` | `\u003Cstyle>\u002F* critical styles *\u002F\u003C\u002Fstyle>` + async load full CSS |\n| **Script loading** | Use `defer` for most scripts; `async` for independent scripts | `\u003Cscript src=\"app.js\" defer>\u003C\u002Fscript>` |\n| **Resource hints** | Preload critical fonts, hero images, above-fold assets | `\u003Clink rel=\"preload\" href=\"font.woff2\" as=\"font\" crossorigin>` |\n| **Image optimization** | Lazy-load below-fold images; use modern formats | `\u003Cimg loading=\"lazy\" src=\"photo.avif\" srcset=\"...\">` |\n| **Font loading** | Prevent invisible text with font-display | `@font-face { font-display: swap; }` |\n\nSee: [references\u002Fresource-loading.md](references\u002Fresource-loading.md) for async\u002Fdefer behavior, resource hint strategies, and image optimization.\n\n### 4. Caching Strategies\n\n**Core concept:** The fastest network request is one that never happens. A layered caching strategy -- browser memory, disk cache, service worker, CDN, and origin -- dramatically reduces load times for repeat visitors and subsequent navigations.\n\n**Why it works:** Cache-Control headers tell the browser and intermediaries exactly how long a response remains valid. Content-hashed URLs enable aggressive immutable caching. Service workers provide a programmable cache layer that works offline. Each cache hit eliminates a full network round trip.\n\n**Key insights:**\n- `Cache-Control: max-age=31536000, immutable` for content-hashed static assets (JS, CSS, images)\n- `Cache-Control: no-cache` still caches but revalidates every time -- use for HTML documents\n- `ETag` and `Last-Modified` enable conditional requests (`304 Not Modified`) that save bandwidth\n- `stale-while-revalidate` serves cached content immediately while fetching a fresh copy in the background\n- Service workers intercept fetch requests and can serve from cache, fall back to network, or implement custom strategies\n- CDN caching moves content closer to users, reducing RTT; configure `Vary` headers correctly to avoid cache pollution\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **Static assets** | Long-lived immutable cache with hash busting | `style.a1b2c3.css` with `Cache-Control: max-age=31536000, immutable` |\n| **HTML documents** | Revalidate on every request | `Cache-Control: no-cache` with `ETag` for conditional requests |\n| **API responses** | Short TTL with stale-while-revalidate | `Cache-Control: max-age=60, stale-while-revalidate=3600` |\n| **Offline support** | Service worker cache-first strategy | Cache static shell; network-first for dynamic content |\n| **CDN config** | Cache at edge with proper Vary headers | `Vary: Accept-Encoding, Accept` to prevent serving wrong format |\n\nSee: [references\u002Fcaching-strategies.md](references\u002Fcaching-strategies.md) for cache hierarchy, service worker patterns, and CDN configuration.\n\n### 5. Core Web Vitals Optimization\n\n**Core concept:** Core Web Vitals -- LCP, INP, and CLS -- are Google's user-centric performance metrics that directly impact search ranking and user experience. Each metric targets a different phase: loading (LCP), interactivity (INP), and visual stability (CLS).\n\n**Why it works:** These metrics measure what users actually experience, not what servers report. A page can have a fast TTFB but terrible LCP if the hero image loads late. A page can load quickly but feel sluggish if main-thread JavaScript blocks input handling (poor INP). Optimizing for these metrics means optimizing for real user perception.\n\n**Key insights:**\n- LCP (Largest Contentful Paint): target \u003C 2.5s -- optimize the largest visible element (hero image, heading block, or video poster)\n- INP (Interaction to Next Paint): target \u003C 200ms -- keep main thread free; break long tasks; use `requestIdleCallback` for non-urgent work\n- CLS (Cumulative Layout Shift): target \u003C 0.1 -- reserve space for dynamic content; set explicit dimensions on images and embeds\n- TTFB (Time to First Byte): target \u003C 800ms -- optimize server response time, use CDN, enable compression\n- FCP (First Contentful Paint): target \u003C 1.8s -- eliminate render-blocking resources, inline critical CSS\n- Measure with Real User Monitoring (RUM) in production, not just synthetic tests in lab conditions\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **LCP optimization** | Preload LCP element; set `fetchpriority=\"high\"` | `\u003Cimg src=\"hero.webp\" fetchpriority=\"high\">` |\n| **INP optimization** | Break long tasks; yield to main thread | `scheduler.yield()` or `setTimeout` to chunk work |\n| **CLS prevention** | Reserve space for async content | `\u003Cimg width=\"800\" height=\"600\">` or CSS `aspect-ratio` |\n| **TTFB reduction** | CDN, server-side caching, streaming SSR | Edge rendering with `Transfer-Encoding: chunked` |\n| **Performance budget** | Set thresholds and block deploys that exceed them | LCP \u003C 2.5s, INP \u003C 200ms, CLS \u003C 0.1 in CI pipeline |\n\nSee: [references\u002Fcore-web-vitals.md](references\u002Fcore-web-vitals.md) for measurement tools, debugging workflows, and optimization checklists.\n\n### 6. Real-Time Communication\n\n**Core concept:** When data must flow continuously between client and server, choosing the right transport -- WebSocket, SSE, or long polling -- determines latency, resource usage, and scalability.\n\n**Why it works:** HTTP's request-response model creates overhead for real-time data. WebSocket establishes a persistent full-duplex connection with minimal framing overhead (~2 bytes per frame). Server-Sent Events (SSE) provide a simpler server-to-client push over standard HTTP. The right choice depends on whether communication is unidirectional or bidirectional, how frequently data flows, and infrastructure constraints.\n\n**Key insights:**\n- WebSocket: full-duplex, minimal framing overhead, ideal for chat, gaming, and collaborative editing\n- SSE: server-to-client only, auto-reconnects, works through HTTP proxies, simpler to implement than WebSocket\n- Long polling: fallback when WebSocket\u002FSSE are unavailable; high overhead from repeated HTTP requests\n- WebSocket connections bypass HTTP\u002F2 multiplexing -- each WebSocket is a separate TCP connection\n- Implement heartbeat\u002Fping frames to detect dead connections; mobile networks silently drop idle connections\n- Connection management: exponential backoff on reconnection; queue messages during disconnection\n\n**Code applications:**\n\n| Context | Pattern | Example |\n|---------|---------|---------|\n| **Chat \u002F collaboration** | WebSocket with heartbeat and reconnection | `new WebSocket('wss:\u002F\u002F...')` with ping every 30s |\n| **Live feeds \u002F notifications** | SSE for server-to-client streaming | `new EventSource('\u002Fapi\u002Fupdates')` with auto-reconnect |\n| **Legacy fallback** | Long polling when WebSocket is blocked | `fetch('\u002Fpoll')` in a loop with timeout |\n| **Connection resilience** | Exponential backoff on reconnection | Delay: 1s, 2s, 4s, 8s... capped at 30s |\n| **Scaling** | Use a pub\u002Fsub broker behind WebSocket servers | Redis Pub\u002FSub or NATS for horizontal scaling |\n\nSee: [references\u002Freal-time-communication.md](references\u002Freal-time-communication.md) for WebSocket lifecycle, SSE patterns, and scaling strategies.\n\n## Common Mistakes\n\n| Mistake | Why It Fails | Fix |\n|---------|-------------|-----|\n| Adding bandwidth to fix slow pages | Latency, not bandwidth, is the bottleneck for most web traffic | Reduce round trips: preconnect, cache, CDN |\n| Loading all JS upfront | Parser-blocking scripts delay first paint and interactivity | Code-split; use `defer`; lazy-load non-critical modules |\n| No resource hints | Browser discovers critical resources too late in the parse | Add `preconnect`, `preload` for above-fold critical resources |\n| Cache-Control missing or `no-store` everywhere | Every visit re-downloads all resources from origin | Set proper `max-age` for static assets; use content hashing |\n| Ignoring CLS | Layout shifts destroy user trust and hurt search ranking | Set explicit dimensions on all images, embeds, and ads |\n| Using WebSocket for everything | Unnecessary complexity when SSE or HTTP polling suffices | Match transport to data flow pattern; SSE for server push |\n| Domain sharding on HTTP\u002F2 | Defeats multiplexing; creates extra TCP connections | Consolidate to one origin; let HTTP\u002F2 multiplex |\n| No compression | HTML, CSS, JS transfer at full size, wasting bandwidth | Enable Brotli (preferred) or Gzip on server and CDN |\n\n## Quick Diagnostic\n\n| Question | If No | Action |\n|----------|-------|--------|\n| Is TTFB under 800ms? | Server or network too slow | Add CDN, enable server caching, check backend |\n| Is LCP under 2.5s? | Largest element loads too late | Preload LCP resource; set `fetchpriority=\"high\"` |\n| Is INP under 200ms? | Main thread blocked during interactions | Break long tasks; defer non-critical JS |\n| Is CLS under 0.1? | Elements shift after initial render | Set explicit dimensions; reserve space for dynamic content |\n| Are static assets cached with content hashes? | Repeat visitors re-download everything | Add hash to filenames; set `Cache-Control: immutable` |\n| Is HTTP\u002F2 or HTTP\u002F3 enabled? | Missing multiplexing and header compression | Enable HTTP\u002F2 on server; add HTTP\u002F3 via CDN |\n| Are render-blocking resources minimized? | CSS and sync JS delay first paint | Inline critical CSS; `defer` scripts; remove unused CSS |\n| Is compression enabled (Brotli\u002FGzip)? | Transferring uncompressed text resources | Enable Brotli on server\u002FCDN; fall back to Gzip |\n\n## Reference Files\n\n- [network-fundamentals.md](references\u002Fnetwork-fundamentals.md): TCP handshake, congestion control, TLS optimization, DNS resolution, head-of-line blocking\n- [http-protocols.md](references\u002Fhttp-protocols.md): HTTP\u002F1.1 workarounds, HTTP\u002F2 multiplexing, HTTP\u002F3 and QUIC, migration strategies\n- [resource-loading.md](references\u002Fresource-loading.md): Critical rendering path, async\u002Fdefer, resource hints, image and font optimization\n- [caching-strategies.md](references\u002Fcaching-strategies.md): Cache-Control headers, service workers, CDN configuration, cache invalidation\n- [core-web-vitals.md](references\u002Fcore-web-vitals.md): LCP, INP, CLS optimization, measurement tools, performance budgets\n- [real-time-communication.md](references\u002Freal-time-communication.md): WebSocket, SSE, long polling, connection management, scaling\n\n## Further Reading\n\nThis skill is based on Ilya Grigorik's comprehensive guide to browser networking and web performance:\n\n- [*\"High Performance Browser Networking\"*](https:\u002F\u002Fwww.amazon.com\u002FHigh-Performance-Browser-Networking-performance\u002Fdp\u002F1449344763?tag=wondelai00-20) by Ilya Grigorik (the complete reference for networking protocols, browser internals, and performance optimization)\n- [hpbn.co](https:\u002F\u002Fhpbn.co\u002F) -- Free online edition maintained by the author\n\n## About the Author\n\n**Ilya Grigorik** is a web performance engineer, author, and developer advocate who spent over a decade at Google working on Chrome, web platform performance, and HTTP standards. He was a co-chair of the W3C Web Performance Working Group and contributed to the development of HTTP\u002F2 and related web standards. His book *High Performance Browser Networking* (O'Reilly, 2013) is widely regarded as the definitive reference for understanding how browsers interact with the network -- from TCP and TLS fundamentals through HTTP protocol evolution to real-time communication patterns. Grigorik's approach emphasizes that meaningful optimization requires understanding the underlying protocols, not just applying surface-level tricks, and that latency is the fundamental constraint shaping web performance.\n",{"name":5,"license":14,"metadata":23,"description":7},{"author":24,"version":25},"wondelai","1.1.0","main","cd1d94757d590093507ef8ac26299eab8bc20478","claude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS","https:\u002F\u002Fgithub.com\u002FASoudy","2026-05-23 09:43:12",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add ASoudy\u002FAGS --skill high-perf-browser",{"tool":38,"command":39},"bunx","bunx skills add ASoudy\u002FAGS --skill high-perf-browser",{"tool":41,"command":42},"pnpm","pnpm dlx skills add ASoudy\u002FAGS --skill high-perf-browser","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser\u002FSKILL.md",true,[46,52,56,60,64,68],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fcaching-strategies.md","REFERENCE","参考文档",11964,"https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser\u002Freferences\u002Fcaching-strategies.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fcore-web-vitals.md",15118,"https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser\u002Freferences\u002Fcore-web-vitals.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fhttp-protocols.md",12620,"https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser\u002Freferences\u002Fhttp-protocols.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fnetwork-fundamentals.md",10923,"https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser\u002Freferences\u002Fnetwork-fundamentals.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Freal-time-communication.md",16321,"https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser\u002Freferences\u002Freal-time-communication.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fresource-loading.md",13934,"https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fhigh-perf-browser\u002Freferences\u002Fresource-loading.md",[73,80,87,94,101,108],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M756BTEVC407T0QR8S420JWD","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", or \"typographic scale\". Also trigger when choosing between system fonts and web fonts, optimizing font loading performance, or designing readable long-form content layouts. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M756B4RYF2CB17C33X6ZJQT5","ux-heuristics","Evaluate and improve interface usability using heuristic analysis. Use when the user mentions \"usability audit\", \"UX review\", \"users are confused\", \"heuristic evaluation\", \"form usability\", \"navigation problems\", \"Nielsen heuristics\", \"cognitive walkthrough\", or \"usability testing\". Also trigger when reviewing a design for usability issues, improving form completion rates, or evaluating information architecture and navigation. Covers Nielsens 10 heuristics, severity ratings, and information architecture. For visual design fixes, see refactoring-ui. For conversion-focused audits, see cro-methodology.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fux-heuristics\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M756ANVFT0T6BAPV6Y93EPR6","traction-eos","Implement the Entrepreneurial Operating System (EOS) to align vision and execution across a company. Use when the user mentions \"EOS\", \"V\u002FTO\", \"quarterly rocks\", \"Level 10 meetings\", \"accountability chart\", \"IDS process\", \"Entrepreneurial Operating System\", or \"business operating system\". Also trigger when a growing company needs meeting structure, goal-setting frameworks, or a systematic approach to solving recurring organizational issues. Covers the six EOS components: Vision, People, Data, Issues, Process, Traction. For team motivation design, see drive-motivation. For lean experimentation, see lean-startup.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Ftraction-eos\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M756A7NZZMNJN9KZ33QGFHV6","top-design","Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions \"premium website\", \"portfolio site\", \"scroll animations\", \"Awwwards quality\", \"brand experience\", \"cinematic web design\", \"parallax storytelling\", or \"agency-quality site\". Also trigger when building landing pages that need to impress, designing creative portfolios, or elevating a standard website to a memorable digital experience. Covers dramatic typography, purposeful motion, scroll-based composition, and performance-optimized animation. For foundational UI, see refactoring-ui. For type selection, see web-typography.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Ftop-design\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":18},"01M7569J5G1NXM3RR194D52SGB","system-design","Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues. Use when the user mentions \"system design\", \"scale this\", \"high availability\", \"rate limiter\", \"design a URL shortener\", \"system design interview\", \"capacity planning\", or \"distributed architecture\". Also trigger when estimating infrastructure requirements, choosing between microservices and monoliths, or designing for millions of concurrent users. Covers common system designs and back-of-the-envelope estimation. For data fundamentals, see ddia-systems. For resilience, see release-it.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fsystem-design\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":18},"01M75691MJKE6PBA1EC398EKQT","storybrand-messaging","Clarify brand messaging using narrative structure that positions the customer as hero. Use when the user mentions \"brand message\", \"website copy\", \"elevator pitch\", \"one-liner\", \"messaging isnt resonating\", \"brand script\", \"StoryBrand framework\", or \"customer as hero\". Also trigger when rewriting homepage copy, crafting email nurture sequences, or creating consistent messaging across sales collateral and marketing materials. Covers landing page copy, marketing collateral, and consistent communication. For memorable messaging, see made-to-stick. For product positioning, see obviously-awesome.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fstorybrand-messaging\u002FSKILL.md",[],[]]