·nuqs

Next.js 应用程序的 nuqs(类型安全 URL 查询状态)最佳实践。在编写、审查或重构使用 nuqs 进行 URL 状态管理的代码时,应该使用此技能。触发涉及 useQueryState、useQueryStates、搜索参数、URL 状态、查询参数、nuqs 解析器或带有状态的 Next.js 路由的任务。

7安装·0热度·@thongdn-it

安装

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

SKILL.md

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.

| 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- |

Next.js 应用程序的 nuqs(类型安全 URL 查询状态)最佳实践。在编写、审查或重构使用 nuqs 进行 URL 状态管理的代码时,应该使用此技能。触发涉及 useQueryState、useQueryStates、搜索参数、URL 状态、查询参数、nuqs 解析器或带有状态的 Next.js 路由的任务。 来源:thongdn-it/react-agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/thongdn-it/react-agent-skills --skill nuqs
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 nuqs?

Next.js 应用程序的 nuqs(类型安全 URL 查询状态)最佳实践。在编写、审查或重构使用 nuqs 进行 URL 状态管理的代码时,应该使用此技能。触发涉及 useQueryState、useQueryStates、搜索参数、URL 状态、查询参数、nuqs 解析器或带有状态的 Next.js 路由的任务。 来源:thongdn-it/react-agent-skills。

如何安装 nuqs?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/thongdn-it/react-agent-skills --skill nuqs 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/thongdn-it/react-agent-skills