NextJS 16+ Complete Documentation
/install lb-nextjs16-skill
Next.js Documentation (v16.2.0-canary.30)
Complete Next.js 16 documentation embedded in markdown. Read from references/ to answer questions about Next.js features, configuration, and best practices.
Documentation Structure
All documentation is in references/ organized by topic:
Core Documentation
App Router (references/01-app/)
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 options
Guides:
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 setup
API Reference:
references/01-app/03-api-reference/- Complete API docs (components, functions, config)
Pages Router (references/02-pages/)
Legacy Next.js architecture (still supported).
references/02-pages/01-guides/- Pages Router guidesreferences/02-pages/02-api-reference/- Pages API reference
Architecture (references/03-architecture/)
references/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 features
Community (references/04-community/)
references/04-community/contribution-guide.mdx- Contributing to Next.jsreferences/04-community/rspack.mdx- Experimental Rspack support
Quick Reference
Common Tasks
| 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 |
When to Use This Skill
- User asks about Next.js features, configuration, or best practices
- Working on a Next.js project and need API reference
- Debugging Next.js behavior (caching, rendering, routing)
- Planning architecture (SSR vs SSG vs ISR)
- Migration questions (from other frameworks or older Next.js versions)
How to Navigate
- Start with
references/index.mdxfor overview - For getting started: Read
references/01-app/01-getting-started/ - For specific topics: Read
references/01-app/02-guides/\x3Ctopic>.mdx - For API details: Search
references/01-app/03-api-reference/ - For legacy Pages Router: Use
references/02-pages/
All files are .mdx (Markdown + JSX) but readable as plain markdown.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lb-nextjs16-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/lb-nextjs16-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 7757 次。
如何安装 NextJS 16+ Complete Documentation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lb-nextjs16-skill」即可一键安装,无需额外配置。
NextJS 16+ Complete Documentation 是免费的吗?
是的,NextJS 16+ Complete Documentation 完全免费(开源免费),可自由下载、安装和使用。
NextJS 16+ Complete Documentation 支持哪些平台?
NextJS 16+ Complete Documentation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 NextJS 16+ Complete Documentation?
由 leonaaardob(@leonaaardob)开发并维护,当前版本 v16.1.6。