[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AQEB1A2C8MWXGPRDB4F7RS":3,"skill-same:01M7AQEB1A2C8MWXGPRDB4F7RS":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7AQEB1A2C8MWXGPRDB4F7RS","react-performance",null,"React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills). Organizes 70+ rules across 8 priority categories — waterfalls, bundle size, server-side, client fetching, re-render, rendering, JS micro-perf, advanced. Use when writing, reviewing, or refactoring React\u002FNext.js code for performance.","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Freact-performance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: react-performance\ndescription: React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills). Organizes 70+ rules across 8 priority categories — waterfalls, bundle size, server-side, client fetching, re-render, rendering, JS micro-perf, advanced. Use when writing, reviewing, or refactoring React\u002FNext.js code for performance.\nmetadata:\n  origin: ECC\n---\n\n# React Performance\n\nPerformance optimization patterns for React 18\u002F19 and Next.js, adapted from [Vercel Labs `react-best-practices`](https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Freact-best-practices) (MIT, v1.0.0). This skill organizes rules by priority and provides decision-tree guidance for active code review and refactoring.\n\n## When to Activate\n\n- Writing or reviewing React\u002FNext.js code for performance\n- Diagnosing slow page loads, slow interactions, or high CPU on the client\n- Auditing bundle size or Lighthouse Core Web Vitals regressions\n- Removing waterfalls in Server Components \u002F API routes\n- Reducing client-side re-renders\n- Optimizing long lists, animations, or hydration\n- Auditing optimization choices in PRs touching `app\u002F`, `pages\u002F`, `components\u002F`, or data layers\n\n## Priority Index\n\n| Priority | Category | Prefix | When it matters |\n|---|---|---|---|\n| 1 — CRITICAL | Eliminating Waterfalls | `async-` | Anytime `await` is followed by independent `await` |\n| 2 — CRITICAL | Bundle Size Optimization | `bundle-` | First-load JS, route-level imports, third-party libs |\n| 3 — HIGH | Server-Side Performance | `server-` | RSC, Server Actions, API routes, SSR |\n| 4 — MEDIUM-HIGH | Client-Side Data Fetching | `client-` | SWR \u002F TanStack Query \u002F raw `fetch` in hooks |\n| 5 — MEDIUM | Re-render Optimization | `rerender-` | High-frequency state updates, parent-child fan-out |\n| 6 — MEDIUM | Rendering Performance | `rendering-` | Long lists, animations, hydration |\n| 7 — LOW-MEDIUM | JavaScript Performance | `js-` | Hot loops, frequent allocations |\n| 8 — LOW | Advanced Patterns | `advanced-` | Effect-event integration, stable refs |\n\n## 1. Eliminating Waterfalls (CRITICAL)\n\n> \"Waterfalls are the #1 performance killer\" — every sequential `await` adds full network latency.\n\n### Cheap conditions before await\n\nCheck sync conditions (props, env, hardcoded flags) before awaiting remote data.\n\n```ts\n\u002F\u002F INCORRECT\nasync function Page({ id }: { id: string }) {\n  const flag = await getFlag(\"show-page\");\n  if (!flag || !id) return null;\n  const data = await getData(id);\n  \u002F\u002F ...\n}\n\n\u002F\u002F CORRECT — short-circuit on cheap sync condition first\nasync function Page({ id }: { id: string }) {\n  if (!id) return null;\n  const flag = await getFlag(\"show-page\");\n  if (!flag) return null;\n  const data = await getData(id);\n}\n```\n\n### Defer awaits until used\n\nMove `await` into the branch that uses it.\n\n```ts\n\u002F\u002F INCORRECT — awaits before deciding it needs the data\nconst user = await getUser(id);\nif (mode === \"guest\") return renderGuest();\nreturn renderUser(user);\n\n\u002F\u002F CORRECT\nif (mode === \"guest\") return renderGuest();\nconst user = await getUser(id);\nreturn renderUser(user);\n```\n\n### Promise.all for independent work\n\n```ts\n\u002F\u002F INCORRECT — sequential\nconst user = await getUser(id);\nconst posts = await getPosts(id);\nconst followers = await getFollowers(id);\n\n\u002F\u002F CORRECT — parallel\nconst [user, posts, followers] = await Promise.all([\n  getUser(id),\n  getPosts(id),\n  getFollowers(id),\n]);\n```\n\n### Partial dependencies — start early, await late\n\n```ts\n\u002F\u002F CORRECT — kick off all promises, await only when each result is needed\nconst userP = getUser(id);\nconst postsP = getPosts(id);\nconst profile = await getProfile(id);\nif (profile.private) return null;\nconst [user, posts] = await Promise.all([userP, postsP]);\n```\n\n### Suspense for streaming\n\nPush `\u003CSuspense>` boundaries close to the data so the page paints what it can while slower sub-trees stream in. The trade-off: layout shift when content arrives — reserve space (skeleton or `min-height`).\n\n### Server Components: parallel through composition\n\n```tsx\n\u002F\u002F INCORRECT — sibling awaits run sequentially inside one component\nexport default async function Page() {\n  const user = await getUser();\n  const cart = await getCart();\n  return \u003CView user={user} cart={cart} \u002F>;\n}\n\n\u002F\u002F CORRECT — split into children, React runs them in parallel\nexport default async function Page() {\n  return (\n    \u003CView>\n      \u003CUserSection \u002F>\n      \u003CCartSection \u002F>\n    \u003C\u002FView>\n  );\n}\n```\n\n## 2. Bundle Size Optimization (CRITICAL)\n\n### Direct imports, not barrels\n\nBarrel `index.ts` files force the bundler to walk the entire module graph even when tree-shaking removes most of it. Direct imports save 200-800ms of first-load JS in many real-world apps.\n\n```ts\n\u002F\u002F INCORRECT\nimport { Button, Card, Modal } from \"@\u002Fcomponents\";\n\n\u002F\u002F CORRECT\nimport { Button } from \"@\u002Fcomponents\u002FButton\";\nimport { Card } from \"@\u002Fcomponents\u002FCard\";\nimport { Modal } from \"@\u002Fcomponents\u002FModal\";\n```\n\nNext.js 13.5+ has [Optimize Package Imports](https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fapp\u002Fapi-reference\u002Fnext-config-js\u002FoptimizePackageImports) that automates this for listed packages — use it; manual direct imports still required for non-listed libs.\n\n### Statically analyzable paths\n\n```ts\n\u002F\u002F INCORRECT — defeats bundler\u002Ftrace analysis\nconst mod = await import(`.\u002Fpages\u002F${name}`);\n\n\u002F\u002F CORRECT — explicit per branch\nconst mod = name === \"home\" ? await import(\".\u002Fpages\u002Fhome\") : await import(\".\u002Fpages\u002Fabout\");\n```\n\n### Dynamic imports for heavy components\n\n```tsx\nimport dynamic from \"next\u002Fdynamic\";\n\nconst HeavyChart = dynamic(() => import(\".\u002FHeavyChart\"), {\n  loading: () => \u003CSkeleton \u002F>,\n  ssr: false, \u002F\u002F when client-only\n});\n```\n\n### Defer third-party scripts\n\nLoad analytics, logging, support widgets AFTER hydration. Use `next\u002Fscript` with `strategy=\"afterInteractive\"` (default) or `\"lazyOnload\"`.\n\n### Conditional module loading\n\n```tsx\nif (user.role === \"admin\") {\n  const { AdminPanel } = await import(\".\u002Fadmin\u002FAdminPanel\");\n  \u002F\u002F ...\n}\n```\n\n### Preload on hover\u002Ffocus\n\nTrigger `\u003Clink rel=\"preload\">` or `import()` on hover so the bundle is in cache by the time the user clicks.\n\n## 3. Server-Side Performance (HIGH)\n\n### Authenticate Server Actions like API routes\n\nEvery `\"use server\"` function is a public endpoint. Authenticate AND authorize inside the action — never rely on the calling Client Component's gating.\n\n```ts\n\"use server\";\nexport async function deleteUser(formData: FormData) {\n  const session = await getSession();\n  if (!session?.user) throw new Error(\"Unauthorized\");\n  const targetId = String(formData.get(\"id\"));\n  if (session.user.role !== \"admin\" && session.user.id !== targetId) {\n    throw new Error(\"Forbidden\");\n  }\n  await db.user.delete({ where: { id: targetId } });\n}\n```\n\n### `React.cache()` for per-request deduplication\n\n```ts\nimport { cache } from \"react\";\n\nexport const getUser = cache(async (id: string) => {\n  return db.user.findUnique({ where: { id } });\n});\n```\n\n`React.cache` dedupes within a single request. Calling `getUser(\"1\")` from three Server Components in the same render = one DB query.\n\n### LRU cache for cross-request data\n\nFor data that does NOT change per request (config, lookup tables), cache outside React with an LRU cache or `unstable_cache`.\n\n### Avoid duplicate serialization in RSC props\n\nWhen a Server Component renders the same data into multiple Client Components, the data is serialized once per consumer. Lift the Client Component up and pass children.\n\n### Hoist static I\u002FO to module scope\n\n```ts\n\u002F\u002F CORRECT — runs once at module load\nconst fontData = readFileSync(fontPath);\n\nexport async function Page() {\n  return \u003CBanner font={fontData} \u002F>;\n}\n```\n\n### No mutable module-level state in RSC\u002FSSR\n\nModule state on the server is shared across all requests — a race condition between users. Use request-scoped storage (`headers()`, `cookies()`, async context) instead.\n\n### Minimize data passed to Client Components\n\nOnly serialize what the Client needs. Strip fields, paginate, project columns at the DB layer.\n\n### Parallelize nested fetches with Promise.all per item\n\n```ts\nconst users = await getUsers();\nconst enriched = await Promise.all(\n  users.map(async (u) => ({ ...u, posts: await getPostsFor(u.id) })),\n);\n```\n\n### Use `after()` for non-blocking work\n\nNext.js 15 `after()` runs work after the response is sent — logging, cache warming, analytics.\n\n```ts\nimport { after } from \"next\u002Fserver\";\nexport async function GET() {\n  const data = await getData();\n  after(() => logAnalytics(data));\n  return Response.json(data);\n}\n```\n\n## 4. Client-Side Data Fetching (MEDIUM-HIGH)\n\n### SWR \u002F TanStack Query for deduplication\n\nMultiple components calling `useUser(id)` should share one network request and one cache entry. Use SWR or TanStack Query — never roll your own `useEffect` + `fetch` for shared data.\n\n### Deduplicate global event listeners\n\n```tsx\n\u002F\u002F INCORRECT — every component adds its own\nuseEffect(() => {\n  window.addEventListener(\"scroll\", handler);\n  return () => window.removeEventListener(\"scroll\", handler);\n}, []);\n\n\u002F\u002F CORRECT — single shared listener via a hook + global subject\nconst useScroll = createScrollHook(); \u002F\u002F singleton subject under the hood\n```\n\n### Passive listeners for scroll\n\n```ts\nwindow.addEventListener(\"scroll\", handler, { passive: true });\n```\n\nImproves scrolling smoothness; the listener cannot `preventDefault()`.\n\n### localStorage: version + minimize\n\n- Always store a `version` field; bump on schema change and migrate or discard old data\n- Keep payloads small — `localStorage` is synchronous and blocks main thread\n\n## 5. Re-render Optimization (MEDIUM)\n\n### Don't subscribe to state used only in callbacks\n\n```tsx\n\u002F\u002F INCORRECT — re-renders every time count changes\nconst count = useStore((s) => s.count);\nconst handler = () => doSomething(count);\n\n\u002F\u002F CORRECT — read once on call\nconst handler = () => {\n  const count = useStore.getState().count;\n  doSomething(count);\n};\n```\n\n### Extract expensive work into memoized components\n\n```tsx\n\u002F\u002F CORRECT — child re-renders only when `items` changes\nconst Heavy = memo(function Heavy({ items }: { items: Item[] }) {\n  return \u003CChart data={transform(items)} \u002F>;\n});\n```\n\n### Hoist default non-primitive props\n\n```tsx\n\u002F\u002F INCORRECT — new array each render breaks memo\n\u003CList items={items ?? []} \u002F>\n\n\u002F\u002F CORRECT\nconst EMPTY: Item[] = [];\n\u003CList items={items ?? EMPTY} \u002F>\n```\n\n### Primitive dependencies in effects\n\n```tsx\n\u002F\u002F INCORRECT — new object identity every render\nuseEffect(() => {}, [{ id, name }]);\n\n\u002F\u002F CORRECT — primitives\nuseEffect(() => {}, [id, name]);\n```\n\n### Subscribe to derived booleans, not raw values\n\n```tsx\n\u002F\u002F INCORRECT — re-renders for any cart change\nconst cart = useStore((s) => s.cart);\nconst hasItems = cart.length > 0;\n\n\u002F\u002F CORRECT — re-renders only when emptiness flips\nconst hasItems = useStore((s) => s.cart.length > 0);\n```\n\n### Derive during render, never via `useEffect`\n\n```tsx\n\u002F\u002F INCORRECT\nconst [full, setFull] = useState(\"\");\nuseEffect(() => setFull(`${first} ${last}`), [first, last]);\n\n\u002F\u002F CORRECT\nconst full = `${first} ${last}`;\n```\n\n### Functional `setState` for stable callbacks\n\n```tsx\n\u002F\u002F CORRECT\nconst increment = useCallback(() => setCount((c) => c + 1), []);\n```\n\n### Lazy state initializer for expensive values\n\n```tsx\nconst [tree] = useState(() => parseTree(largeInput));\n```\n\n### Avoid memo for simple primitives\n\n`useMemo(() => x + 1, [x])` is overhead. Memo earns its keep on object identity and expensive computation.\n\n### Split hooks with independent deps\n\n```tsx\n\u002F\u002F INCORRECT — both selectors re-run if either source changes\nconst { a, b } = useSomething(source1, source2);\n\n\u002F\u002F CORRECT\nconst a = useA(source1);\nconst b = useB(source2);\n```\n\n### Move interaction logic into event handlers\n\nEvent handlers run only on the user action — `useEffect` re-runs whenever deps change.\n\n### `startTransition` for non-urgent updates\n\n```tsx\nconst [pending, startTransition] = useTransition();\nstartTransition(() => setFilters(newFilters));\n```\n\n### `useDeferredValue` for expensive renders\n\n```tsx\nconst deferredQuery = useDeferredValue(query);\nconst results = useMemo(() => expensiveSearch(deferredQuery), [deferredQuery]);\n```\n\n### `useRef` for transient frequent values\n\nFor values that change often but should not trigger re-render (timestamps, last-key, accumulators).\n\n### Don't define components inside components\n\n```tsx\n\u002F\u002F INCORRECT — Inner is a new component on every Outer render\nfunction Outer() {\n  const Inner = () => \u003Cspan \u002F>;\n  return \u003CInner \u002F>;\n}\n```\n\nEach render makes a new `Inner` type, defeating reconciliation and unmounting children.\n\n## 6. Rendering Performance (MEDIUM)\n\n### Animate the wrapper, not the SVG\n\nTransforming a `\u003Cdiv>` wrapper around an SVG is GPU-accelerated; transforming the SVG itself triggers paint.\n\n### `content-visibility: auto` for long lists\n\n```css\n.row { content-visibility: auto; contain-intrinsic-size: auto 80px; }\n```\n\nBrowser skips offscreen rendering — major win for lists with hundreds of rows.\n\n### Hoist static JSX\n\n```tsx\nconst STATIC_HEADER = \u003Ch1>Title\u003C\u002Fh1>;\nfunction Page() {\n  return \u003C>{STATIC_HEADER}\u003CBody \u002F>\u003C\u002F>;\n}\n```\n\n### SVG: reduce coordinate precision\n\n`d=\"M10.123456,20.654321\"` → `d=\"M10.12,20.65\"`. Each digit costs bytes; the visual difference is sub-pixel.\n\n### Hydration no-flicker via inline script\n\nFor values needed before hydration (theme, locale), inline a `\u003Cscript>` that sets `document.documentElement.dataset.*` before React mounts.\n\n### Suppress expected hydration mismatches narrowly\n\n```tsx\n\u003Ctime suppressHydrationWarning>{new Date().toLocaleString()}\u003C\u002Ftime>\n```\n\nUse ONLY for known-divergent leaf nodes — never on a tree containing other children.\n\n### `\u003CActivity>` for show\u002Fhide instead of mount\u002Funmount\n\nReact 19 `\u003CActivity mode=\"visible|hidden\">` keeps tree state and effects mounted but hides — cheaper than unmount\u002Fremount for tabs and accordions.\n\n### Ternary over `&&` for conditional render\n\n```tsx\n\u002F\u002F INCORRECT — `0` renders as text node\n{count && \u003CBadge>{count}\u003C\u002FBadge>}\n\n\u002F\u002F CORRECT\n{count > 0 ? \u003CBadge>{count}\u003C\u002FBadge> : null}\n```\n\n### `useTransition` for loading states\n\nPair `startTransition` with the action; React shows the previous UI as `isPending` while the next state computes.\n\n### React DOM resource hints\n\n```tsx\nimport { preload, preconnect } from \"react-dom\";\npreload(\"\u002Fapi\u002Fcritical\", { as: \"fetch\" });\npreconnect(\"https:\u002F\u002Fapi.example.com\");\n```\n\n### `defer` \u002F `async` on `\u003Cscript>` tags\n\n`defer` for ordered execution after DOMContentLoaded; `async` for fire-and-forget.\n\n## 7. JavaScript Performance (LOW-MEDIUM)\n\n- **Batch DOM\u002FCSS changes** — apply via class swap or `cssText`, not property-by-property\n- **`Map` for repeated lookups** — `O(1)` vs `O(n)` linear scan\n- **Cache property access in loops** — `const len = arr.length`\n- **Memoize pure functions** — module-level `Map\u003Ckey, result>`\n- **Cache `localStorage` reads** — sync API; one read per render\n- **Combine `filter().map()` into one pass** — `flatMap` or single `for`\n- **Check array length first** before expensive comparisons\n- **Early return** from functions\n- **Hoist RegExp** out of loops — compilation is not free\n- **Loop for min\u002Fmax** instead of `sort()` — `O(n)` vs `O(n log n)`\n- **`Set`\u002F`Map` for membership** — `O(1)` vs `Array.includes` `O(n)`\n- **`toSorted()` over mutation** when immutability matters\n- **`flatMap` to map and filter in one pass**\n- **`requestIdleCallback`** for non-critical work\n\n## 8. Advanced Patterns (LOW)\n\n### `useEffectEvent` deps\n\nValues from `useEffectEvent` are stable — do NOT add them to effect deps.\n\n### Event handler refs\n\nFor stable callbacks passed to memoized children:\n\n```tsx\nconst handlerRef = useRef(handler);\nuseEffect(() => { handlerRef.current = handler; });\nconst stable = useCallback((arg) => handlerRef.current(arg), []);\n```\n\n### Init once per app load\n\nFor module-level singletons (telemetry, logger), guard with a module-scope flag — not `useEffect`.\n\n### `useLatest` for stable callback refs\n\n```tsx\nfunction useLatest\u003CT>(value: T) {\n  const ref = useRef(value);\n  ref.current = value;\n  return ref;\n}\n```\n\n## Automated Tools\n\nMany of these rules are now automated:\n\n- **Next.js 13.5+ Optimize Package Imports** — barrel import optimization\n- **React Compiler** (RFC, in canary) — auto-memoization\n- **Turbopack** — faster builds, better tree-shaking\n- **Bundle Analyzer** (`@next\u002Fbundle-analyzer`) — visualize first-load JS\n\nWhen the project ships React Compiler, demote `rerender-*` manual memoization rules to \"review-only\" — the compiler handles them. Manual `useMemo`\u002F`useCallback` becomes unnecessary noise.\n\n## Lighthouse \u002F Web Vitals Mapping\n\n| Metric | Most relevant categories |\n|---|---|\n| **LCP** (Largest Contentful Paint) | Waterfalls, Bundle Size, Resource Hints |\n| **INP** (Interaction to Next Paint) | Re-render, Rendering, JavaScript |\n| **CLS** (Cumulative Layout Shift) | Rendering (Suspense placement, image dimensions) |\n| **TBT** (Total Blocking Time) | Bundle Size, JavaScript, Defer Third-Party |\n| **FID** (legacy) | Bundle Size, Hydration |\n\n## Related\n\n- Skills: [react-patterns](..\u002Freact-patterns\u002FSKILL.md), [react-testing](..\u002Freact-testing\u002FSKILL.md), [frontend-patterns](..\u002Ffrontend-patterns\u002FSKILL.md), [accessibility](..\u002Faccessibility\u002FSKILL.md), [nextjs-turbopack](..\u002Fnextjs-turbopack\u002FSKILL.md)\n- Rules: [rules\u002Freact\u002F](..\u002F..\u002Frules\u002Freact\u002F)\n- Agents: `react-reviewer` enforces these rules in code review; `react-build-resolver` handles related build failures\n- Commands: `\u002Freact-review`, `\u002Freact-build`, `\u002Freact-test`\n\n## Attribution\n\nAdapted from Vercel Labs `react-best-practices` skill (MIT License, copyright Vercel Engineering, v1.0.0 January 2026). Source: [https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Freact-best-practices](https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Freact-best-practices).\n\nThis skill restructures and adapts the original 70-rule catalog into a single navigable reference. For the full original ruleset with extended examples, see the upstream repository.\n","# React Performance\n\nPerformance optimization patterns for React 18\u002F19 and Next.js, adapted from [Vercel Labs `react-best-practices`](https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Freact-best-practices) (MIT, v1.0.0). This skill organizes rules by priority and provides decision-tree guidance for active code review and refactoring.\n\n## When to Activate\n\n- Writing or reviewing React\u002FNext.js code for performance\n- Diagnosing slow page loads, slow interactions, or high CPU on the client\n- Auditing bundle size or Lighthouse Core Web Vitals regressions\n- Removing waterfalls in Server Components \u002F API routes\n- Reducing client-side re-renders\n- Optimizing long lists, animations, or hydration\n- Auditing optimization choices in PRs touching `app\u002F`, `pages\u002F`, `components\u002F`, or data layers\n\n## Priority Index\n\n| Priority | Category | Prefix | When it matters |\n|---|---|---|---|\n| 1 — CRITICAL | Eliminating Waterfalls | `async-` | Anytime `await` is followed by independent `await` |\n| 2 — CRITICAL | Bundle Size Optimization | `bundle-` | First-load JS, route-level imports, third-party libs |\n| 3 — HIGH | Server-Side Performance | `server-` | RSC, Server Actions, API routes, SSR |\n| 4 — MEDIUM-HIGH | Client-Side Data Fetching | `client-` | SWR \u002F TanStack Query \u002F raw `fetch` in hooks |\n| 5 — MEDIUM | Re-render Optimization | `rerender-` | High-frequency state updates, parent-child fan-out |\n| 6 — MEDIUM | Rendering Performance | `rendering-` | Long lists, animations, hydration |\n| 7 — LOW-MEDIUM | JavaScript Performance | `js-` | Hot loops, frequent allocations |\n| 8 — LOW | Advanced Patterns | `advanced-` | Effect-event integration, stable refs |\n\n## 1. Eliminating Waterfalls (CRITICAL)\n\n> \"Waterfalls are the #1 performance killer\" — every sequential `await` adds full network latency.\n\n### Cheap conditions before await\n\nCheck sync conditions (props, env, hardcoded flags) before awaiting remote data.\n\n```ts\n\u002F\u002F INCORRECT\nasync function Page({ id }: { id: string }) {\n  const flag = await getFlag(\"show-page\");\n  if (!flag || !id) return null;\n  const data = await getData(id);\n  \u002F\u002F ...\n}\n\n\u002F\u002F CORRECT — short-circuit on cheap sync condition first\nasync function Page({ id }: { id: string }) {\n  if (!id) return null;\n  const flag = await getFlag(\"show-page\");\n  if (!flag) return null;\n  const data = await getData(id);\n}\n```\n\n### Defer awaits until used\n\nMove `await` into the branch that uses it.\n\n```ts\n\u002F\u002F INCORRECT — awaits before deciding it needs the data\nconst user = await getUser(id);\nif (mode === \"guest\") return renderGuest();\nreturn renderUser(user);\n\n\u002F\u002F CORRECT\nif (mode === \"guest\") return renderGuest();\nconst user = await getUser(id);\nreturn renderUser(user);\n```\n\n### Promise.all for independent work\n\n```ts\n\u002F\u002F INCORRECT — sequential\nconst user = await getUser(id);\nconst posts = await getPosts(id);\nconst followers = await getFollowers(id);\n\n\u002F\u002F CORRECT — parallel\nconst [user, posts, followers] = await Promise.all([\n  getUser(id),\n  getPosts(id),\n  getFollowers(id),\n]);\n```\n\n### Partial dependencies — start early, await late\n\n```ts\n\u002F\u002F CORRECT — kick off all promises, await only when each result is needed\nconst userP = getUser(id);\nconst postsP = getPosts(id);\nconst profile = await getProfile(id);\nif (profile.private) return null;\nconst [user, posts] = await Promise.all([userP, postsP]);\n```\n\n### Suspense for streaming\n\nPush `\u003CSuspense>` boundaries close to the data so the page paints what it can while slower sub-trees stream in. The trade-off: layout shift when content arrives — reserve space (skeleton or `min-height`).\n\n### Server Components: parallel through composition\n\n```tsx\n\u002F\u002F INCORRECT — sibling awaits run sequentially inside one component\nexport default async function Page() {\n  const user = await getUser();\n  const cart = await getCart();\n  return \u003CView user={user} cart={cart} \u002F>;\n}\n\n\u002F\u002F CORRECT — split into children, React runs them in parallel\nexport default async function Page() {\n  return (\n    \u003CView>\n      \u003CUserSection \u002F>\n      \u003CCartSection \u002F>\n    \u003C\u002FView>\n  );\n}\n```\n\n## 2. Bundle Size Optimization (CRITICAL)\n\n### Direct imports, not barrels\n\nBarrel `index.ts` files force the bundler to walk the entire module graph even when tree-shaking removes most of it. Direct imports save 200-800ms of first-load JS in many real-world apps.\n\n```ts\n\u002F\u002F INCORRECT\nimport { Button, Card, Modal } from \"@\u002Fcomponents\";\n\n\u002F\u002F CORRECT\nimport { Button } from \"@\u002Fcomponents\u002FButton\";\nimport { Card } from \"@\u002Fcomponents\u002FCard\";\nimport { Modal } from \"@\u002Fcomponents\u002FModal\";\n```\n\nNext.js 13.5+ has [Optimize Package Imports](https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fapp\u002Fapi-reference\u002Fnext-config-js\u002FoptimizePackageImports) that automates this for listed packages — use it; manual direct imports still required for non-listed libs.\n\n### Statically analyzable paths\n\n```ts\n\u002F\u002F INCORRECT — defeats bundler\u002Ftrace analysis\nconst mod = await import(`.\u002Fpages\u002F${name}`);\n\n\u002F\u002F CORRECT — explicit per branch\nconst mod = name === \"home\" ? await import(\".\u002Fpages\u002Fhome\") : await import(\".\u002Fpages\u002Fabout\");\n```\n\n### Dynamic imports for heavy components\n\n```tsx\nimport dynamic from \"next\u002Fdynamic\";\n\nconst HeavyChart = dynamic(() => import(\".\u002FHeavyChart\"), {\n  loading: () => \u003CSkeleton \u002F>,\n  ssr: false, \u002F\u002F when client-only\n});\n```\n\n### Defer third-party scripts\n\nLoad analytics, logging, support widgets AFTER hydration. Use `next\u002Fscript` with `strategy=\"afterInteractive\"` (default) or `\"lazyOnload\"`.\n\n### Conditional module loading\n\n```tsx\nif (user.role === \"admin\") {\n  const { AdminPanel } = await import(\".\u002Fadmin\u002FAdminPanel\");\n  \u002F\u002F ...\n}\n```\n\n### Preload on hover\u002Ffocus\n\nTrigger `\u003Clink rel=\"preload\">` or `import()` on hover so the bundle is in cache by the time the user clicks.\n\n## 3. Server-Side Performance (HIGH)\n\n### Authenticate Server Actions like API routes\n\nEvery `\"use server\"` function is a public endpoint. Authenticate AND authorize inside the action — never rely on the calling Client Component's gating.\n\n```ts\n\"use server\";\nexport async function deleteUser(formData: FormData) {\n  const session = await getSession();\n  if (!session?.user) throw new Error(\"Unauthorized\");\n  const targetId = String(formData.get(\"id\"));\n  if (session.user.role !== \"admin\" && session.user.id !== targetId) {\n    throw new Error(\"Forbidden\");\n  }\n  await db.user.delete({ where: { id: targetId } });\n}\n```\n\n### `React.cache()` for per-request deduplication\n\n```ts\nimport { cache } from \"react\";\n\nexport const getUser = cache(async (id: string) => {\n  return db.user.findUnique({ where: { id } });\n});\n```\n\n`React.cache` dedupes within a single request. Calling `getUser(\"1\")` from three Server Components in the same render = one DB query.\n\n### LRU cache for cross-request data\n\nFor data that does NOT change per request (config, lookup tables), cache outside React with an LRU cache or `unstable_cache`.\n\n### Avoid duplicate serialization in RSC props\n\nWhen a Server Component renders the same data into multiple Client Components, the data is serialized once per consumer. Lift the Client Component up and pass children.\n\n### Hoist static I\u002FO to module scope\n\n```ts\n\u002F\u002F CORRECT — runs once at module load\nconst fontData = readFileSync(fontPath);\n\nexport async function Page() {\n  return \u003CBanner font={fontData} \u002F>;\n}\n```\n\n### No mutable module-level state in RSC\u002FSSR\n\nModule state on the server is shared across all requests — a race condition between users. Use request-scoped storage (`headers()`, `cookies()`, async context) instead.\n\n### Minimize data passed to Client Components\n\nOnly serialize what the Client needs. Strip fields, paginate, project columns at the DB layer.\n\n### Parallelize nested fetches with Promise.all per item\n\n```ts\nconst users = await getUsers();\nconst enriched = await Promise.all(\n  users.map(async (u) => ({ ...u, posts: await getPostsFor(u.id) })),\n);\n```\n\n### Use `after()` for non-blocking work\n\nNext.js 15 `after()` runs work after the response is sent — logging, cache warming, analytics.\n\n```ts\nimport { after } from \"next\u002Fserver\";\nexport async function GET() {\n  const data = await getData();\n  after(() => logAnalytics(data));\n  return Response.json(data);\n}\n```\n\n## 4. Client-Side Data Fetching (MEDIUM-HIGH)\n\n### SWR \u002F TanStack Query for deduplication\n\nMultiple components calling `useUser(id)` should share one network request and one cache entry. Use SWR or TanStack Query — never roll your own `useEffect` + `fetch` for shared data.\n\n### Deduplicate global event listeners\n\n```tsx\n\u002F\u002F INCORRECT — every component adds its own\nuseEffect(() => {\n  window.addEventListener(\"scroll\", handler);\n  return () => window.removeEventListener(\"scroll\", handler);\n}, []);\n\n\u002F\u002F CORRECT — single shared listener via a hook + global subject\nconst useScroll = createScrollHook(); \u002F\u002F singleton subject under the hood\n```\n\n### Passive listeners for scroll\n\n```ts\nwindow.addEventListener(\"scroll\", handler, { passive: true });\n```\n\nImproves scrolling smoothness; the listener cannot `preventDefault()`.\n\n### localStorage: version + minimize\n\n- Always store a `version` field; bump on schema change and migrate or discard old data\n- Keep payloads small — `localStorage` is synchronous and blocks main thread\n\n## 5. Re-render Optimization (MEDIUM)\n\n### Don't subscribe to state used only in callbacks\n\n```tsx\n\u002F\u002F INCORRECT — re-renders every time count changes\nconst count = useStore((s) => s.count);\nconst handler = () => doSomething(count);\n\n\u002F\u002F CORRECT — read once on call\nconst handler = () => {\n  const count = useStore.getState().count;\n  doSomething(count);\n};\n```\n\n### Extract expensive work into memoized components\n\n```tsx\n\u002F\u002F CORRECT — child re-renders only when `items` changes\nconst Heavy = memo(function Heavy({ items }: { items: Item[] }) {\n  return \u003CChart data={transform(items)} \u002F>;\n});\n```\n\n### Hoist default non-primitive props\n\n```tsx\n\u002F\u002F INCORRECT — new array each render breaks memo\n\u003CList items={items ?? []} \u002F>\n\n\u002F\u002F CORRECT\nconst EMPTY: Item[] = [];\n\u003CList items={items ?? EMPTY} \u002F>\n```\n\n### Primitive dependencies in effects\n\n```tsx\n\u002F\u002F INCORRECT — new object identity every render\nuseEffect(() => {}, [{ id, name }]);\n\n\u002F\u002F CORRECT — primitives\nuseEffect(() => {}, [id, name]);\n```\n\n### Subscribe to derived booleans, not raw values\n\n```tsx\n\u002F\u002F INCORRECT — re-renders for any cart change\nconst cart = useStore((s) => s.cart);\nconst hasItems = cart.length > 0;\n\n\u002F\u002F CORRECT — re-renders only when emptiness flips\nconst hasItems = useStore((s) => s.cart.length > 0);\n```\n\n### Derive during render, never via `useEffect`\n\n```tsx\n\u002F\u002F INCORRECT\nconst [full, setFull] = useState(\"\");\nuseEffect(() => setFull(`${first} ${last}`), [first, last]);\n\n\u002F\u002F CORRECT\nconst full = `${first} ${last}`;\n```\n\n### Functional `setState` for stable callbacks\n\n```tsx\n\u002F\u002F CORRECT\nconst increment = useCallback(() => setCount((c) => c + 1), []);\n```\n\n### Lazy state initializer for expensive values\n\n```tsx\nconst [tree] = useState(() => parseTree(largeInput));\n```\n\n### Avoid memo for simple primitives\n\n`useMemo(() => x + 1, [x])` is overhead. Memo earns its keep on object identity and expensive computation.\n\n### Split hooks with independent deps\n\n```tsx\n\u002F\u002F INCORRECT — both selectors re-run if either source changes\nconst { a, b } = useSomething(source1, source2);\n\n\u002F\u002F CORRECT\nconst a = useA(source1);\nconst b = useB(source2);\n```\n\n### Move interaction logic into event handlers\n\nEvent handlers run only on the user action — `useEffect` re-runs whenever deps change.\n\n### `startTransition` for non-urgent updates\n\n```tsx\nconst [pending, startTransition] = useTransition();\nstartTransition(() => setFilters(newFilters));\n```\n\n### `useDeferredValue` for expensive renders\n\n```tsx\nconst deferredQuery = useDeferredValue(query);\nconst results = useMemo(() => expensiveSearch(deferredQuery), [deferredQuery]);\n```\n\n### `useRef` for transient frequent values\n\nFor values that change often but should not trigger re-render (timestamps, last-key, accumulators).\n\n### Don't define components inside components\n\n```tsx\n\u002F\u002F INCORRECT — Inner is a new component on every Outer render\nfunction Outer() {\n  const Inner = () => \u003Cspan \u002F>;\n  return \u003CInner \u002F>;\n}\n```\n\nEach render makes a new `Inner` type, defeating reconciliation and unmounting children.\n\n## 6. Rendering Performance (MEDIUM)\n\n### Animate the wrapper, not the SVG\n\nTransforming a `\u003Cdiv>` wrapper around an SVG is GPU-accelerated; transforming the SVG itself triggers paint.\n\n### `content-visibility: auto` for long lists\n\n```css\n.row { content-visibility: auto; contain-intrinsic-size: auto 80px; }\n```\n\nBrowser skips offscreen rendering — major win for lists with hundreds of rows.\n\n### Hoist static JSX\n\n```tsx\nconst STATIC_HEADER = \u003Ch1>Title\u003C\u002Fh1>;\nfunction Page() {\n  return \u003C>{STATIC_HEADER}\u003CBody \u002F>\u003C\u002F>;\n}\n```\n\n### SVG: reduce coordinate precision\n\n`d=\"M10.123456,20.654321\"` → `d=\"M10.12,20.65\"`. Each digit costs bytes; the visual difference is sub-pixel.\n\n### Hydration no-flicker via inline script\n\nFor values needed before hydration (theme, locale), inline a `\u003Cscript>` that sets `document.documentElement.dataset.*` before React mounts.\n\n### Suppress expected hydration mismatches narrowly\n\n```tsx\n\u003Ctime suppressHydrationWarning>{new Date().toLocaleString()}\u003C\u002Ftime>\n```\n\nUse ONLY for known-divergent leaf nodes — never on a tree containing other children.\n\n### `\u003CActivity>` for show\u002Fhide instead of mount\u002Funmount\n\nReact 19 `\u003CActivity mode=\"visible|hidden\">` keeps tree state and effects mounted but hides — cheaper than unmount\u002Fremount for tabs and accordions.\n\n### Ternary over `&&` for conditional render\n\n```tsx\n\u002F\u002F INCORRECT — `0` renders as text node\n{count && \u003CBadge>{count}\u003C\u002FBadge>}\n\n\u002F\u002F CORRECT\n{count > 0 ? \u003CBadge>{count}\u003C\u002FBadge> : null}\n```\n\n### `useTransition` for loading states\n\nPair `startTransition` with the action; React shows the previous UI as `isPending` while the next state computes.\n\n### React DOM resource hints\n\n```tsx\nimport { preload, preconnect } from \"react-dom\";\npreload(\"\u002Fapi\u002Fcritical\", { as: \"fetch\" });\npreconnect(\"https:\u002F\u002Fapi.example.com\");\n```\n\n### `defer` \u002F `async` on `\u003Cscript>` tags\n\n`defer` for ordered execution after DOMContentLoaded; `async` for fire-and-forget.\n\n## 7. JavaScript Performance (LOW-MEDIUM)\n\n- **Batch DOM\u002FCSS changes** — apply via class swap or `cssText`, not property-by-property\n- **`Map` for repeated lookups** — `O(1)` vs `O(n)` linear scan\n- **Cache property access in loops** — `const len = arr.length`\n- **Memoize pure functions** — module-level `Map\u003Ckey, result>`\n- **Cache `localStorage` reads** — sync API; one read per render\n- **Combine `filter().map()` into one pass** — `flatMap` or single `for`\n- **Check array length first** before expensive comparisons\n- **Early return** from functions\n- **Hoist RegExp** out of loops — compilation is not free\n- **Loop for min\u002Fmax** instead of `sort()` — `O(n)` vs `O(n log n)`\n- **`Set`\u002F`Map` for membership** — `O(1)` vs `Array.includes` `O(n)`\n- **`toSorted()` over mutation** when immutability matters\n- **`flatMap` to map and filter in one pass**\n- **`requestIdleCallback`** for non-critical work\n\n## 8. Advanced Patterns (LOW)\n\n### `useEffectEvent` deps\n\nValues from `useEffectEvent` are stable — do NOT add them to effect deps.\n\n### Event handler refs\n\nFor stable callbacks passed to memoized children:\n\n```tsx\nconst handlerRef = useRef(handler);\nuseEffect(() => { handlerRef.current = handler; });\nconst stable = useCallback((arg) => handlerRef.current(arg), []);\n```\n\n### Init once per app load\n\nFor module-level singletons (telemetry, logger), guard with a module-scope flag — not `useEffect`.\n\n### `useLatest` for stable callback refs\n\n```tsx\nfunction useLatest\u003CT>(value: T) {\n  const ref = useRef(value);\n  ref.current = value;\n  return ref;\n}\n```\n\n## Automated Tools\n\nMany of these rules are now automated:\n\n- **Next.js 13.5+ Optimize Package Imports** — barrel import optimization\n- **React Compiler** (RFC, in canary) — auto-memoization\n- **Turbopack** — faster builds, better tree-shaking\n- **Bundle Analyzer** (`@next\u002Fbundle-analyzer`) — visualize first-load JS\n\nWhen the project ships React Compiler, demote `rerender-*` manual memoization rules to \"review-only\" — the compiler handles them. Manual `useMemo`\u002F`useCallback` becomes unnecessary noise.\n\n## Lighthouse \u002F Web Vitals Mapping\n\n| Metric | Most relevant categories |\n|---|---|\n| **LCP** (Largest Contentful Paint) | Waterfalls, Bundle Size, Resource Hints |\n| **INP** (Interaction to Next Paint) | Re-render, Rendering, JavaScript |\n| **CLS** (Cumulative Layout Shift) | Rendering (Suspense placement, image dimensions) |\n| **TBT** (Total Blocking Time) | Bundle Size, JavaScript, Defer Third-Party |\n| **FID** (legacy) | Bundle Size, Hydration |\n\n## Related\n\n- Skills: [react-patterns](..\u002Freact-patterns\u002FSKILL.md), [react-testing](..\u002Freact-testing\u002FSKILL.md), [frontend-patterns](..\u002Ffrontend-patterns\u002FSKILL.md), [accessibility](..\u002Faccessibility\u002FSKILL.md), [nextjs-turbopack](..\u002Fnextjs-turbopack\u002FSKILL.md)\n- Rules: [rules\u002Freact\u002F](..\u002F..\u002Frules\u002Freact\u002F)\n- Agents: `react-reviewer` enforces these rules in code review; `react-build-resolver` handles related build failures\n- Commands: `\u002Freact-review`, `\u002Freact-build`, `\u002Freact-test`\n\n## Attribution\n\nAdapted from Vercel Labs `react-best-practices` skill (MIT License, copyright Vercel Engineering, v1.0.0 January 2026). Source: [https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Freact-best-practices](https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Freact-best-practices).\n\nThis skill restructures and adapts the original 70-rule catalog into a single navigable reference. For the full original ruleset with extended examples, see the upstream repository.\n",{"name":5,"metadata":24,"description":7},{"origin":25},"ECC","main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Freact-performance",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill react-performance",{"tool":41,"command":42},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill react-performance",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill react-performance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Freact-performance\u002FSKILL.md",true,[],[50,59,66,74,81,88],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":55,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]