[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B2XDD7WTKSA6DXFVBDA7VY":3,"skill-same:01M7B2XDD7WTKSA6DXFVBDA7VY":50},{"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":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7B2XDD7WTKSA6DXFVBDA7VY","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.","lytong760-cell\u002Fcompiler_ko","lytong760-cell","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F289977458?v=4","01M7B1YD239K88PFQRD4PVC9DW","Nguyên Games","01M7B1YD2RM70TZ71QNQ0XTN4R",2,"MIT","https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko\u002Fblob\u002Fmain\u002F.kilo\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","c32dc0b68600587f78aff3310f3bbd4212173ab3",".kilo\u002Fskills\u002Freact-performance",1,"https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko","https:\u002F\u002Fko-lang.ai.studio","https:\u002F\u002Fgithub.com\u002Flytong760-cell","hanaminikata.com","hello ","2026-11-05 18:26:32",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lytong760-cell\u002Fcompiler_ko --skill react-performance",{"tool":42,"command":43},"bunx","bunx skills add lytong760-cell\u002Fcompiler_ko --skill react-performance",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lytong760-cell\u002Fcompiler_ko --skill react-performance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko\u002Fblob\u002Fmain\u002F.kilo\u002Fskills\u002Freact-performance\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7B36K22Z7155PTGEGTSDNJ4","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko\u002Fblob\u002Fmain\u002F.kilo\u002Fskills\u002Fx-api\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7B36HCAE9ESGBVS6J0FR52F","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko\u002Fblob\u002Fmain\u002F.kilo\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7B36DYH4ZFJ3GZHPAEMVQAY","workspace-surface-audit","Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.","https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko\u002Fblob\u002Fmain\u002F.kilo\u002Fskills\u002Fworkspace-surface-audit\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7B36A1QXMEZT8VZMFVQNR5E","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko\u002Fblob\u002Fmain\u002F.kilo\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7B364EK3N88VQQJ6HFATJQE","windows-desktop-e2e","E2E testing for Windows native desktop apps (WPF, WinForms, Win32\u002FMFC, Qt) using pywinauto and Windows UI Automation. Use when writing E2E tests for a Windows native desktop app with pywinauto or UI Automation.","https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko\u002Fblob\u002Fmain\u002F.kilo\u002Fskills\u002Fwindows-desktop-e2e\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7B360YF7GGNAF21KT4QB5PG","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Flytong760-cell\u002Fcompiler_ko\u002Fblob\u002Fmain\u002F.kilo\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[]]