Frontend
nextjs
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
Use this skill whenever the user wants to:
examples/.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:
01-app → app).index.mdx pages map to index.md inside the corresponding directory.Next.js, App Router, Pages Router, routing, data fetching, caching, server components, client components, middleware, deployment, configuration
确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。