<< All versions

Skill v1.0.1

currentAutomated scan100/100
academind/ai-config/modern-best-practice-nextjs

1 files

──Details
PublishedNovember 3, 2026 at 03:55 AM
Content Hashsha256:d9cc91e0d23a75a2...
Git SHAd7ca62f6a4e9
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.0 KB)
SKILL.md1.0 KBactive
SKILL.md · 32 lines · 1.0 KB

name: modern-best-practice-nextjs description: Build modern Next.js apps with App Router and best practices metadata: version: "1.0.1"


Next.js Best Practices (App Router)

Next.js is a library that changes frequently - use web search or context7 MCP (via DocsExplorer agent) for exploring the current documentation.

Routing & Structure

  • Use the App Router in app/ for new work
  • Use nested layouts and route groups to organize sections
  • Keep server components as the default; add 'use client' only where needed

Data Fetching & Caching

  • Fetch data in React Server Components - AVOID fetching via useEffect() and fetch()
  • Use server actions ("Server Functions") for mutations, potentially in conjunction with React Hooks like useActionState

UI States

  • Provide loading.tsx and error.tsx for route-level UX
  • Use Suspense boundaries around async UI

Metadata & SEO

  • Use the Metadata API in layouts and pages
  • Prefer static metadata when possible; keep dynamic metadata minimal
← v1.0.0All versions