← スキル一覧に戻る

data-fetching
by pluginagentmarketplace
Next.js Development Plugin
⭐ 1🍴 0📅 2026年1月5日
SKILL.md
name: data-fetching description: "Next.js data fetching - Server actions, caching, revalidation" sasmp_version: "1.3.0" bonded_agent: nextjs-expert bond_type: PRIMARY_BOND
Data Fetching Skill
Overview
Modern data fetching in Next.js with server actions, caching strategies, and revalidation.
Capabilities
- Server Actions: 'use server' for mutations
- Caching: Automatic request memoization
- Revalidation: Time-based and on-demand
- Streaming: Progressive rendering
- Parallel Fetching: Promise.all patterns
Examples
// Server Action
'use server'
export async function createPost(formData: FormData) {
const title = formData.get('title')
await db.posts.create({ title })
revalidatePath('/posts')
}
// Data fetching with caching
async function getData() {
const res = await fetch('https://api.example.com/data', {
next: { revalidate: 3600 } // Revalidate every hour
})
return res.json()
}
Caching Options
cache: 'force-cache'- Default, cachedcache: 'no-store'- No cachingnext: { revalidate: N }- Revalidate after N seconds
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です