본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)12k · #11522

nuqs

하는 일

AI가 React와 Next.js에서 타입이 지정된 파서로 URL 쿼리 값을 읽고 쓰도록 안내합니다. 공유하거나 북마크할 수 있는 페이지 상태를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓검색 필터, 검색어 또는 탭을 URL에 보관하고 싶을 때.
  • ✓React나 Next.js 프로젝트에서 useQueryState 또는 useQueryStates를 사용할 때.
  • ✓성능을 위해 URL 업데이트를 제한하거나 분리하고 싶을 때.

스킬 링크

https://github.com/trycompai/crm/blob/release/.agents/skills/nuqs/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/trycompai/crm/blob/release/.agents/skills/nuqs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“새로고침 후에도 페이지가 검색어와 날짜 필터를 유지하도록, URL에 저장해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI가 각 값에 맞는 타입 파서를 고르고, 프레임워크용 어댑터를 설정한 뒤, URL과 화면이 항상 같은 상태를 보이도록 상태 훅을 연결합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Community nuqs Best Practices for Next.js & React

Comprehensive guide for type-safe URL query state management with nuqs across Next.js, React Router, TanStack Router, Remix, and plain React. Covers nuqs v2.5–v2.9 features. Contains 39 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 or React Router project
  • Configuring parsers for URL parameters
  • Integrating URL state with Server Components
  • Optimizing URL update performance (limitUrlUpdates, key isolation)
  • Sharing parser definitions with tRPC / TanStack Router / forms via Standard Schema
  • 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)

자주 묻는 질문

Next.js에서만 작동하나요?

아닙니다. React Router, TanStack Router, Remix, 일반 React도 다룹니다.

파서란 무엇인가요?

텍스트나 숫자 같은 URL 값을 코드가 쓸 수 있는 타입 값으로 바꾸고, 다시 URL 값으로 되돌리는 도구입니다.

서버 컴포넌트도 다루나요?

네, Next.js에서 URL 상태를 서버 컴포넌트와 연결하는 방법도 다룹니다.

상세 정보

작성자의 원본 설명

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.

repo: trycompai/crm

인기도

GitHub 스타
12k
순위
#11522
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬