data-fetching
Installation
SKILL.md
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'