[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76W19TQEY7GRRPW7E5RJ63Z":3,"skill-same:01M76W19TQEY7GRRPW7E5RJ63Z":98},{"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},"01M76W19TQEY7GRRPW7E5RJ63Z","react-hook-form-audit",null,"Audits a Next.js (App Router, 14\u002F15+) codebase for React Hook Form anti-patterns — watch() at form root, Controller inlined in parent, async submit without try\u002Fcatch, missing setError on server failures, RHF in non-\"use client\" files, RHF mixed with useActionState, schemas defined inside components, useFieldArray without field.id keys, register({ disabled }) for visual disabling. Read-only; emits a markdown report with file:line citations linking back to the companion `react-hook-form` distillation skill. Trigger when the user asks to audit\u002Freview\u002Flint RHF usage, find form anti-patterns, or run a quality check on forms — even if they don't say \"react-hook-form\" by name; if they mention auditing forms in a Next.js project, use this skill.","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\u002Freact-hook-form-audit\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: react-hook-form-audit\ndescription: Audits a Next.js (App Router, 14\u002F15+) codebase for React Hook Form anti-patterns — watch() at form root, Controller inlined in parent, async submit without try\u002Fcatch, missing setError on server failures, RHF in non-\"use client\" files, RHF mixed with useActionState, schemas defined inside components, useFieldArray without field.id keys, register({ disabled }) for visual disabling. Read-only; emits a markdown report with file:line citations linking back to the companion `react-hook-form` distillation skill. Trigger when the user asks to audit\u002Freview\u002Flint RHF usage, find form anti-patterns, or run a quality check on forms — even if they don't say \"react-hook-form\" by name; if they mention auditing forms in a Next.js project, use this skill.\n---\n\n# React Hook Form Audit for Next.js\n\nStatic-analysis audit that detects 15 React Hook Form anti-patterns in Next.js App Router codebases. Combines ripgrep (fast pass for regex-detectable rules) with ts-morph (AST pass for structural rules). Outputs a markdown report grouped by severity, with file:line references and links back to the companion `react-hook-form` distillation skill.\n\n## When to Apply\n\n- User asks to audit, review, or lint React Hook Form usage in a Next.js project\n- User reports symptoms like \"the form re-renders too much\" or \"we have RHF bugs we can't pin down\"\n- Before a PR review of new RHF-heavy code\n- As a CI gate (exit code 1 on CRITICAL\u002FHIGH findings)\n- After upgrading react-hook-form, to catch advice that drifted\n\n## Tool Requirements\n\n- `rg` (ripgrep) — install via `brew install ripgrep` or your package manager\n- `node` ≥ 18 with `npm` — used to run the AST detectors via `ts-morph`\n- `jq` — for JSON munging in the orchestrator\n\n`ts-morph` is installed on first run into `scripts\u002Fnode_modules\u002F` (one-time, ~30s). The skill never touches the audited project's `node_modules`.\n\n## Risk Level\n\n**Read-only.** The skill reads source files and writes one markdown report (plus an optional JSON sidecar) to the audited project root. No git operations, no package mutations, no network calls.\n\n## Workflow Overview\n\n```\n1. detect-project.sh   Verify Next.js + react-hook-form in package.json\n2. collect-files.sh    Ripgrep for \"use client\" files importing RHF\n3. detect-fast.sh      Ripgrep detectors (rules 5, 11, 14)\n4. detect-ast.mjs      ts-morph detectors (rules 1-4, 6-10, 12-13, 15)\n5. render-report.mjs   Render markdown + JSON; print summary; exit 0\u002F1\n```\n\nSee [`references\u002Fworkflow.md`](references\u002Fworkflow.md) for the per-step contract, error handling, and CI integration.\n\n## Usage\n\n```bash\n# Audit the current directory\nbash scripts\u002Faudit.sh\n\n# Audit a specific project\nbash scripts\u002Faudit.sh --project \u002Fpath\u002Fto\u002Fnextjs-app\n\n# Preview without writing the report file\nbash scripts\u002Faudit.sh --dry-run\n```\n\nExit codes:\n\n- `0` — no CRITICAL or HIGH findings\n- `1` — CRITICAL or HIGH findings exist\n- `2` — environment or configuration error (missing tool, invalid project)\n\n## Detector Catalog\n\n15 detectors across 4 severities. See [`references\u002Fdetectors.md`](references\u002Fdetectors.md) for per-rule pattern, AST shape, false-positive notes, and the line of advice each detector enforces.\n\n| ID  | Severity | What it catches                                         |\n| --- | -------- | ------------------------------------------------------- |\n| 01  | CRITICAL | `watch()` in same component as `useForm()`              |\n| 02  | CRITICAL | `watch()` with no args (subscribes to all fields)       |\n| 03  | CRITICAL | `useForm()` without `defaultValues`                     |\n| 04  | CRITICAL | `useEffect` depends on the `useForm` return             |\n| 05  | CRITICAL | RHF imported in a non-`\"use client\"` file               |\n| 06  | HIGH     | `\u003CController>` inlined inside `useForm()` parent        |\n| 07  | HIGH     | Async submit handler without `try\u002Fcatch`                |\n| 08  | HIGH     | Validation schema defined inside the component          |\n| 09  | HIGH     | Submit calls fetch\u002Faxios but never `setError('root.*')` |\n| 10  | HIGH     | RHF mixed with `useActionState` in same component       |\n| 11  | MEDIUM   | `mode: 'onChange'` without explanatory comment          |\n| 12  | MEDIUM   | `register({ disabled: \u003Cstate> })` for visual disable    |\n| 13  | MEDIUM   | `useFieldArray` map missing `field.id` as key           |\n| 14  | LOW      | `reValidateMode: 'onBlur'` (now demoted advice)         |\n| 15  | LOW      | `useFormContext()` usage (manual review)                |\n\n## How to Use\n\n1. Confirm project is a Next.js App Router app with react-hook-form installed (`detect-project.sh` will check)\n2. Run `bash scripts\u002Faudit.sh [--project \u003Cpath>]`\n3. Read the generated `.rhf-audit-report.md` in the project root\n4. For each finding, follow the link to the companion distillation rule for the fix\n5. After fixing, re-run to verify a clean audit\n\nIf a detector is too noisy in your project, narrow `include_globs` \u002F widen `exclude_globs` in `config.json` rather than disabling detectors — the catalog is small enough that each finding should be either a real issue or a documented exception worth a comment.\n\n## Setup\n\nThe skill ships with sensible defaults in `config.json`. On first run, `audit.sh` will install `ts-morph` into `scripts\u002Fnode_modules\u002F`. Override settings by editing `config.json`:\n\n- `project_root` — absolute path to the project (defaults to current directory)\n- `report_path` \u002F `json_report_path` — output filenames (relative to project root)\n- `rule_link_base` — base URL or path for companion-rule links\n- `include_globs` \u002F `exclude_globs` — narrow the scan surface\n\n## Reference Files\n\n- [`references\u002Fworkflow.md`](references\u002Fworkflow.md) — detailed workflow, error handling, CI integration\n- [`references\u002Fdetectors.md`](references\u002Fdetectors.md) — per-detector spec, AST shape, false-positive notes\n- [`gotchas.md`](gotchas.md) — accumulated failure modes (append-only)\n\n## Related Skills\n\n- `react-hook-form` — the companion distillation skill with the 45 rules this auditor enforces. Findings link directly to its reference files.\n- `react-19` — for Server Action \u002F `useActionState` patterns the audit explicitly does NOT cover\n","# React Hook Form Audit for Next.js\n\nStatic-analysis audit that detects 15 React Hook Form anti-patterns in Next.js App Router codebases. Combines ripgrep (fast pass for regex-detectable rules) with ts-morph (AST pass for structural rules). Outputs a markdown report grouped by severity, with file:line references and links back to the companion `react-hook-form` distillation skill.\n\n## When to Apply\n\n- User asks to audit, review, or lint React Hook Form usage in a Next.js project\n- User reports symptoms like \"the form re-renders too much\" or \"we have RHF bugs we can't pin down\"\n- Before a PR review of new RHF-heavy code\n- As a CI gate (exit code 1 on CRITICAL\u002FHIGH findings)\n- After upgrading react-hook-form, to catch advice that drifted\n\n## Tool Requirements\n\n- `rg` (ripgrep) — install via `brew install ripgrep` or your package manager\n- `node` ≥ 18 with `npm` — used to run the AST detectors via `ts-morph`\n- `jq` — for JSON munging in the orchestrator\n\n`ts-morph` is installed on first run into `scripts\u002Fnode_modules\u002F` (one-time, ~30s). The skill never touches the audited project's `node_modules`.\n\n## Risk Level\n\n**Read-only.** The skill reads source files and writes one markdown report (plus an optional JSON sidecar) to the audited project root. No git operations, no package mutations, no network calls.\n\n## Workflow Overview\n\n```\n1. detect-project.sh   Verify Next.js + react-hook-form in package.json\n2. collect-files.sh    Ripgrep for \"use client\" files importing RHF\n3. detect-fast.sh      Ripgrep detectors (rules 5, 11, 14)\n4. detect-ast.mjs      ts-morph detectors (rules 1-4, 6-10, 12-13, 15)\n5. render-report.mjs   Render markdown + JSON; print summary; exit 0\u002F1\n```\n\nSee [`references\u002Fworkflow.md`](references\u002Fworkflow.md) for the per-step contract, error handling, and CI integration.\n\n## Usage\n\n```bash\n# Audit the current directory\nbash scripts\u002Faudit.sh\n\n# Audit a specific project\nbash scripts\u002Faudit.sh --project \u002Fpath\u002Fto\u002Fnextjs-app\n\n# Preview without writing the report file\nbash scripts\u002Faudit.sh --dry-run\n```\n\nExit codes:\n\n- `0` — no CRITICAL or HIGH findings\n- `1` — CRITICAL or HIGH findings exist\n- `2` — environment or configuration error (missing tool, invalid project)\n\n## Detector Catalog\n\n15 detectors across 4 severities. See [`references\u002Fdetectors.md`](references\u002Fdetectors.md) for per-rule pattern, AST shape, false-positive notes, and the line of advice each detector enforces.\n\n| ID  | Severity | What it catches                                         |\n| --- | -------- | ------------------------------------------------------- |\n| 01  | CRITICAL | `watch()` in same component as `useForm()`              |\n| 02  | CRITICAL | `watch()` with no args (subscribes to all fields)       |\n| 03  | CRITICAL | `useForm()` without `defaultValues`                     |\n| 04  | CRITICAL | `useEffect` depends on the `useForm` return             |\n| 05  | CRITICAL | RHF imported in a non-`\"use client\"` file               |\n| 06  | HIGH     | `\u003CController>` inlined inside `useForm()` parent        |\n| 07  | HIGH     | Async submit handler without `try\u002Fcatch`                |\n| 08  | HIGH     | Validation schema defined inside the component          |\n| 09  | HIGH     | Submit calls fetch\u002Faxios but never `setError('root.*')` |\n| 10  | HIGH     | RHF mixed with `useActionState` in same component       |\n| 11  | MEDIUM   | `mode: 'onChange'` without explanatory comment          |\n| 12  | MEDIUM   | `register({ disabled: \u003Cstate> })` for visual disable    |\n| 13  | MEDIUM   | `useFieldArray` map missing `field.id` as key           |\n| 14  | LOW      | `reValidateMode: 'onBlur'` (now demoted advice)         |\n| 15  | LOW      | `useFormContext()` usage (manual review)                |\n\n## How to Use\n\n1. Confirm project is a Next.js App Router app with react-hook-form installed (`detect-project.sh` will check)\n2. Run `bash scripts\u002Faudit.sh [--project \u003Cpath>]`\n3. Read the generated `.rhf-audit-report.md` in the project root\n4. For each finding, follow the link to the companion distillation rule for the fix\n5. After fixing, re-run to verify a clean audit\n\nIf a detector is too noisy in your project, narrow `include_globs` \u002F widen `exclude_globs` in `config.json` rather than disabling detectors — the catalog is small enough that each finding should be either a real issue or a documented exception worth a comment.\n\n## Setup\n\nThe skill ships with sensible defaults in `config.json`. On first run, `audit.sh` will install `ts-morph` into `scripts\u002Fnode_modules\u002F`. Override settings by editing `config.json`:\n\n- `project_root` — absolute path to the project (defaults to current directory)\n- `report_path` \u002F `json_report_path` — output filenames (relative to project root)\n- `rule_link_base` — base URL or path for companion-rule links\n- `include_globs` \u002F `exclude_globs` — narrow the scan surface\n\n## Reference Files\n\n- [`references\u002Fworkflow.md`](references\u002Fworkflow.md) — detailed workflow, error handling, CI integration\n- [`references\u002Fdetectors.md`](references\u002Fdetectors.md) — per-detector spec, AST shape, false-positive notes\n- [`gotchas.md`](gotchas.md) — accumulated failure modes (append-only)\n\n## Related Skills\n\n- `react-hook-form` — the companion distillation skill with the 45 rules this auditor enforces. Findings link directly to its reference files.\n- `react-19` — for Server Action \u002F `useActionState` patterns the audit explicitly does NOT cover\n",{"name":5,"description":7},"main","1ef0dcd00fe806a8dc4e0b7173b9db967c3ab274","skills\u002F.curated\u002Freact-hook-form-audit","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 react-hook-form-audit",{"tool":38,"command":39},"bunx","bunx skills add ngxccc\u002Fagent-skills-kit --skill react-hook-form-audit",{"tool":41,"command":42},"pnpm","pnpm dlx skills add ngxccc\u002Fagent-skills-kit --skill react-hook-form-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002FSKILL.md",true,[46,52,56,60,64,70,74,78,82,86,90,94],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"config.json","REFERENCE","参考文档",1413,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fconfig.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"gotchas.md",233,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fgotchas.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fdetectors.md",11112,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Freferences\u002Fdetectors.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fworkflow.md",8698,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Freferences\u002Fworkflow.md",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002F.gitignore","SCRIPT","脚本",32,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fscripts\u002F.gitignore",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Faudit.sh",5210,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fscripts\u002Faudit.sh",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fcollect-files.sh",1336,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fscripts\u002Fcollect-files.sh",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fdetect-ast.mjs",19402,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fscripts\u002Fdetect-ast.mjs",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fdetect-fast.sh",3276,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fscripts\u002Fdetect-fast.sh",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fdetect-project.sh",1918,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fscripts\u002Fdetect-project.sh",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fpackage.json",281,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fscripts\u002Fpackage.json",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Frender-report.mjs",4454,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Freact-hook-form-audit\u002Fscripts\u002Frender-report.mjs",[99,106,113,120,127,134],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"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":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"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":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"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":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"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":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"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":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"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",[],[]]