使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/full-stack-skills/react-skills --skill nextjs开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
When to use this skill
Use this skill whenever the user wants to:
- Follow Next.js documentation topics (App Router, Pages Router, architecture, community)
- Implement Next.js routing, data fetching, caching, or deployment
- Use official APIs and configuration options from the docs
How to use this skill
- Identify the topic from the user request.
- Open the matching example file in
examples/. - Follow the official Next.js docs linked in the file.
Mapping Rules (one-to-one with https://nextjs.org/docs)
The examples/ directory mirrors the official docs structure:
examples/index.md→ https://nextjs.org/docsexamples/app/...→ https://nextjs.org/docs/app/...examples/pages/...→ https://nextjs.org/docs/pages/...examples/architecture/...→ https://nextjs.org/docs/architecture/...examples/community/...→ https://nextjs.org/docs/community/...
Path rule:
- Remove numeric prefixes from doc folders and filenames (e.g.,
01-app→app). index.mdxpages map toindex.mdinside the corresponding directory.
Resources
- Docs: https://nextjs.org/docs
Keywords
Next.js, App Router, Pages Router, routing, data fetching, caching, server components, client components, middleware, deployment, configuration



