Skip to content

armgit / crm

Public Imported from GitHub
0

Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM.

TypeScript
8.5 KB
Raw Blame

nuqs

Version 1.2.0
Community
July 2026


Abstract

Comprehensive best practices guide for nuqs (type-safe URL query state management) in Next.js and other React frameworks, designed for AI agents and LLMs. Covers nuqs v2.5–v2.9 features including limitUrlUpdates (built-in debounce/throttle), key isolation, Standard Schema integration, defaultOptions on NuqsAdapter (with history added in v2.9), processUrlSearchParams middleware (adapter and createSerializer), the createLoader server utility, the React Router v8 adapter, and Next.js 16 cacheComponents compatibility. Contains 39 rules across 8 categories, prioritized by impact from critical (parser configuration, adapter setup) to incremental (advanced patterns). Each rule names the wrong default it corrects, with realistic examples and, where relevant, honest consequence-based impact notes to guide automated refactoring and code generation.


Table of Contents

  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

References

  1. https://nuqs.dev
  2. https://nuqs.dev/blog/nuqs-2.5
  3. https://github.com/47ng/nuqs/releases/tag/v2.9.0
  4. https://github.com/47ng/nuqs
  5. https://nextjs.org/docs
  6. https://react.dev
  7. https://standardschema.dev

Source Files

This document was compiled from individual reference files. For detailed editing or extension:

File Description
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for creating new rules
SKILL.md Quick reference entry point
metadata.json Version and reference URLs