mcpField
N
nuqs

nuqs

github.com/thongdn-itDevelopment595 installsUpdated 41w ago
Repository

About nuqs

nuqs is a reference skill containing prioritized guidance for type-safe URL query state in Next.js applications. It helps developers implement, review, and troubleshoot nuqs usage through rules grouped into eight categories.

Key features

  1. 0142 prioritized rules across eight categories
  2. 02Guidance on typed parsers and adapters
  3. 03Server Component integration practices
  4. 04URL update performance recommendations
  5. 05Debugging and testing guidance

Use cases

  1. 01Implement URL-backed state in a Next.js app
  2. 02Configure parsers for query parameters
  3. 03Review server-side nuqs integration
  4. 04Troubleshoot URL state behavior

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/thongdn-it/react-agent-skills --skill nuqs

After installing, type/nuqsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
metadata.json
README.md
assets/templates/
_template.md
references/
_sections.md
advanced-custom-parsers.md
advanced-eq-function.md
advanced-framework-adapters.md
advanced-url-keys.md
debug-common-errors.md
debug-enable-logging.md
debug-testing.md
history-back-sync.md
history-push-navigation.md
history-replace-ephemeral.md
history-scroll-behavior.md
parser-array-format.md
parser-date-format.md
parser-enum-validation.md
parser-hex-colors.md
parser-index-offset.md
parser-json-validation.md
parser-use-typed-parsers.md
parser-with-default.md
perf-avoid-rerender.md
perf-clear-on-default.md
perf-debounce-search.md
perf-serialize-utility.md
perf-throttle-updates.md
server-next15-async.md

Details

From the project README

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

PriorityCategoryImpactPrefix
1Parser ConfigurationCRITICALparser-
2Adapter & SetupCRITICALsetup-
3State ManagementHIGHstate-
4Server IntegrationHIGHserver-
5Performance OptimizationMEDIUMperf-
6History & NavigationMEDIUMhistory-
7Debugging & TestingLOW-MEDIUMdebug-
8Advanced PatternsLOWadvanced-

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

FileDescription
AGENTS.mdComplete compiled guide with all rules
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

Comments

Markdown supported