[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-labs-vercel-react-best-practices":3,"mdc-r4gs8q-key":36,"related-org-vercel-labs-vercel-react-best-practices":1284,"related-repo-vercel-labs-vercel-react-best-practices":1449},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"vercel-react-best-practices","optimize React and Next.js performance","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel-labs","Vercel Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel-labs.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"React","react",{"name":20,"slug":21,"type":15},"Next.js","next-js",{"name":23,"slug":24,"type":15},"Frontend","frontend",28993,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills","2026-07-17T06:08:41.518893","MIT",2597,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"Vercel's official collection of agent skills","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Freact-best-practices","---\nname: vercel-react-best-practices\ndescription: React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.\nlicense: MIT\nmetadata:\n  author: vercel\n  version: \"1.0.0\"\n---\n\n# Vercel React Best Practices\n\nComprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 70 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new React components or Next.js pages\n- Implementing data fetching (client or server-side)\n- Reviewing code for performance issues\n- Refactoring existing React\u002FNext.js code\n- Optimizing bundle size or load times\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Eliminating Waterfalls | CRITICAL | `async-` |\n| 2 | Bundle Size Optimization | CRITICAL | `bundle-` |\n| 3 | Server-Side Performance | HIGH | `server-` |\n| 4 | Client-Side Data Fetching | MEDIUM-HIGH | `client-` |\n| 5 | Re-render Optimization | MEDIUM | `rerender-` |\n| 6 | Rendering Performance | MEDIUM | `rendering-` |\n| 7 | JavaScript Performance | LOW-MEDIUM | `js-` |\n| 8 | Advanced Patterns | LOW | `advanced-` |\n\n## Quick Reference\n\n### 1. Eliminating Waterfalls (CRITICAL)\n\n- `async-cheap-condition-before-await` - Check cheap sync conditions before awaiting flags or remote values\n- `async-defer-await` - Move await into branches where actually used\n- `async-parallel` - Use Promise.all() for independent operations\n- `async-dependencies` - Use better-all for partial dependencies\n- `async-api-routes` - Start promises early, await late in API routes\n- `async-suspense-boundaries` - Use Suspense to stream content\n\n### 2. Bundle Size Optimization (CRITICAL)\n\n- `bundle-barrel-imports` - Import directly, avoid barrel files\n- `bundle-analyzable-paths` - Prefer statically analyzable import and file-system paths to avoid broad bundles and traces\n- `bundle-dynamic-imports` - Use next\u002Fdynamic for heavy components\n- `bundle-defer-third-party` - Load analytics\u002Flogging after hydration\n- `bundle-conditional` - Load modules only when feature is activated\n- `bundle-preload` - Preload on hover\u002Ffocus for perceived speed\n\n### 3. Server-Side Performance (HIGH)\n\n- `server-auth-actions` - Authenticate server actions like API routes\n- `server-cache-react` - Use React.cache() for per-request deduplication\n- `server-cache-lru` - Use LRU cache for cross-request caching\n- `server-dedup-props` - Avoid duplicate serialization in RSC props\n- `server-hoist-static-io` - Hoist static I\u002FO (fonts, logos) to module level\n- `server-no-shared-module-state` - Avoid module-level mutable request state in RSC\u002FSSR\n- `server-serialization` - Minimize data passed to client components\n- `server-parallel-fetching` - Restructure components to parallelize fetches\n- `server-parallel-nested-fetching` - Chain nested fetches per item in Promise.all\n- `server-after-nonblocking` - Use after() for non-blocking operations\n\n### 4. Client-Side Data Fetching (MEDIUM-HIGH)\n\n- `client-swr-dedup` - Use SWR for automatic request deduplication\n- `client-event-listeners` - Deduplicate global event listeners\n- `client-passive-event-listeners` - Use passive listeners for scroll\n- `client-localstorage-schema` - Version and minimize localStorage data\n\n### 5. Re-render Optimization (MEDIUM)\n\n- `rerender-defer-reads` - Don't subscribe to state only used in callbacks\n- `rerender-memo` - Extract expensive work into memoized components\n- `rerender-memo-with-default-value` - Hoist default non-primitive props\n- `rerender-dependencies` - Use primitive dependencies in effects\n- `rerender-derived-state` - Subscribe to derived booleans, not raw values\n- `rerender-derived-state-no-effect` - Derive state during render, not effects\n- `rerender-functional-setstate` - Use functional setState for stable callbacks\n- `rerender-lazy-state-init` - Pass function to useState for expensive values\n- `rerender-simple-expression-in-memo` - Avoid memo for simple primitives\n- `rerender-split-combined-hooks` - Split hooks with independent dependencies\n- `rerender-move-effect-to-event` - Put interaction logic in event handlers\n- `rerender-transitions` - Use startTransition for non-urgent updates\n- `rerender-use-deferred-value` - Defer expensive renders to keep input responsive\n- `rerender-use-ref-transient-values` - Use refs for transient frequent values\n- `rerender-no-inline-components` - Don't define components inside components\n\n### 6. Rendering Performance (MEDIUM)\n\n- `rendering-animate-svg-wrapper` - Animate div wrapper, not SVG element\n- `rendering-content-visibility` - Use content-visibility for long lists\n- `rendering-hoist-jsx` - Extract static JSX outside components\n- `rendering-svg-precision` - Reduce SVG coordinate precision\n- `rendering-hydration-no-flicker` - Use inline script for client-only data\n- `rendering-hydration-suppress-warning` - Suppress expected mismatches\n- `rendering-activity` - Use Activity component for show\u002Fhide\n- `rendering-conditional-render` - Use ternary, not && for conditionals\n- `rendering-usetransition-loading` - Prefer useTransition for loading state\n- `rendering-resource-hints` - Use React DOM resource hints for preloading\n- `rendering-script-defer-async` - Use defer or async on script tags\n\n### 7. JavaScript Performance (LOW-MEDIUM)\n\n- `js-batch-dom-css` - Group CSS changes via classes or cssText\n- `js-index-maps` - Build Map for repeated lookups\n- `js-cache-property-access` - Cache object properties in loops\n- `js-cache-function-results` - Cache function results in module-level Map\n- `js-cache-storage` - Cache localStorage\u002FsessionStorage reads\n- `js-combine-iterations` - Combine multiple filter\u002Fmap into one loop\n- `js-length-check-first` - Check array length before expensive comparison\n- `js-early-exit` - Return early from functions\n- `js-hoist-regexp` - Hoist RegExp creation outside loops\n- `js-min-max-loop` - Use loop for min\u002Fmax instead of sort\n- `js-set-map-lookups` - Use Set\u002FMap for O(1) lookups\n- `js-tosorted-immutable` - Use toSorted() for immutability\n- `js-flatmap-filter` - Use flatMap to map and filter in one pass\n- `js-request-idle-callback` - Defer non-critical work to browser idle time\n\n### 8. Advanced Patterns (LOW)\n\n- `advanced-effect-event-deps` - Don't put `useEffectEvent` results in effect deps\n- `advanced-event-handler-refs` - Store event handlers in refs\n- `advanced-init-once` - Initialize app once per app load\n- `advanced-use-latest` - useLatest for stable callback refs\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Fasync-parallel.md\nrules\u002Fbundle-barrel-imports.md\n```\n\nEach rule file contains:\n- Brief explanation of why it matters\n- Incorrect code example with explanation\n- Correct code example with explanation\n- Additional context and references\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n",{"data":37,"body":41},{"name":4,"description":6,"license":28,"metadata":38},{"author":39,"version":40},"vercel","1.0.0",{"type":42,"children":43},"root",[44,52,58,65,70,100,106,359,365,372,441,447,516,522,635,641,688,694,862,868,992,998,1155,1161,1216,1222,1227,1239,1244,1267,1273],{"type":45,"tag":46,"props":47,"children":48},"element","h1",{"id":4},[49],{"type":50,"value":51},"text","Vercel React Best Practices",{"type":45,"tag":53,"props":54,"children":55},"p",{},[56],{"type":50,"value":57},"Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 70 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.",{"type":45,"tag":59,"props":60,"children":62},"h2",{"id":61},"when-to-apply",[63],{"type":50,"value":64},"When to Apply",{"type":45,"tag":53,"props":66,"children":67},{},[68],{"type":50,"value":69},"Reference these guidelines when:",{"type":45,"tag":71,"props":72,"children":73},"ul",{},[74,80,85,90,95],{"type":45,"tag":75,"props":76,"children":77},"li",{},[78],{"type":50,"value":79},"Writing new React components or Next.js pages",{"type":45,"tag":75,"props":81,"children":82},{},[83],{"type":50,"value":84},"Implementing data fetching (client or server-side)",{"type":45,"tag":75,"props":86,"children":87},{},[88],{"type":50,"value":89},"Reviewing code for performance issues",{"type":45,"tag":75,"props":91,"children":92},{},[93],{"type":50,"value":94},"Refactoring existing React\u002FNext.js code",{"type":45,"tag":75,"props":96,"children":97},{},[98],{"type":50,"value":99},"Optimizing bundle size or load times",{"type":45,"tag":59,"props":101,"children":103},{"id":102},"rule-categories-by-priority",[104],{"type":50,"value":105},"Rule Categories by Priority",{"type":45,"tag":107,"props":108,"children":109},"table",{},[110,139],{"type":45,"tag":111,"props":112,"children":113},"thead",{},[114],{"type":45,"tag":115,"props":116,"children":117},"tr",{},[118,124,129,134],{"type":45,"tag":119,"props":120,"children":121},"th",{},[122],{"type":50,"value":123},"Priority",{"type":45,"tag":119,"props":125,"children":126},{},[127],{"type":50,"value":128},"Category",{"type":45,"tag":119,"props":130,"children":131},{},[132],{"type":50,"value":133},"Impact",{"type":45,"tag":119,"props":135,"children":136},{},[137],{"type":50,"value":138},"Prefix",{"type":45,"tag":140,"props":141,"children":142},"tbody",{},[143,172,198,225,252,279,305,332],{"type":45,"tag":115,"props":144,"children":145},{},[146,152,157,162],{"type":45,"tag":147,"props":148,"children":149},"td",{},[150],{"type":50,"value":151},"1",{"type":45,"tag":147,"props":153,"children":154},{},[155],{"type":50,"value":156},"Eliminating Waterfalls",{"type":45,"tag":147,"props":158,"children":159},{},[160],{"type":50,"value":161},"CRITICAL",{"type":45,"tag":147,"props":163,"children":164},{},[165],{"type":45,"tag":166,"props":167,"children":169},"code",{"className":168},[],[170],{"type":50,"value":171},"async-",{"type":45,"tag":115,"props":173,"children":174},{},[175,180,185,189],{"type":45,"tag":147,"props":176,"children":177},{},[178],{"type":50,"value":179},"2",{"type":45,"tag":147,"props":181,"children":182},{},[183],{"type":50,"value":184},"Bundle Size Optimization",{"type":45,"tag":147,"props":186,"children":187},{},[188],{"type":50,"value":161},{"type":45,"tag":147,"props":190,"children":191},{},[192],{"type":45,"tag":166,"props":193,"children":195},{"className":194},[],[196],{"type":50,"value":197},"bundle-",{"type":45,"tag":115,"props":199,"children":200},{},[201,206,211,216],{"type":45,"tag":147,"props":202,"children":203},{},[204],{"type":50,"value":205},"3",{"type":45,"tag":147,"props":207,"children":208},{},[209],{"type":50,"value":210},"Server-Side Performance",{"type":45,"tag":147,"props":212,"children":213},{},[214],{"type":50,"value":215},"HIGH",{"type":45,"tag":147,"props":217,"children":218},{},[219],{"type":45,"tag":166,"props":220,"children":222},{"className":221},[],[223],{"type":50,"value":224},"server-",{"type":45,"tag":115,"props":226,"children":227},{},[228,233,238,243],{"type":45,"tag":147,"props":229,"children":230},{},[231],{"type":50,"value":232},"4",{"type":45,"tag":147,"props":234,"children":235},{},[236],{"type":50,"value":237},"Client-Side Data Fetching",{"type":45,"tag":147,"props":239,"children":240},{},[241],{"type":50,"value":242},"MEDIUM-HIGH",{"type":45,"tag":147,"props":244,"children":245},{},[246],{"type":45,"tag":166,"props":247,"children":249},{"className":248},[],[250],{"type":50,"value":251},"client-",{"type":45,"tag":115,"props":253,"children":254},{},[255,260,265,270],{"type":45,"tag":147,"props":256,"children":257},{},[258],{"type":50,"value":259},"5",{"type":45,"tag":147,"props":261,"children":262},{},[263],{"type":50,"value":264},"Re-render Optimization",{"type":45,"tag":147,"props":266,"children":267},{},[268],{"type":50,"value":269},"MEDIUM",{"type":45,"tag":147,"props":271,"children":272},{},[273],{"type":45,"tag":166,"props":274,"children":276},{"className":275},[],[277],{"type":50,"value":278},"rerender-",{"type":45,"tag":115,"props":280,"children":281},{},[282,287,292,296],{"type":45,"tag":147,"props":283,"children":284},{},[285],{"type":50,"value":286},"6",{"type":45,"tag":147,"props":288,"children":289},{},[290],{"type":50,"value":291},"Rendering Performance",{"type":45,"tag":147,"props":293,"children":294},{},[295],{"type":50,"value":269},{"type":45,"tag":147,"props":297,"children":298},{},[299],{"type":45,"tag":166,"props":300,"children":302},{"className":301},[],[303],{"type":50,"value":304},"rendering-",{"type":45,"tag":115,"props":306,"children":307},{},[308,313,318,323],{"type":45,"tag":147,"props":309,"children":310},{},[311],{"type":50,"value":312},"7",{"type":45,"tag":147,"props":314,"children":315},{},[316],{"type":50,"value":317},"JavaScript Performance",{"type":45,"tag":147,"props":319,"children":320},{},[321],{"type":50,"value":322},"LOW-MEDIUM",{"type":45,"tag":147,"props":324,"children":325},{},[326],{"type":45,"tag":166,"props":327,"children":329},{"className":328},[],[330],{"type":50,"value":331},"js-",{"type":45,"tag":115,"props":333,"children":334},{},[335,340,345,350],{"type":45,"tag":147,"props":336,"children":337},{},[338],{"type":50,"value":339},"8",{"type":45,"tag":147,"props":341,"children":342},{},[343],{"type":50,"value":344},"Advanced Patterns",{"type":45,"tag":147,"props":346,"children":347},{},[348],{"type":50,"value":349},"LOW",{"type":45,"tag":147,"props":351,"children":352},{},[353],{"type":45,"tag":166,"props":354,"children":356},{"className":355},[],[357],{"type":50,"value":358},"advanced-",{"type":45,"tag":59,"props":360,"children":362},{"id":361},"quick-reference",[363],{"type":50,"value":364},"Quick Reference",{"type":45,"tag":366,"props":367,"children":369},"h3",{"id":368},"_1-eliminating-waterfalls-critical",[370],{"type":50,"value":371},"1. Eliminating Waterfalls (CRITICAL)",{"type":45,"tag":71,"props":373,"children":374},{},[375,386,397,408,419,430],{"type":45,"tag":75,"props":376,"children":377},{},[378,384],{"type":45,"tag":166,"props":379,"children":381},{"className":380},[],[382],{"type":50,"value":383},"async-cheap-condition-before-await",{"type":50,"value":385}," - Check cheap sync conditions before awaiting flags or remote values",{"type":45,"tag":75,"props":387,"children":388},{},[389,395],{"type":45,"tag":166,"props":390,"children":392},{"className":391},[],[393],{"type":50,"value":394},"async-defer-await",{"type":50,"value":396}," - Move await into branches where actually used",{"type":45,"tag":75,"props":398,"children":399},{},[400,406],{"type":45,"tag":166,"props":401,"children":403},{"className":402},[],[404],{"type":50,"value":405},"async-parallel",{"type":50,"value":407}," - Use Promise.all() for independent operations",{"type":45,"tag":75,"props":409,"children":410},{},[411,417],{"type":45,"tag":166,"props":412,"children":414},{"className":413},[],[415],{"type":50,"value":416},"async-dependencies",{"type":50,"value":418}," - Use better-all for partial dependencies",{"type":45,"tag":75,"props":420,"children":421},{},[422,428],{"type":45,"tag":166,"props":423,"children":425},{"className":424},[],[426],{"type":50,"value":427},"async-api-routes",{"type":50,"value":429}," - Start promises early, await late in API routes",{"type":45,"tag":75,"props":431,"children":432},{},[433,439],{"type":45,"tag":166,"props":434,"children":436},{"className":435},[],[437],{"type":50,"value":438},"async-suspense-boundaries",{"type":50,"value":440}," - Use Suspense to stream content",{"type":45,"tag":366,"props":442,"children":444},{"id":443},"_2-bundle-size-optimization-critical",[445],{"type":50,"value":446},"2. Bundle Size Optimization (CRITICAL)",{"type":45,"tag":71,"props":448,"children":449},{},[450,461,472,483,494,505],{"type":45,"tag":75,"props":451,"children":452},{},[453,459],{"type":45,"tag":166,"props":454,"children":456},{"className":455},[],[457],{"type":50,"value":458},"bundle-barrel-imports",{"type":50,"value":460}," - Import directly, avoid barrel files",{"type":45,"tag":75,"props":462,"children":463},{},[464,470],{"type":45,"tag":166,"props":465,"children":467},{"className":466},[],[468],{"type":50,"value":469},"bundle-analyzable-paths",{"type":50,"value":471}," - Prefer statically analyzable import and file-system paths to avoid broad bundles and traces",{"type":45,"tag":75,"props":473,"children":474},{},[475,481],{"type":45,"tag":166,"props":476,"children":478},{"className":477},[],[479],{"type":50,"value":480},"bundle-dynamic-imports",{"type":50,"value":482}," - Use next\u002Fdynamic for heavy components",{"type":45,"tag":75,"props":484,"children":485},{},[486,492],{"type":45,"tag":166,"props":487,"children":489},{"className":488},[],[490],{"type":50,"value":491},"bundle-defer-third-party",{"type":50,"value":493}," - Load analytics\u002Flogging after hydration",{"type":45,"tag":75,"props":495,"children":496},{},[497,503],{"type":45,"tag":166,"props":498,"children":500},{"className":499},[],[501],{"type":50,"value":502},"bundle-conditional",{"type":50,"value":504}," - Load modules only when feature is activated",{"type":45,"tag":75,"props":506,"children":507},{},[508,514],{"type":45,"tag":166,"props":509,"children":511},{"className":510},[],[512],{"type":50,"value":513},"bundle-preload",{"type":50,"value":515}," - Preload on hover\u002Ffocus for perceived speed",{"type":45,"tag":366,"props":517,"children":519},{"id":518},"_3-server-side-performance-high",[520],{"type":50,"value":521},"3. Server-Side Performance (HIGH)",{"type":45,"tag":71,"props":523,"children":524},{},[525,536,547,558,569,580,591,602,613,624],{"type":45,"tag":75,"props":526,"children":527},{},[528,534],{"type":45,"tag":166,"props":529,"children":531},{"className":530},[],[532],{"type":50,"value":533},"server-auth-actions",{"type":50,"value":535}," - Authenticate server actions like API routes",{"type":45,"tag":75,"props":537,"children":538},{},[539,545],{"type":45,"tag":166,"props":540,"children":542},{"className":541},[],[543],{"type":50,"value":544},"server-cache-react",{"type":50,"value":546}," - Use React.cache() for per-request deduplication",{"type":45,"tag":75,"props":548,"children":549},{},[550,556],{"type":45,"tag":166,"props":551,"children":553},{"className":552},[],[554],{"type":50,"value":555},"server-cache-lru",{"type":50,"value":557}," - Use LRU cache for cross-request caching",{"type":45,"tag":75,"props":559,"children":560},{},[561,567],{"type":45,"tag":166,"props":562,"children":564},{"className":563},[],[565],{"type":50,"value":566},"server-dedup-props",{"type":50,"value":568}," - Avoid duplicate serialization in RSC props",{"type":45,"tag":75,"props":570,"children":571},{},[572,578],{"type":45,"tag":166,"props":573,"children":575},{"className":574},[],[576],{"type":50,"value":577},"server-hoist-static-io",{"type":50,"value":579}," - Hoist static I\u002FO (fonts, logos) to module level",{"type":45,"tag":75,"props":581,"children":582},{},[583,589],{"type":45,"tag":166,"props":584,"children":586},{"className":585},[],[587],{"type":50,"value":588},"server-no-shared-module-state",{"type":50,"value":590}," - Avoid module-level mutable request state in RSC\u002FSSR",{"type":45,"tag":75,"props":592,"children":593},{},[594,600],{"type":45,"tag":166,"props":595,"children":597},{"className":596},[],[598],{"type":50,"value":599},"server-serialization",{"type":50,"value":601}," - Minimize data passed to client components",{"type":45,"tag":75,"props":603,"children":604},{},[605,611],{"type":45,"tag":166,"props":606,"children":608},{"className":607},[],[609],{"type":50,"value":610},"server-parallel-fetching",{"type":50,"value":612}," - Restructure components to parallelize fetches",{"type":45,"tag":75,"props":614,"children":615},{},[616,622],{"type":45,"tag":166,"props":617,"children":619},{"className":618},[],[620],{"type":50,"value":621},"server-parallel-nested-fetching",{"type":50,"value":623}," - Chain nested fetches per item in Promise.all",{"type":45,"tag":75,"props":625,"children":626},{},[627,633],{"type":45,"tag":166,"props":628,"children":630},{"className":629},[],[631],{"type":50,"value":632},"server-after-nonblocking",{"type":50,"value":634}," - Use after() for non-blocking operations",{"type":45,"tag":366,"props":636,"children":638},{"id":637},"_4-client-side-data-fetching-medium-high",[639],{"type":50,"value":640},"4. Client-Side Data Fetching (MEDIUM-HIGH)",{"type":45,"tag":71,"props":642,"children":643},{},[644,655,666,677],{"type":45,"tag":75,"props":645,"children":646},{},[647,653],{"type":45,"tag":166,"props":648,"children":650},{"className":649},[],[651],{"type":50,"value":652},"client-swr-dedup",{"type":50,"value":654}," - Use SWR for automatic request deduplication",{"type":45,"tag":75,"props":656,"children":657},{},[658,664],{"type":45,"tag":166,"props":659,"children":661},{"className":660},[],[662],{"type":50,"value":663},"client-event-listeners",{"type":50,"value":665}," - Deduplicate global event listeners",{"type":45,"tag":75,"props":667,"children":668},{},[669,675],{"type":45,"tag":166,"props":670,"children":672},{"className":671},[],[673],{"type":50,"value":674},"client-passive-event-listeners",{"type":50,"value":676}," - Use passive listeners for scroll",{"type":45,"tag":75,"props":678,"children":679},{},[680,686],{"type":45,"tag":166,"props":681,"children":683},{"className":682},[],[684],{"type":50,"value":685},"client-localstorage-schema",{"type":50,"value":687}," - Version and minimize localStorage data",{"type":45,"tag":366,"props":689,"children":691},{"id":690},"_5-re-render-optimization-medium",[692],{"type":50,"value":693},"5. Re-render Optimization (MEDIUM)",{"type":45,"tag":71,"props":695,"children":696},{},[697,708,719,730,741,752,763,774,785,796,807,818,829,840,851],{"type":45,"tag":75,"props":698,"children":699},{},[700,706],{"type":45,"tag":166,"props":701,"children":703},{"className":702},[],[704],{"type":50,"value":705},"rerender-defer-reads",{"type":50,"value":707}," - Don't subscribe to state only used in callbacks",{"type":45,"tag":75,"props":709,"children":710},{},[711,717],{"type":45,"tag":166,"props":712,"children":714},{"className":713},[],[715],{"type":50,"value":716},"rerender-memo",{"type":50,"value":718}," - Extract expensive work into memoized components",{"type":45,"tag":75,"props":720,"children":721},{},[722,728],{"type":45,"tag":166,"props":723,"children":725},{"className":724},[],[726],{"type":50,"value":727},"rerender-memo-with-default-value",{"type":50,"value":729}," - Hoist default non-primitive props",{"type":45,"tag":75,"props":731,"children":732},{},[733,739],{"type":45,"tag":166,"props":734,"children":736},{"className":735},[],[737],{"type":50,"value":738},"rerender-dependencies",{"type":50,"value":740}," - Use primitive dependencies in effects",{"type":45,"tag":75,"props":742,"children":743},{},[744,750],{"type":45,"tag":166,"props":745,"children":747},{"className":746},[],[748],{"type":50,"value":749},"rerender-derived-state",{"type":50,"value":751}," - Subscribe to derived booleans, not raw values",{"type":45,"tag":75,"props":753,"children":754},{},[755,761],{"type":45,"tag":166,"props":756,"children":758},{"className":757},[],[759],{"type":50,"value":760},"rerender-derived-state-no-effect",{"type":50,"value":762}," - Derive state during render, not effects",{"type":45,"tag":75,"props":764,"children":765},{},[766,772],{"type":45,"tag":166,"props":767,"children":769},{"className":768},[],[770],{"type":50,"value":771},"rerender-functional-setstate",{"type":50,"value":773}," - Use functional setState for stable callbacks",{"type":45,"tag":75,"props":775,"children":776},{},[777,783],{"type":45,"tag":166,"props":778,"children":780},{"className":779},[],[781],{"type":50,"value":782},"rerender-lazy-state-init",{"type":50,"value":784}," - Pass function to useState for expensive values",{"type":45,"tag":75,"props":786,"children":787},{},[788,794],{"type":45,"tag":166,"props":789,"children":791},{"className":790},[],[792],{"type":50,"value":793},"rerender-simple-expression-in-memo",{"type":50,"value":795}," - Avoid memo for simple primitives",{"type":45,"tag":75,"props":797,"children":798},{},[799,805],{"type":45,"tag":166,"props":800,"children":802},{"className":801},[],[803],{"type":50,"value":804},"rerender-split-combined-hooks",{"type":50,"value":806}," - Split hooks with independent dependencies",{"type":45,"tag":75,"props":808,"children":809},{},[810,816],{"type":45,"tag":166,"props":811,"children":813},{"className":812},[],[814],{"type":50,"value":815},"rerender-move-effect-to-event",{"type":50,"value":817}," - Put interaction logic in event handlers",{"type":45,"tag":75,"props":819,"children":820},{},[821,827],{"type":45,"tag":166,"props":822,"children":824},{"className":823},[],[825],{"type":50,"value":826},"rerender-transitions",{"type":50,"value":828}," - Use startTransition for non-urgent updates",{"type":45,"tag":75,"props":830,"children":831},{},[832,838],{"type":45,"tag":166,"props":833,"children":835},{"className":834},[],[836],{"type":50,"value":837},"rerender-use-deferred-value",{"type":50,"value":839}," - Defer expensive renders to keep input responsive",{"type":45,"tag":75,"props":841,"children":842},{},[843,849],{"type":45,"tag":166,"props":844,"children":846},{"className":845},[],[847],{"type":50,"value":848},"rerender-use-ref-transient-values",{"type":50,"value":850}," - Use refs for transient frequent values",{"type":45,"tag":75,"props":852,"children":853},{},[854,860],{"type":45,"tag":166,"props":855,"children":857},{"className":856},[],[858],{"type":50,"value":859},"rerender-no-inline-components",{"type":50,"value":861}," - Don't define components inside components",{"type":45,"tag":366,"props":863,"children":865},{"id":864},"_6-rendering-performance-medium",[866],{"type":50,"value":867},"6. Rendering Performance (MEDIUM)",{"type":45,"tag":71,"props":869,"children":870},{},[871,882,893,904,915,926,937,948,959,970,981],{"type":45,"tag":75,"props":872,"children":873},{},[874,880],{"type":45,"tag":166,"props":875,"children":877},{"className":876},[],[878],{"type":50,"value":879},"rendering-animate-svg-wrapper",{"type":50,"value":881}," - Animate div wrapper, not SVG element",{"type":45,"tag":75,"props":883,"children":884},{},[885,891],{"type":45,"tag":166,"props":886,"children":888},{"className":887},[],[889],{"type":50,"value":890},"rendering-content-visibility",{"type":50,"value":892}," - Use content-visibility for long lists",{"type":45,"tag":75,"props":894,"children":895},{},[896,902],{"type":45,"tag":166,"props":897,"children":899},{"className":898},[],[900],{"type":50,"value":901},"rendering-hoist-jsx",{"type":50,"value":903}," - Extract static JSX outside components",{"type":45,"tag":75,"props":905,"children":906},{},[907,913],{"type":45,"tag":166,"props":908,"children":910},{"className":909},[],[911],{"type":50,"value":912},"rendering-svg-precision",{"type":50,"value":914}," - Reduce SVG coordinate precision",{"type":45,"tag":75,"props":916,"children":917},{},[918,924],{"type":45,"tag":166,"props":919,"children":921},{"className":920},[],[922],{"type":50,"value":923},"rendering-hydration-no-flicker",{"type":50,"value":925}," - Use inline script for client-only data",{"type":45,"tag":75,"props":927,"children":928},{},[929,935],{"type":45,"tag":166,"props":930,"children":932},{"className":931},[],[933],{"type":50,"value":934},"rendering-hydration-suppress-warning",{"type":50,"value":936}," - Suppress expected mismatches",{"type":45,"tag":75,"props":938,"children":939},{},[940,946],{"type":45,"tag":166,"props":941,"children":943},{"className":942},[],[944],{"type":50,"value":945},"rendering-activity",{"type":50,"value":947}," - Use Activity component for show\u002Fhide",{"type":45,"tag":75,"props":949,"children":950},{},[951,957],{"type":45,"tag":166,"props":952,"children":954},{"className":953},[],[955],{"type":50,"value":956},"rendering-conditional-render",{"type":50,"value":958}," - Use ternary, not && for conditionals",{"type":45,"tag":75,"props":960,"children":961},{},[962,968],{"type":45,"tag":166,"props":963,"children":965},{"className":964},[],[966],{"type":50,"value":967},"rendering-usetransition-loading",{"type":50,"value":969}," - Prefer useTransition for loading state",{"type":45,"tag":75,"props":971,"children":972},{},[973,979],{"type":45,"tag":166,"props":974,"children":976},{"className":975},[],[977],{"type":50,"value":978},"rendering-resource-hints",{"type":50,"value":980}," - Use React DOM resource hints for preloading",{"type":45,"tag":75,"props":982,"children":983},{},[984,990],{"type":45,"tag":166,"props":985,"children":987},{"className":986},[],[988],{"type":50,"value":989},"rendering-script-defer-async",{"type":50,"value":991}," - Use defer or async on script tags",{"type":45,"tag":366,"props":993,"children":995},{"id":994},"_7-javascript-performance-low-medium",[996],{"type":50,"value":997},"7. JavaScript Performance (LOW-MEDIUM)",{"type":45,"tag":71,"props":999,"children":1000},{},[1001,1012,1023,1034,1045,1056,1067,1078,1089,1100,1111,1122,1133,1144],{"type":45,"tag":75,"props":1002,"children":1003},{},[1004,1010],{"type":45,"tag":166,"props":1005,"children":1007},{"className":1006},[],[1008],{"type":50,"value":1009},"js-batch-dom-css",{"type":50,"value":1011}," - Group CSS changes via classes or cssText",{"type":45,"tag":75,"props":1013,"children":1014},{},[1015,1021],{"type":45,"tag":166,"props":1016,"children":1018},{"className":1017},[],[1019],{"type":50,"value":1020},"js-index-maps",{"type":50,"value":1022}," - Build Map for repeated lookups",{"type":45,"tag":75,"props":1024,"children":1025},{},[1026,1032],{"type":45,"tag":166,"props":1027,"children":1029},{"className":1028},[],[1030],{"type":50,"value":1031},"js-cache-property-access",{"type":50,"value":1033}," - Cache object properties in loops",{"type":45,"tag":75,"props":1035,"children":1036},{},[1037,1043],{"type":45,"tag":166,"props":1038,"children":1040},{"className":1039},[],[1041],{"type":50,"value":1042},"js-cache-function-results",{"type":50,"value":1044}," - Cache function results in module-level Map",{"type":45,"tag":75,"props":1046,"children":1047},{},[1048,1054],{"type":45,"tag":166,"props":1049,"children":1051},{"className":1050},[],[1052],{"type":50,"value":1053},"js-cache-storage",{"type":50,"value":1055}," - Cache localStorage\u002FsessionStorage reads",{"type":45,"tag":75,"props":1057,"children":1058},{},[1059,1065],{"type":45,"tag":166,"props":1060,"children":1062},{"className":1061},[],[1063],{"type":50,"value":1064},"js-combine-iterations",{"type":50,"value":1066}," - Combine multiple filter\u002Fmap into one loop",{"type":45,"tag":75,"props":1068,"children":1069},{},[1070,1076],{"type":45,"tag":166,"props":1071,"children":1073},{"className":1072},[],[1074],{"type":50,"value":1075},"js-length-check-first",{"type":50,"value":1077}," - Check array length before expensive comparison",{"type":45,"tag":75,"props":1079,"children":1080},{},[1081,1087],{"type":45,"tag":166,"props":1082,"children":1084},{"className":1083},[],[1085],{"type":50,"value":1086},"js-early-exit",{"type":50,"value":1088}," - Return early from functions",{"type":45,"tag":75,"props":1090,"children":1091},{},[1092,1098],{"type":45,"tag":166,"props":1093,"children":1095},{"className":1094},[],[1096],{"type":50,"value":1097},"js-hoist-regexp",{"type":50,"value":1099}," - Hoist RegExp creation outside loops",{"type":45,"tag":75,"props":1101,"children":1102},{},[1103,1109],{"type":45,"tag":166,"props":1104,"children":1106},{"className":1105},[],[1107],{"type":50,"value":1108},"js-min-max-loop",{"type":50,"value":1110}," - Use loop for min\u002Fmax instead of sort",{"type":45,"tag":75,"props":1112,"children":1113},{},[1114,1120],{"type":45,"tag":166,"props":1115,"children":1117},{"className":1116},[],[1118],{"type":50,"value":1119},"js-set-map-lookups",{"type":50,"value":1121}," - Use Set\u002FMap for O(1) lookups",{"type":45,"tag":75,"props":1123,"children":1124},{},[1125,1131],{"type":45,"tag":166,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":50,"value":1130},"js-tosorted-immutable",{"type":50,"value":1132}," - Use toSorted() for immutability",{"type":45,"tag":75,"props":1134,"children":1135},{},[1136,1142],{"type":45,"tag":166,"props":1137,"children":1139},{"className":1138},[],[1140],{"type":50,"value":1141},"js-flatmap-filter",{"type":50,"value":1143}," - Use flatMap to map and filter in one pass",{"type":45,"tag":75,"props":1145,"children":1146},{},[1147,1153],{"type":45,"tag":166,"props":1148,"children":1150},{"className":1149},[],[1151],{"type":50,"value":1152},"js-request-idle-callback",{"type":50,"value":1154}," - Defer non-critical work to browser idle time",{"type":45,"tag":366,"props":1156,"children":1158},{"id":1157},"_8-advanced-patterns-low",[1159],{"type":50,"value":1160},"8. Advanced Patterns (LOW)",{"type":45,"tag":71,"props":1162,"children":1163},{},[1164,1183,1194,1205],{"type":45,"tag":75,"props":1165,"children":1166},{},[1167,1173,1175,1181],{"type":45,"tag":166,"props":1168,"children":1170},{"className":1169},[],[1171],{"type":50,"value":1172},"advanced-effect-event-deps",{"type":50,"value":1174}," - Don't put ",{"type":45,"tag":166,"props":1176,"children":1178},{"className":1177},[],[1179],{"type":50,"value":1180},"useEffectEvent",{"type":50,"value":1182}," results in effect deps",{"type":45,"tag":75,"props":1184,"children":1185},{},[1186,1192],{"type":45,"tag":166,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":50,"value":1191},"advanced-event-handler-refs",{"type":50,"value":1193}," - Store event handlers in refs",{"type":45,"tag":75,"props":1195,"children":1196},{},[1197,1203],{"type":45,"tag":166,"props":1198,"children":1200},{"className":1199},[],[1201],{"type":50,"value":1202},"advanced-init-once",{"type":50,"value":1204}," - Initialize app once per app load",{"type":45,"tag":75,"props":1206,"children":1207},{},[1208,1214],{"type":45,"tag":166,"props":1209,"children":1211},{"className":1210},[],[1212],{"type":50,"value":1213},"advanced-use-latest",{"type":50,"value":1215}," - useLatest for stable callback refs",{"type":45,"tag":59,"props":1217,"children":1219},{"id":1218},"how-to-use",[1220],{"type":50,"value":1221},"How to Use",{"type":45,"tag":53,"props":1223,"children":1224},{},[1225],{"type":50,"value":1226},"Read individual rule files for detailed explanations and code examples:",{"type":45,"tag":1228,"props":1229,"children":1233},"pre",{"className":1230,"code":1232,"language":50},[1231],"language-text","rules\u002Fasync-parallel.md\nrules\u002Fbundle-barrel-imports.md\n",[1234],{"type":45,"tag":166,"props":1235,"children":1237},{"__ignoreMap":1236},"",[1238],{"type":50,"value":1232},{"type":45,"tag":53,"props":1240,"children":1241},{},[1242],{"type":50,"value":1243},"Each rule file contains:",{"type":45,"tag":71,"props":1245,"children":1246},{},[1247,1252,1257,1262],{"type":45,"tag":75,"props":1248,"children":1249},{},[1250],{"type":50,"value":1251},"Brief explanation of why it matters",{"type":45,"tag":75,"props":1253,"children":1254},{},[1255],{"type":50,"value":1256},"Incorrect code example with explanation",{"type":45,"tag":75,"props":1258,"children":1259},{},[1260],{"type":50,"value":1261},"Correct code example with explanation",{"type":45,"tag":75,"props":1263,"children":1264},{},[1265],{"type":50,"value":1266},"Additional context and references",{"type":45,"tag":59,"props":1268,"children":1270},{"id":1269},"full-compiled-document",[1271],{"type":50,"value":1272},"Full Compiled Document",{"type":45,"tag":53,"props":1274,"children":1275},{},[1276,1278],{"type":50,"value":1277},"For the complete guide with all rules expanded: ",{"type":45,"tag":166,"props":1279,"children":1281},{"className":1280},[],[1282],{"type":50,"value":1283},"AGENTS.md",{"items":1285,"total":1448},[1286,1304,1316,1328,1343,1360,1372,1385,1397,1408,1420,1435],{"slug":1287,"name":1287,"fn":1288,"description":1289,"org":1290,"tags":1291,"stars":1301,"repoUrl":1302,"updatedAt":1303},"agent-browser","automate browser interactions for AI agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1292,1295,1298],{"name":1293,"slug":1294,"type":15},"Agents","agents",{"name":1296,"slug":1297,"type":15},"Automation","automation",{"name":1299,"slug":1300,"type":15},"Browser Automation","browser-automation",38346,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-browser","2026-07-20T05:55:17.314329",{"slug":1305,"name":1305,"fn":1306,"description":1307,"org":1308,"tags":1309,"stars":1301,"repoUrl":1302,"updatedAt":1315},"agentcore","run browser automation on AWS Bedrock","Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include \"use agentcore\", \"run on AWS\", \"cloud browser with AWS\", \"bedrock browser\", \"agentcore session\", or any task requiring AWS-hosted browser automation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1310,1311,1314],{"name":1296,"slug":1297,"type":15},{"name":1312,"slug":1313,"type":15},"AWS","aws",{"name":1299,"slug":1300,"type":15},"2026-07-17T06:08:33.665276",{"slug":1317,"name":1317,"fn":1318,"description":1319,"org":1320,"tags":1321,"stars":1301,"repoUrl":1302,"updatedAt":1327},"core","navigate and interact with web pages","Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple browser sessions in parallel, and troubleshooting common failures. Use when the user asks to interact with a website, fill a form, click something, extract data, take a screenshot, log into a site, test a web app, or automate any browser task.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1322,1323,1324],{"name":1293,"slug":1294,"type":15},{"name":1299,"slug":1300,"type":15},{"name":1325,"slug":1326,"type":15},"Navigation","navigation","2026-07-26T05:47:42.378419",{"slug":1329,"name":1329,"fn":1330,"description":1331,"org":1332,"tags":1333,"stars":1301,"repoUrl":1302,"updatedAt":1342},"derive-client","reverse engineer internal APIs from browser traffic","Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to \"derive a client\", \"build a CLI for \u003Csite>\", \"reverse engineer this site's API\", \"record network requests\", \"turn this site into an API\", or when the same site will be automated repeatedly and direct HTTP calls would beat driving the browser every time.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1334,1337,1338,1339],{"name":1335,"slug":1336,"type":15},"API Development","api-development",{"name":1296,"slug":1297,"type":15},{"name":1299,"slug":1300,"type":15},{"name":1340,"slug":1341,"type":15},"Web Scraping","web-scraping","2026-07-20T06:24:11.928835",{"slug":1344,"name":1344,"fn":1345,"description":1346,"org":1347,"tags":1348,"stars":1301,"repoUrl":1302,"updatedAt":1359},"dogfood","perform exploratory testing on web applications","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1349,1350,1353,1356],{"name":1299,"slug":1300,"type":15},{"name":1351,"slug":1352,"type":15},"Debugging","debugging",{"name":1354,"slug":1355,"type":15},"QA","qa",{"name":1357,"slug":1358,"type":15},"Testing","testing","2026-07-17T06:07:41.421482",{"slug":1361,"name":1361,"fn":1362,"description":1363,"org":1364,"tags":1365,"stars":1301,"repoUrl":1302,"updatedAt":1371},"electron","automate Electron desktop applications","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1366,1367,1368],{"name":1293,"slug":1294,"type":15},{"name":1299,"slug":1300,"type":15},{"name":1369,"slug":1370,"type":15},"Desktop","desktop","2026-07-17T06:08:28.007783",{"slug":1373,"name":1373,"fn":1374,"description":1375,"org":1376,"tags":1377,"stars":1301,"repoUrl":1302,"updatedAt":1384},"slack","interact with Slack workspaces","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1378,1379,1382],{"name":1299,"slug":1300,"type":15},{"name":1380,"slug":1381,"type":15},"Messaging","messaging",{"name":1383,"slug":1373,"type":15},"Slack","2026-07-17T06:08:27.679015",{"slug":1386,"name":1386,"fn":1387,"description":1388,"org":1389,"tags":1390,"stars":1301,"repoUrl":1302,"updatedAt":1396},"vercel-sandbox","run browser automation in Vercel Sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1391,1392,1393,1394],{"name":1296,"slug":1297,"type":15},{"name":1299,"slug":1300,"type":15},{"name":1357,"slug":1358,"type":15},{"name":1395,"slug":39,"type":15},"Vercel","2026-07-17T06:08:28.349899",{"slug":1398,"name":1398,"fn":1399,"description":1400,"org":1401,"tags":1402,"stars":25,"repoUrl":26,"updatedAt":1407},"deploy-to-vercel","deploy applications to Vercel","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1403,1406],{"name":1404,"slug":1405,"type":15},"Deployment","deployment",{"name":1395,"slug":39,"type":15},"2026-07-17T06:08:41.18374",{"slug":1409,"name":1409,"fn":1410,"description":1411,"org":1412,"tags":1413,"stars":25,"repoUrl":26,"updatedAt":1419},"vercel-cli-with-tokens","manage Vercel projects via CLI","Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. \"deploy to vercel\", \"set up vercel\", \"add environment variables to vercel\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1414,1417,1418],{"name":1415,"slug":1416,"type":15},"CLI","cli",{"name":1404,"slug":1405,"type":15},{"name":1395,"slug":39,"type":15},"2026-07-17T06:08:41.84179",{"slug":1421,"name":1421,"fn":1422,"description":1423,"org":1424,"tags":1425,"stars":25,"repoUrl":26,"updatedAt":1434},"vercel-composition-patterns","implement scalable React composition patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1426,1429,1430,1431],{"name":1427,"slug":1428,"type":15},"Best Practices","best-practices",{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":1432,"slug":1433,"type":15},"UI Components","ui-components","2026-07-17T06:05:40.576913",{"slug":1436,"name":1436,"fn":1437,"description":1438,"org":1439,"tags":1440,"stars":25,"repoUrl":26,"updatedAt":1447},"vercel-optimize","optimize Vercel project performance and costs","Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel\u002Fframework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1441,1444,1445,1446],{"name":1442,"slug":1443,"type":15},"Cost Optimization","cost-optimization",{"name":1404,"slug":1405,"type":15},{"name":13,"slug":14,"type":15},{"name":1395,"slug":39,"type":15},"2026-07-17T06:04:08.327515",100,{"items":1450,"total":1512},[1451,1456,1462,1469,1476,1483,1500],{"slug":1398,"name":1398,"fn":1399,"description":1400,"org":1452,"tags":1453,"stars":25,"repoUrl":26,"updatedAt":1407},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1454,1455],{"name":1404,"slug":1405,"type":15},{"name":1395,"slug":39,"type":15},{"slug":1409,"name":1409,"fn":1410,"description":1411,"org":1457,"tags":1458,"stars":25,"repoUrl":26,"updatedAt":1419},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1459,1460,1461],{"name":1415,"slug":1416,"type":15},{"name":1404,"slug":1405,"type":15},{"name":1395,"slug":39,"type":15},{"slug":1421,"name":1421,"fn":1422,"description":1423,"org":1463,"tags":1464,"stars":25,"repoUrl":26,"updatedAt":1434},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1465,1466,1467,1468],{"name":1427,"slug":1428,"type":15},{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":1432,"slug":1433,"type":15},{"slug":1436,"name":1436,"fn":1437,"description":1438,"org":1470,"tags":1471,"stars":25,"repoUrl":26,"updatedAt":1447},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1472,1473,1474,1475],{"name":1442,"slug":1443,"type":15},{"name":1404,"slug":1405,"type":15},{"name":13,"slug":14,"type":15},{"name":1395,"slug":39,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":1477,"tags":1478,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1479,1480,1481,1482],{"name":23,"slug":24,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":1484,"name":1484,"fn":1485,"description":1486,"org":1487,"tags":1488,"stars":25,"repoUrl":26,"updatedAt":1499},"vercel-react-native-skills","build performant React Native mobile apps","React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1489,1492,1495,1496],{"name":1490,"slug":1491,"type":15},"Expo","expo",{"name":1493,"slug":1494,"type":15},"Mobile","mobile",{"name":13,"slug":14,"type":15},{"name":1497,"slug":1498,"type":15},"React Native","react-native","2026-07-17T06:04:08.681158",{"slug":1501,"name":1501,"fn":1502,"description":1503,"org":1504,"tags":1505,"stars":25,"repoUrl":26,"updatedAt":1511},"vercel-react-view-transitions","implement React View Transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1506,1509,1510],{"name":1507,"slug":1508,"type":15},"Animation","animation",{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},"2026-07-26T05:48:25.346984",9]