next-js
Installation
SKILL.md
Next.js
Workflow
- Confirm Next.js version, router mode, and deployment target.
- Define routing architecture and data boundaries before implementation.
- Choose rendering and caching strategy per route.
- Implement mutation and state patterns with minimal complexity.
- Optimize performance budgets and asset delivery.
- Validate SEO, accessibility, and security posture.
- Ship with reproducible CI/CD and observability.
- Document migration steps for router/runtime/tooling changes.
Preflight (Ask / Check First)
- App Router, Pages Router, or mixed mode in current codebase.
- Hosting platform constraints and edge/runtime requirements.
- Server-side data sources and caching expectations.
- Authentication/session strategy and sensitive-data boundaries.
- Performance goals (LCP, INP, TTFB) and SEO priorities.
- Monorepo tooling and package manager standards.