Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

nuqs

FreeNo executable scriptsNot checked

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code…

pproencaby pproenca★ 231 GitHub stars

About this skill

Community nuqs Best Practices for Next.js & React

Comprehensive guide for type-safe URL query state management with nuqs across Next.js, React Router, TanStack Router, Remix, and plain React. Covers nuqs v2.5–v2.9 features. Contains 39 rules across 8 categories, prioritized by impact to guide code generation, refactoring, and code review.

When to Apply

Reference these guidelines when:

  • Implementing URL-based state with nuqs
  • Setting up nuqs in a Next.js or React Router project
  • Configuring parsers for URL parameters
  • Integrating URL state with Server Components
  • Optimizing URL update performance (limitUrlUpdates, key isolation)
  • Sharing parser definitions with tRPC / TanStack Router / forms via Standard Schema
  • Debugging nuqs-related issues

Rule Categories by Priority

Priority Category Impact Prefix
1 Parser Configuration CRITICAL parser-
2 Adapter & Setup CRITICAL setup-
3 State Management HIGH state-
4 Server Integration HIGH server-
5 Performance Optimization MEDIUM perf-
6 History & Navigation MEDIUM history-
7 Debugging & Testing LOW-MEDIUM debug-
8 Advanced Patterns LOW advanced-

Quick Reference

1. Parser Configuration (CRITICAL)

2. Adapter & Setup (CRITICAL)

3. State Management (HIGH)

4. Server Integration (HIGH)

5. Performance Optimization (MEDIUM)

6. History & Navigation (MEDIUM)

7. Debugging & Testing (LOW-M

Full SKILL.md on GitHub

Install nuqs in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

AGENTS.mdREADME.mdassets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/advanced-custom-parsers.mdreferences/advanced-eq-function.mdreferences/advanced-framework-adapters.mdreferences/advanced-process-url-search-params.mdreferences/advanced-url-keys.mdreferences/debug-enable-logging.mdreferences/debug-testing.mdreferences/history-push-navigation.mdreferences/history-scroll-behavior.mdreferences/parser-array-format.mdreferences/parser-date-format.mdreferences/parser-enum-validation.mdreferences/parser-index-offset.mdreferences/parser-json-validation.mdreferences/parser-use-typed-parsers.mdreferences/parser-with-default.mdreferences/perf-avoid-rerender.mdreferences/perf-clear-on-default.mdreferences/perf-debounce-search.mdreferences/perf-key-isolation.mdreferences/perf-serialize-utility.mdreferences/perf-throttle-updates.mdreferences/server-next15-async.mdreferences/server-parse-before-get.mdreferences/server-search-params-cache.mdreferences/server-shallow-false.mdreferences/server-use-transition.mdreferences/setup-default-options.mdreferences/setup-import-server.mdreferences/setup-nextjs-version.mdreferences/setup-nuqs-adapter.mdreferences/setup-shared-parsers.mdreferences/setup-use-client.mdreferences/state-avoid-derived.mdreferences/state-clear-with-null.md

FAQ

What does the nuqs skill do?

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.

How do I install the nuqs skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the nuqs skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare nuqs with