Individual skill
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.
skills/.curated/nuqs-codemod-runner/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 222
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: codex
- engineering Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
AGENTS.mddoc · 204 bytesSKILL.mdcore · 5,619 bytesSKILL.mdcore · 5,619 bytesSKILL.mdcore · 5,619 bytesSKILL.mdcore · 5,619 bytesSKILL.mdcore · 5,619 bytesSKILL.mdcore · 5,619 bytesSKILL.mdcore · 5,619 bytesSKILL.mdcore · 5,619 bytesconfig.jsonasset · 1,143 bytesgotchas.mddoc · 412 byteshooks/hooks.jsonasset · 273 bytesmetadata.jsonasset · 757 bytesreferences/workflow.mddoc · 6,438 bytesscripts/apply.shruns · 4,438 bytesscripts/guardrail.shruns · 865 bytesscripts/report.shruns · 3,158 bytesscripts/scan.shruns · 5,057 bytesscripts/transforms/manual-debounce.jsruns · 8,548 bytesscripts/transforms/parser-builder-type.jsruns · 2,304 bytesscripts/transforms/react-router-unversioned.jsruns · 915 bytesscripts/transforms/throttle-ms.jsruns · 3,456 bytesscripts/transforms/unchecked-json-cast.jsruns · 3,368 bytesscripts/verify.shruns · 1,574 bytes
Read excerpt
# nuqs Codemod Runner
Migrate a codebase from pre-v2.5 nuqs patterns to current v2.5–v2.8 idioms. The skill is **read-only by default** — it never modifies files without an explicit confirmation step, and refuses to run on a dirty git working tree.
## When to Apply
Trigger this skill when:
- A user asks to "upgrade nuqs" or "migrate to nuqs 2.x" in a project that already uses nuqs
- You spot any of the 5 legacy patterns during a review (see the codemod table below)
- A `nuqs` version bump in `package.json` from `<2.5` to `>=2.5` is part of the diff
- The user has just installed/updated the [`nuqs` skill](../nuqs/SKILL.md) and wants to bring existing code into line with it
This skill is the **automation companion** to `skills/.curated/nuqs/` — that skill teaches what each correct pattern looks like; this skill rewrites legacy code to match.
## Workflow Overview