UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
データ・研究 · SKILL.md

nextjs-core

nextjs-core

Core Next.js patterns for App Router development including Server Components, Server Actions, route handlers, data fetching, and caching strategies

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: nextjs-core description: Core Next.js patterns for App Router development including Server Components, Server Actions, route handlers, data fetching, and caching strategies user-invocable: false disable-model-invocation: true version: 1.1.0 category: toolchain progressive_disclosure: entry_point: summary: "Server-first patterns with safe mutations (Server Actions) and explicit caching/revalidation" tags: [nextjs, app-router]

Next.js Core (App Router)

  • Server Components by default; minimal "use client".
  • Mutations in Server Actions (validate/authz; revalidate tags/paths).
  • Route handlers for APIs/webhooks; add loading/error boundaries.

Anti-patterns:

  • ❌ Fetch initial data in useEffect.
  • ❌ Cache or revalidate too broadly.
  • ❌ Client-only authz.

References: see references/ (server actions, fetching, caching, routing, auth, testing).

保存したスキル