Complete Next.js 16 documentation in markdown format. Use when working with Next.js projects, building React applications, configuring routing, data fetching, rendering strategies, deployment, or migrating from other frameworks. Covers App Router, Pages Router, API routes, server components, server actions, caching, and all Next.js features.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install lb-nextjs16-skill或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install lb-nextjs16-skill⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/lb-nextjs16-skill/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: nextjs description: Complete Next.js 16 documentation in markdown format. Use when working with Next.js projects, building React applications, configuring routing, data fetching, rendering strategies, deployment, or migrating from other frameworks. Covers App Router, Pages Router, API routes, server components, server actions, caching, and all Next.js features. ---
Complete Next.js 16 documentation embedded in markdown. Read from references/ to answer questions about Next.js features, configuration, and best practices.
All documentation is in references/ organized by topic:
Modern Next.js architecture with React Server Components.
Getting Started:
references/01-app/01-getting-started/installation.mdx - Setup new projectreferences/01-app/01-getting-started/project-structure.mdx - File conventionsreferences/01-app/01-getting-started/layouts-and-pages.mdx - Routing basicsreferences/01-app/01-getting-started/data-fetching.mdx - Server data loadingreferences/01-app/01-getting-started/css.mdx - Styling optionsGuides:
references/01-app/02-guides/authentication.mdx - Auth patternsreferences/01-app/02-guides/caching.mdx - Cache strategiesreferences/01-app/02-guides/environment-variables.mdx - Env configreferences/01-app/02-guides/forms.mdx - Form handlingreferences/01-app/02-guides/testing/ - Jest, Playwright, Vitest, Cypressreferences/01-app/02-guides/migrating/ - Migration guides (Vite, CRA, Pages → App)references/01-app/02-guides/upgrading/ - Version upgrade guides (14, 15, 16)references/01-app/02-guides/self-hosting.mdx - Self-hosted deploymentreferences/01-app/02-guides/static-exports.mdx - Static HTML exportreferences/01-app/02-guides/progressive-web-apps.mdx - PWA setupAPI Reference:
references/01-app/03-api-reference/ - Complete API docs (components, functions, config)Legacy Next.js architecture (still supported).
references/02-pages/01-guides/ - Pages Router guidesreferences/02-pages/02-api-reference/ - Pages API referencereferences/03-architecture/nextjs-compiler.mdx - SWC compilerreferences/03-architecture/fast-refresh.mdx - Hot reloadreferences/03-architecture/supported-browsers.mdx - Browser supportreferences/03-architecture/accessibility.mdx - A11y featuresreferences/04-community/contribution-guide.mdx - Contributing to Next.jsreferences/04-community/rspack.mdx - Experimental Rspack support| Task | File to Read | |------|--------------| | Setup new project | references/01-app/01-getting-started/installation.mdx | | Routing & layouts | references/01-app/01-getting-started/layouts-and-pages.mdx | | Data fetching | references/01-app/01-getting-started/data-fetching.mdx | | Server actions | references/01-app/03-api-reference/server-actions.mdx (if exists) | | Middleware | Search references/01-app/02-guides/ or API reference | | Caching strategies | references/01-app/02-guides/caching.mdx | | Environment variables | references/01-app/02-guides/environment-variables.mdx | | Testing setup | references/01-app/02-guides/testing/ | | Deploy self-hosted | references/01-app/02-guides/self-hosting.mdx | | Migrate from Vite | references/01-app/02-guides/migrating/from-vite.mdx | | Migrate from CRA | references/01-app/02-guides/migrating/from-create-react-app.mdx | | Upgrade to v16 | references/01-app/02-guides/upgrading/version-16.mdx |
references/index.mdx for overviewreferences/01-app/01-getting-started/references/01-app/02-guides/.mdx references/01-app/03-api-reference/references/02-pages/All files are .mdx (Markdown + JSX) but readable as plain markdown.
安装 NextJS 16+ Complete Documentation 后,可以对 AI 说这些话来触发它
Help me get started with NextJS 16+ Complete Documentation
Explains what NextJS 16+ Complete Documentation does, walks through the setup, and runs a quick demo based on your current project
Use NextJS 16+ Complete Documentation to complete Next
Invokes NextJS 16+ Complete Documentation with the right parameters and returns the result directly in the conversation
What can I do with NextJS 16+ Complete Documentation in my developer & devops workflow?
Lists the top use cases for NextJS 16+ Complete Documentation, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/lb-nextjs16-skill/ 目录(个人级,所有项目可用),或 .claude/skills/lb-nextjs16-skill/(项目级)。重启 AI 客户端后,用 /lb-nextjs16-skill 主动调用,或让 AI 根据上下文自动发现并使用。
NextJS 16+ Complete Documentation 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
NextJS 16+ Complete Documentation 可免费安装使用。请查阅仓库了解许可证信息。
Complete Next.js 16 documentation in markdown format. Use when working with Next.js projects, building React applications, configuring routing, data fetching, rendering strategies, deployment, or migrating from other frameworks. Covers App Router, Pages Router, API routes, server components, server actions, caching, and all Next.js features.
Automate my developer & devops tasks using NextJS 16+ Complete Documentation
Identifies repetitive steps in your workflow and sets up NextJS 16+ Complete Documentation to handle them automatically
NextJS 16+ Complete Documentation 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。