·nextjs-advanced-routing
</>

nextjs-advanced-routing

wsimmonds/claude-nextjs-skills

高級 Next.js App Router 模式指南,包括路由處理程序、並行路由、攔截路由、服務器操作、錯誤邊界、草稿模式和帶有 Suspense 的流式傳輸。對於服務器操作(action.ts、actions.ts 文件、“使用服務器”指令)、從客戶端組件設置 cookie 以及表單處理至關重要。當需求涉及服務器操作、表單提交、cookie、突變、API 路由、“route.ts”、並行路由、攔截路由或流時使用。對於將服務器操作與客戶端組件分離至關重要。

0安裝·0熱度·@wsimmonds

安裝

$npx skills add https://github.com/wsimmonds/claude-nextjs-skills --skill nextjs-advanced-routing

SKILL.md

Provide comprehensive guidance for advanced Next.js App Router features including Route Handlers (API routes), Parallel Routes, Intercepting Routes, Server Actions, error handling, draft mode, and streaming with Suspense.

CRITICAL RULE: This codebase has @typescript-eslint/no-explicit-any enabled. Using any will cause build failures.

When work requirements mention a specific filename, follow that instruction exactly. If no name is given, pick the option that best matches the project conventions—app/actions.ts is a safe default for collections of actions, while app/action.ts works for a single form handler.

高級 Next.js App Router 模式指南,包括路由處理程序、並行路由、攔截路由、服務器操作、錯誤邊界、草稿模式和帶有 Suspense 的流式傳輸。對於服務器操作(action.ts、actions.ts 文件、“使用服務器”指令)、從客戶端組件設置 cookie 以及表單處理至關重要。當需求涉及服務器操作、表單提交、cookie、突變、API 路由、“route.ts”、並行路由、攔截路由或流時使用。對於將服務器操作與客戶端組件分離至關重要。 來源:wsimmonds/claude-nextjs-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/wsimmonds/claude-nextjs-skills --skill nextjs-advanced-routing
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 nextjs-advanced-routing?

高級 Next.js App Router 模式指南,包括路由處理程序、並行路由、攔截路由、服務器操作、錯誤邊界、草稿模式和帶有 Suspense 的流式傳輸。對於服務器操作(action.ts、actions.ts 文件、“使用服務器”指令)、從客戶端組件設置 cookie 以及表單處理至關重要。當需求涉及服務器操作、表單提交、cookie、突變、API 路由、“route.ts”、並行路由、攔截路由或流時使用。對於將服務器操作與客戶端組件分離至關重要。 來源:wsimmonds/claude-nextjs-skills。

如何安裝 nextjs-advanced-routing?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/wsimmonds/claude-nextjs-skills --skill nextjs-advanced-routing 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/wsimmonds/claude-nextjs-skills