nextjs-developer

Implements Next.js 14+ applications with App Router, Server Components, and Server Actions.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/ArMaTeC/Redball --skill nextjs-developer-armatec
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nextjs-developer
Source: https://github.com/ArMaTeC/Redball/tree/main/.devin/skills/nextjs-developer
Command: npx skills add https://github.com/ArMaTeC/Redball --skill nextjs-developer-armatec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building modern Next.js applications requires navigating App Router conventions, server/client component boundaries, caching strategies, and deployment configuration, which is error-prone without structured guidance. ## Core Features & Use Cases - App Router Architecture: Set up file-based routing with layouts, templates, route groups, parallel routes, and loading/error boundaries. - Server Components & Data Fetching: Implement RSC patterns with fetch caching, ISR, tag-based revalidation, and streaming via Suspense. - Server Actions & Deployment: Build validated form mutations with revalidation, then deploy to Vercel, Docker, or self-hosted Node.js with production optimization. - Use Case: Scaffold a product catalog page that fetches from an API with 60-second ISR, renders via a Server Component with Suspense fallback, and includes a Server Action form for creating products with Zod validation. ## Quick Start Ask the assistant to build a Next.js 14 App Router page that fetches data from an API with revalidation and includes a loading state and error boundary.

Frequently Asked Questions about nextjs-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch data in Next.js App Router server components?▼

Use the native fetch API directly inside async Server Components with explicit cache options. Pass cache: 'force-cache' for static data, cache: 'no-store' for fresh data, or next: { revalidate: 60 } for ISR-style periodic revalidation.

How to create a form with Server Actions in Next.js 14?▼

Define an async function with the 'use server' directive, then pass it to a form's action attribute. Validate input with Zod, perform the mutation, and call revalidatePath to refresh cached data after the change.

When should I use 'use client' in Next.js App Router?▼

Add 'use client' only when a component needs interactivity such as event handlers, useState, useEffect, or browser APIs. Keep components as Server Components by default and push client boundaries to the leaves of the component tree.

Does Next.js App Router support SEO metadata generation?▼

Yes, use the generateMetadata function or the static metadata export to define titles, descriptions, and OpenGraph tags. Never hardcode title or meta tags directly in JSX, as the Metadata API handles deduplication and streaming.

How do I deploy a Next.js app with Docker?▼

Set output: 'standalone' in next.config.js, then use a multi-stage Dockerfile that installs dependencies, builds the app, and copies the standalone output with static assets. Run it with node server.js on port 3000.

Why is my Next.js fetch not revalidating cached data?▼

Cached fetches persist until their revalidate window expires or you trigger on-demand revalidation. Call revalidatePath for a specific route or revalidateTag for fetches tagged with next: { tags: [...] } inside a Server Action or route handler.