メインコンテンツへスキップ
このコンテンツはお使いの言語にまだ対応していないため、英語で表示されています。

Next.js Server Component Navigation Pattern

Skill 検証済み
98

Guide for implementing navigation in Next.js Server Components using Link component and redirect() function. Covers the difference between server and client navigation methods. Use when adding links, redirects, or navigation logic in server components without converting them to client components unnecessarily.

AI サマリー

This skill focuses on guiding users through the correct implementation of navigation patterns within Next.js Server Components. It covers the use of the `<Link>` component, the `redirect()` function, and Server Actions, differentiating them from client-side navigation methods and providing practical code examples.

インストール

npx skills add wsimmonds/claude-nextjs-skills

Vercel skills CLI(skills.sh)を npx 経由で実行します。ローカルに Node.js と、skills 対応のエージェント(Claude Code、Cursor、Codex など)が少なくとも 1 つインストールされている必要があります。リポジトリが agentskills.io 形式に従っていることを前提としています。

7 months ago
90 stars
MIT
5 days ago に更新
ソースコードを表示