一键导入
next-best-practices
Next.js App Router best practices for routing, data fetching, rendering, and optimization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Next.js App Router best practices for routing, data fetching, rendering, and optimization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create and apply Drizzle ORM migrations against the single Neon-primary PostgreSQL database
Run the 15-check pre-launch preflight and interpret results with context-aware fix suggestions
Next.js Cache Components, 'use cache' directive, PPR, cacheLife, cacheTag, and migration from unstable_cache.
Turborepo monorepo task orchestration, caching, and pipeline configuration guidance.
React composition patterns for building maintainable, reusable component architectures.
Deployment to Vercel including configuration, environment variables, and production best practices.
| name | next-best-practices |
| description | Next.js App Router best practices for routing, data fetching, rendering, and optimization. |
Refer to the official documentation for comprehensive guidance:
'use client' only when the component needs browser APIs, event handlers, or React hooks like useState/useEffectparams, searchParams, cookies(), and headers() are async -- always await themPromise.all or leveraging Suspense boundaries to stream independent sectionsgenerateMetadata for dynamic SEO metadata and next/image with explicit width/height or sizes for all images'use server') for mutations over client-side API calls to Route Handlers