Nuqs Codemod Runner

Migrates a nuqs codebase off pre-v2.5 patterns — deprecated `throttleMs`, hand-rolled setTimeout/useState debounce around `useQueryState`, unchecked `parseAsJson` casts, unversioned `nuqs/adapters/react-router` imports, or `ParserBuilder<T>` type references. Scans the repo, produces a dry-run report, asks for confirmation, applies AST codemods, then runs `tsc --noEmit` + the user's lint as a gate. Trigger even if the user only mentions "upgrade nuqs" or "migrate to nuqs v2.5+" without naming the specific patterns — they almost always exist in pre-v2.5 codebases.

pproenca 9bcc2de 17 files · 47.5 KB Updated

File contents

pproenca/dot-skills/tree/main/skills/.curated/nuqs-codemod-runner commit 9bcc2defd9

Frequently asked questions

npx skillmds add pproenca/nuqs-codemod-runner