[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76W0MNADQDPJHZG0H2X8G07":3,"skill-same:01M76W0MNADQDPJHZG0H2X8G07":94},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M76W0MNADQDPJHZG0H2X8G07","nextjs-bundle-optimizer",null,"Next.js 16 bundle-size and build-time optimization — runs a data-driven iteration loop: measure baseline → analyze top offenders → apply ONE recipe → re-measure → verify nothing broke (build + types + tests + no regression) → commit or revert. Built for Next.js 16 with Turbopack default, and falls back to webpack-mode tooling when the project hasn't migrated yet. Triggers on phrases like \"First Load JS is huge\", \"bundle size\", \"build takes too long\", \"page is slow to TTI\", \"reduce bundle\", \"tree-shake\", or when the user shares output from `next experimental-analyze` \u002F `@next\u002Fbundle-analyzer` — even if the user doesn't say \"optimize\" explicitly.","ngxccc\u002Fagent-skills-kit","ngxccc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F163379246?v=4","01M758XVG64QK26AGK0WKB26TB","Ngoc Tran","01M758XVHB8J6MHV0YTBVDBXCA",0,"MIT","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: nextjs-bundle-optimizer\ndescription: 'Next.js 16 bundle-size and build-time optimization — runs a data-driven iteration loop: measure baseline → analyze top offenders → apply ONE recipe → re-measure → verify nothing broke (build + types + tests + no regression) → commit or revert. Built for Next.js 16 with Turbopack default, and falls back to webpack-mode tooling when the project hasn''t migrated yet. Triggers on phrases like \"First Load JS is huge\", \"bundle size\", \"build takes too long\", \"page is slow to TTI\", \"reduce bundle\", \"tree-shake\", or when the user shares output from `next experimental-analyze` \u002F `@next\u002Fbundle-analyzer` — even if the user doesn''t say \"optimize\" explicitly.'\n---\n\n# Next.js Bundle & Build-Time Optimizer\n\nData-driven optimization loop for Next.js 16 applications. The skill orchestrates `next experimental-analyze`, builds, type checks, and tests to make verifiable improvements one change at a time.\n\n## When to Apply\n\nUse this skill when:\n\n- The user wants to reduce bundle size \u002F First Load JS \u002F route bundles in a Next.js 16 app.\n- Production builds are slow and the user wants to diagnose and fix the bottleneck.\n- The user shares analyzer output, a screenshot of the treemap, or asks \"why is `\u003CX>` so big?\"\n- A new dependency was added and bundles grew — they want to understand why and unwind it.\n- The user wants to set a performance budget and enforce it iteratively.\n\n## Why iterative (not \"apply all optimizations at once\")\n\nBundle optimization is full of foot-guns. Examples:\n\n- Moving a \"client-only\" dep behind `next\u002Fdynamic` can break SSR consumers that depended on its presence at first paint.\n- `experimental.optimizePackageImports` with the wrong package can mis-resolve subpath exports.\n- Aggressive `modularizeImports` regex rewrites can hit unintended modules.\n- Narrowing the polyfill target can break older mobile browsers in production.\n\nThe only reliable way is: **one change, measure, verify, commit (or revert)**. This skill enforces that discipline through scripts.\n\n## Prerequisites\n\n- Next.js 16+ project (the skill auto-detects from `package.json`).\n- `git` (the workflow uses commits as checkpoints and revert as rollback).\n- `jq` available on PATH (used by analyze\u002Fcompare scripts).\n- A clean working tree before starting (the verify step uses `git status` to confirm).\n- For projects still on Next.js 15 or earlier in webpack mode: the skill detects this and uses `@next\u002Fbundle-analyzer` instead of `experimental-analyze`. See [gotchas.md](gotchas.md).\n\n## Setup\n\nOn first use, run:\n\n```bash\nbash scripts\u002Fbaseline.sh --setup\n```\n\nThis walks through `config.json` interactively. If `config.json` already has values, scripts use those and skip the prompts.\n\n## Workflow Overview\n\n```\n┌── 1. baseline ──┐   Clean build, snapshot bundles + timing → baselines\u002F{timestamp}\u002F\n│                 │\n│   2. analyze ───┤   Run `next experimental-analyze --output`, extract top offenders\n│                 │\n│   3. diagnose ──┤   Map each offender to a recipe in references\u002Foptimizations.md\n│                 │\n│   ── apply ─────┤   User (or agent) applies ONE recipe. Skill helps draft the change.\n│                 │\n│   4. measure ───┤   Re-build, re-analyze, save to iterations\u002F{n}\u002F\n│                 │\n│   5. compare ───┤   Diff vs baseline; flag regressions; print delta table\n│                 │\n│   6. verify ────┤   Build + tsc + tests + no overall regression. Hard PASS\u002FFAIL.\n│                 │\n│   commit OR ────┘   `git commit` (PASS+improvement) or `git revert` (FAIL\u002Fno win)\n│   revert\n│\n└── loop back to step 2 with new baseline if you want a fresh measurement point.\n```\n\nRead [references\u002Fworkflow.md](references\u002Fworkflow.md) for the detailed loop with error handling, rollback procedures, and what each script's output looks like.\n\n## Quick Reference\n\n### Scripts (run from the Next.js app root)\n\n| Script                                    | Purpose                           | Output                                         |\n| ----------------------------------------- | --------------------------------- | ---------------------------------------------- |\n| `scripts\u002Fbaseline.sh`                     | Establish the reference point     | `baselines\u002F{ts}\u002F{bundle,timing,manifest}.json` |\n| `scripts\u002Fanalyze.sh`                      | Run analyzer, parse top offenders | `iterations\u002F{n}\u002Ffindings.json`                 |\n| `scripts\u002Fdiagnose.sh [findings.json]`     | Map findings → recipes            | stdout: prioritized recipe list                |\n| `scripts\u002Fmeasure.sh`                      | Re-measure after a change         | `iterations\u002F{n}\u002F{bundle,timing}.json`          |\n| `scripts\u002Fcompare.sh [baseline] [current]` | Diff snapshots                    | stdout: delta table; exit 1 on regression      |\n| `scripts\u002Fverify.sh`                       | Full verification                 | exit 0 = safe to commit, exit 1 = revert       |\n\n### Optimization Recipes\n\n[references\u002Foptimizations.md](references\u002Foptimizations.md) catalogs recipes by analyzer signal:\n\n**Bundle size**\n\n- Barrel-import bloat → `experimental.optimizePackageImports` (webpack) \u002F auto in Turbopack\n- Heavy client lib pulled in on every route → `next\u002Fdynamic({ ssr: false })`\n- Server-only lib imported from a client component → move to Server Component\n- Duplicate dependency versions → dedupe via `overrides` \u002F `resolutions`\n- Polyfill bloat → tighten `browserslist`\n- Per-icon imports for icon libraries\n\n**Build time**\n\n- Enable `experimental.turbopackFileSystemCacheForBuild`\n- Narrow `transpilePackages` (overuse balloons compile time)\n- Split `tsc --noEmit` from `next build` in CI\n- Identify single-file bottlenecks with `NEXT_TURBOPACK_TRACING=1`\n\nEach recipe documents: **signal → fix → expected impact → verify step**.\n\n## Gotchas\n\nSee [gotchas.md](gotchas.md) for accumulated failure points. Initially seeded with the most common Next.js 16 traps:\n\n- `next build` no longer prints First Load JS — don't grep build output for it.\n- `optimizePackageImports` is a no-op under Turbopack (default in 16) — Turbopack auto-optimizes.\n- Comparing build times needs cache state controlled — either delete `.next\u002F` (cold) or pre-warm (warm).\n\n## Related Skills\n\n- `vercel:nextjs` — general Next.js App Router guidance; consult for refactoring decisions while applying recipes.\n- `vercel:turbopack` — for build-time debugging beyond what this skill covers.\n- `vercel:next-cache-components` — when a recipe touches caching boundaries.\n","# Next.js Bundle & Build-Time Optimizer\n\nData-driven optimization loop for Next.js 16 applications. The skill orchestrates `next experimental-analyze`, builds, type checks, and tests to make verifiable improvements one change at a time.\n\n## When to Apply\n\nUse this skill when:\n\n- The user wants to reduce bundle size \u002F First Load JS \u002F route bundles in a Next.js 16 app.\n- Production builds are slow and the user wants to diagnose and fix the bottleneck.\n- The user shares analyzer output, a screenshot of the treemap, or asks \"why is `\u003CX>` so big?\"\n- A new dependency was added and bundles grew — they want to understand why and unwind it.\n- The user wants to set a performance budget and enforce it iteratively.\n\n## Why iterative (not \"apply all optimizations at once\")\n\nBundle optimization is full of foot-guns. Examples:\n\n- Moving a \"client-only\" dep behind `next\u002Fdynamic` can break SSR consumers that depended on its presence at first paint.\n- `experimental.optimizePackageImports` with the wrong package can mis-resolve subpath exports.\n- Aggressive `modularizeImports` regex rewrites can hit unintended modules.\n- Narrowing the polyfill target can break older mobile browsers in production.\n\nThe only reliable way is: **one change, measure, verify, commit (or revert)**. This skill enforces that discipline through scripts.\n\n## Prerequisites\n\n- Next.js 16+ project (the skill auto-detects from `package.json`).\n- `git` (the workflow uses commits as checkpoints and revert as rollback).\n- `jq` available on PATH (used by analyze\u002Fcompare scripts).\n- A clean working tree before starting (the verify step uses `git status` to confirm).\n- For projects still on Next.js 15 or earlier in webpack mode: the skill detects this and uses `@next\u002Fbundle-analyzer` instead of `experimental-analyze`. See [gotchas.md](gotchas.md).\n\n## Setup\n\nOn first use, run:\n\n```bash\nbash scripts\u002Fbaseline.sh --setup\n```\n\nThis walks through `config.json` interactively. If `config.json` already has values, scripts use those and skip the prompts.\n\n## Workflow Overview\n\n```\n┌── 1. baseline ──┐   Clean build, snapshot bundles + timing → baselines\u002F{timestamp}\u002F\n│                 │\n│   2. analyze ───┤   Run `next experimental-analyze --output`, extract top offenders\n│                 │\n│   3. diagnose ──┤   Map each offender to a recipe in references\u002Foptimizations.md\n│                 │\n│   ── apply ─────┤   User (or agent) applies ONE recipe. Skill helps draft the change.\n│                 │\n│   4. measure ───┤   Re-build, re-analyze, save to iterations\u002F{n}\u002F\n│                 │\n│   5. compare ───┤   Diff vs baseline; flag regressions; print delta table\n│                 │\n│   6. verify ────┤   Build + tsc + tests + no overall regression. Hard PASS\u002FFAIL.\n│                 │\n│   commit OR ────┘   `git commit` (PASS+improvement) or `git revert` (FAIL\u002Fno win)\n│   revert\n│\n└── loop back to step 2 with new baseline if you want a fresh measurement point.\n```\n\nRead [references\u002Fworkflow.md](references\u002Fworkflow.md) for the detailed loop with error handling, rollback procedures, and what each script's output looks like.\n\n## Quick Reference\n\n### Scripts (run from the Next.js app root)\n\n| Script                                    | Purpose                           | Output                                         |\n| ----------------------------------------- | --------------------------------- | ---------------------------------------------- |\n| `scripts\u002Fbaseline.sh`                     | Establish the reference point     | `baselines\u002F{ts}\u002F{bundle,timing,manifest}.json` |\n| `scripts\u002Fanalyze.sh`                      | Run analyzer, parse top offenders | `iterations\u002F{n}\u002Ffindings.json`                 |\n| `scripts\u002Fdiagnose.sh [findings.json]`     | Map findings → recipes            | stdout: prioritized recipe list                |\n| `scripts\u002Fmeasure.sh`                      | Re-measure after a change         | `iterations\u002F{n}\u002F{bundle,timing}.json`          |\n| `scripts\u002Fcompare.sh [baseline] [current]` | Diff snapshots                    | stdout: delta table; exit 1 on regression      |\n| `scripts\u002Fverify.sh`                       | Full verification                 | exit 0 = safe to commit, exit 1 = revert       |\n\n### Optimization Recipes\n\n[references\u002Foptimizations.md](references\u002Foptimizations.md) catalogs recipes by analyzer signal:\n\n**Bundle size**\n\n- Barrel-import bloat → `experimental.optimizePackageImports` (webpack) \u002F auto in Turbopack\n- Heavy client lib pulled in on every route → `next\u002Fdynamic({ ssr: false })`\n- Server-only lib imported from a client component → move to Server Component\n- Duplicate dependency versions → dedupe via `overrides` \u002F `resolutions`\n- Polyfill bloat → tighten `browserslist`\n- Per-icon imports for icon libraries\n\n**Build time**\n\n- Enable `experimental.turbopackFileSystemCacheForBuild`\n- Narrow `transpilePackages` (overuse balloons compile time)\n- Split `tsc --noEmit` from `next build` in CI\n- Identify single-file bottlenecks with `NEXT_TURBOPACK_TRACING=1`\n\nEach recipe documents: **signal → fix → expected impact → verify step**.\n\n## Gotchas\n\nSee [gotchas.md](gotchas.md) for accumulated failure points. Initially seeded with the most common Next.js 16 traps:\n\n- `next build` no longer prints First Load JS — don't grep build output for it.\n- `optimizePackageImports` is a no-op under Turbopack (default in 16) — Turbopack auto-optimizes.\n- Comparing build times needs cache state controlled — either delete `.next\u002F` (cold) or pre-warm (warm).\n\n## Related Skills\n\n- `vercel:nextjs` — general Next.js App Router guidance; consult for refactoring decisions while applying recipes.\n- `vercel:turbopack` — for build-time debugging beyond what this skill covers.\n- `vercel:next-cache-components` — when a recipe touches caching boundaries.\n",{"name":5,"description":7},"main","1ef0dcd00fe806a8dc4e0b7173b9db967c3ab274","skills\u002F.curated\u002Fnextjs-bundle-optimizer","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit","https:\u002F\u002Fgithub.com\u002Fngxccc","https:\u002F\u002Fngxccc.github.io","Make it work, make it right, make it fast.","2026-08-02 20:59:07",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add ngxccc\u002Fagent-skills-kit --skill nextjs-bundle-optimizer",{"tool":38,"command":39},"bunx","bunx skills add ngxccc\u002Fagent-skills-kit --skill nextjs-bundle-optimizer",{"tool":41,"command":42},"pnpm","pnpm dlx skills add ngxccc\u002Fagent-skills-kit --skill nextjs-bundle-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002FSKILL.md",true,[46,52,56,60,64,70,74,78,82,86,90],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"config.json","REFERENCE","参考文档",1157,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fconfig.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"gotchas.md",2749,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fgotchas.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Foptimizations.md",13577,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Freferences\u002Foptimizations.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fworkflow.md",10388,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Freferences\u002Fworkflow.md",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002F_common.sh","SCRIPT","脚本",2279,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fscripts\u002F_common.sh",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Fanalyze.sh",5829,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fscripts\u002Fanalyze.sh",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fbaseline.sh",4742,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fscripts\u002Fbaseline.sh",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fcompare.sh",3342,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fscripts\u002Fcompare.sh",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fdiagnose.sh",4784,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fscripts\u002Fdiagnose.sh",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fmeasure.sh",1915,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fscripts\u002Fmeasure.sh",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fverify.sh",2436,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fnextjs-bundle-optimizer\u002Fscripts\u002Fverify.sh",[95,102,109,116,123,130],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M76W3C8X6Q5DS0364KQT7W7A","zustand","Rules and standards for state management using Zustand in React and Next.js. Use when implementing client-side stores, persistence with localStorage, or preventing SSR hydration mismatch.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fzustand\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M76W39FJGES309VAH7SFWA9Y","zod","Zod v4 schema validation best practices. Use when defining schemas, utilizing safeParse, or customizing error messages.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fzod\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M76W36HTYA4BR5FKCWMX1RFR","upstash-ratelimit","Rules, standards, and references for rate limiting in serverless environments using Upstash Ratelimit. Use when implementing rate limiting, configuring Upstash Redis, or handling request blocking.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fupstash-ratelimit\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M76W32H4PS01WFRS7FNPK2G1","ui-design","UI\u002FUX and frontend design best practices guidelines (formerly frontend-design). This skill should be used when writing, reviewing, or designing frontend code to ensure accessibility, performance, and usability. Triggers on tasks involving HTML structure, CSS styling, responsive layouts, form design, animations, or accessibility improvements.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fui-design\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M76W2YAP6RK8N0EVWFG54VD7","typescript","TypeScript performance, tsconfig, type errors, async patterns — triggered when the user asks to \"optimize TypeScript performance\", \"speed up tsc compilation\", \"configure tsconfig.json\", \"fix type errors\", \"improve async patterns\", or encounters TS errors (TS2322, TS2339, \"is not assignable to\"). Also triggers on .ts, .tsx, .d.ts file work involving type definitions, module organization, or memory management. Does NOT cover TypeScript basics, framework-specific patterns, or testing.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Ftypescript\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M76W2RMAZNNJQ2HECH3X6ZSH","typescript-refactor","TypeScript and TSX refactoring and modernization guidelines from a principal specialist perspective, current to TypeScript 6.0 and React 19. This skill should be used when refactoring, reviewing, or modernizing TypeScript or React\u002FTSX code for type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving type architecture, narrowing, generics, discriminated unions, error handling, React component and hook typing, or migration to modern TypeScript features (satisfies, using, const type parameters, inferred type predicates, isolatedDeclarations, erasable syntax, import attributes).","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Ftypescript-refactor\u002FSKILL.md",[],[]]