nextjs
星标0
分支0
更新时间2026年4月28日 23:23
Next.js 14+ App Router patterns, Server Components, API routes, and performance optimization
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Next.js 14+ App Router patterns, Server Components, API routes, and performance optimization
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Angular component architecture, RxJS patterns, change detection, and module organization
Azure DevOps pipeline security, YAML structure, variable management, and deployment patterns
Azure Bicep IaC patterns, parameterization, security, and modular design
Dockerfile best practices, security hardening, multi-stage builds, and image optimization
ASP.NET Core patterns, dependency injection, middleware, async/await, and security
FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns
| name | nextjs |
| description | Next.js 14+ App Router patterns, Server Components, API routes, and performance optimization |
| metadata | {"version":"1.1.0"} |
{{...}}) or undeclared variables in Next.js code. Ensure all variables are declared and sanitized. Explicitly check for undeclared variables and reject or escape them<!-- -->) in production code. If template variables are required, specify safe rendering practices and ensure all variables are declared and sanitized{{...}}. Never trust or directly render user-provided templatesheaders() and cookies() usage is server-side onlyapp/ directory structure follows conventions (page.tsx, layout.tsx, loading.tsx, error.tsx)use client directive is only used when necessary (event handlers, hooks, browser APIs)error.tsx for error handlingcache() for request deduplicationrevalidate options for ISR (Incremental Static Regeneration)generateStaticParams() is used for static generation of dynamic routesnext/image with explicit width/height or fillnext/font for automatic optimizationSuspense boundaries around async componentsreq.method or use route handlers)alt text on all imagesuse client at layout level (makes all children client components)dynamic = 'force-dynamic' without justification