用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill nuqs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | nuqs |
| description | > Use when this capability is needed. |
Type-safe URL query state management with nuqs 2.x. Contains rules across 8 categories, prioritized by impact.
| 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 | MEDIUM | perf- |
| 6 | History & Navigation | MEDIUM | history- |
| 7 | Debugging & Testing | LOW-MEDIUM | debug- |
| 8 | Advanced Patterns | LOW | advanced- |
parser-typed — Use typed parsers for non-string valuesparser-with-default — Use withDefault for non-nullable stateparser-enum-literals — Use literal/enum parsers for constrained valuesparser-array-format — Choose correct array parser formatparser-json-validation — Validate JSON parser with Standard Schemaparser-date-format — Select appropriate date parserparser-index-offset — Use parseAsIndex for 1-based URL displayparser-hex-colors — Use parseAsHex for color valuesparser-custom — Create custom parsers for complex typessetup-adapter — Wrap app with correct NuqsAdaptersetup-client-hooks — Add 'use client' for hookssetup-server-imports — Import server utilities from nuqs/serversetup-shared-parsers — Define shared parsers in a dedicated filestate-use-query-states — Use useQueryStates for related parametersstate-functional-updates — Use functional updates for derived statestate-clear-with-null — Clear URL parameters with nullstate-controlled-inputs — Handle controlled input value properlystate-avoid-derived — Avoid derived state from URL parametersstate-options-inheritance — Use withOptions for parser-level configstate-setter-return — Use setter return value for URL accessserver-create-loader — Use createLoader for page-level server parsingserver-search-params-cache — Use createSearchParamsCache for nested RSC accessserver-shallow-false — Use shallow:false to trigger server re-rendersserver-use-transition — Integrate useTransition for loading statesserver-share-parsers — Share parsers between client and serverserver-next15-async — Handle async searchParams in Next.js 15+perf-limit-url-updates — Throttle/debounce URL updatesperf-clear-on-default — Use clearOnDefault for clean URLsperf-avoid-rerender — Memoize components using URL stateperf-serialize-utility — Use createSerializer for link URLshistory-push-navigation — Use history:push for navigation-like statehistory-replace-ephemeral — Use history:replace for ephemeral statehistory-scroll-behavior — Control scroll behavior on URL changeshistory-back-sync — Handle browser back/forward navigationdebug-enable-logging — Enable debug logging for troubleshootingdebug-common-errors — Diagnose common nuqs errorsdebug-testing — Test components and hooks with URL stateadvanced-url-keys — Use urlKeys for shorter URL param namesadvanced-eq-function — Implement eq function for object parsersadvanced-adapter-props — Configure NuqsAdapter global defaults and URL middlewareadvanced-standard-schema — Use createStandardSchemaV1 and inferParserTypeadvanced-optimistic-search-params — useOptimisticSearchParams for Remix/React RouterConverted and distributed by TomeVault — claim your Tome and manage your conversions.
基于 SOC 职业分类