nuqs

pproenca/dot-skills · updated Apr 20, 2026

$npx skills add https://github.com/pproenca/dot-skills --skill nuqs
0 commentsdiscussion
summary

Type-safe URL query state management for Next.js with 42 prioritized best practices across parser configuration, setup, and server integration.

  • Covers critical parser configuration (typed parsers, defaults, enums, arrays, JSON, dates) and adapter setup (NuqsAdapter, 'use client' directives, Next.js version compatibility)
  • Includes high-impact state management patterns using useQueryStates, functional updates, null clearing, and controlled inputs
  • Provides server integration guidance fo
skill.md

Community nuqs Best Practices for Next.js

Comprehensive guide for type-safe URL query state management with nuqs in Next.js applications. Contains 42 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 project
  • Configuring parsers for URL parameters
  • Integrating URL state with Server Components
  • Optimizing URL update performance
  • 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-MEDIUM)

8. Advanced Patterns (LOW)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

File Description
AGENTS.md Complete compiled guide with all rules
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules
metadata.json Version and reference information

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.744 reviews
  • Anika Lopez· Dec 20, 2024

    I recommend nuqs for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Dhruvi Jain· Dec 8, 2024

    nuqs reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Pratham Ware· Dec 4, 2024

    Solid pick for teams standardizing on skills: nuqs is focused, and the summary matches what you get after install.

  • Xiao Johnson· Dec 4, 2024

    Solid pick for teams standardizing on skills: nuqs is focused, and the summary matches what you get after install.

  • Oshnikdeep· Nov 23, 2024

    I recommend nuqs for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Amina Taylor· Nov 11, 2024

    nuqs reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Ganesh Mohane· Oct 14, 2024

    Useful defaults in nuqs — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Alexander Martinez· Oct 2, 2024

    Registry listing for nuqs matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Anika Gill· Sep 21, 2024

    Keeps context tight: nuqs is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Liam Verma· Sep 17, 2024

    nuqs is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

showing 1-10 of 44

1 / 5