next

Build Next.js fullstack apps with SSR/SSG and API routes.

7|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/joabgonzalez/ai-agents-skills --skill next-joabgonzalez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: next
Source: https://github.com/joabgonzalez/ai-agents-skills/tree/main/skills/next
Command: npx skills add https://github.com/joabgonzalez/ai-agents-skills --skill next-joabgonzalez

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Develop scalable Next.js applications using the App Router, Server Components, and server actions across SSR/SSG and API routes.

Core Features & Use Cases

  • Server Components by default: keep data fetching on the server and reduce client bundle size.
  • App Router layouts: create persistent UI across routes with minimal re-renders.
  • Server Actions & API Routes: streamline mutations and data flows with zero-API boilerplate.
  • Use Case: you need to build a multi-page storefront with SSR for SEO and API routes for data operations.

Quick Start

Create a new Next.js project and scaffold a fullstack app with the App Router and API routes.

Frequently Asked Questions about next

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

FAQPage Schema
How do I build a Next.js fullstack app with server components and API routes?

To build a Next.js fullstack app with server components and API routes, scaffold a project using the App Router, leverage server components by default for data fetching, and implement server actions to handle mutations with zero-API boilerplate.

What is the best way to reduce client bundle size in React applications?

The best way to reduce client bundle size in React applications is by using Next.js Server Components by default, which keeps data fetching on the server and sends less JavaScript to the browser.

How do I create persistent UI layouts across routes with minimal re-renders?

You can create persistent UI layouts across routes with minimal re-renders by utilizing Next.js App Router layouts, which preserve shared interface components during client-side navigation without fully reloading the page.

Can I use server actions for data mutations instead of writing API routes?

Yes, you can use server actions for data mutations instead of writing manual API routes, streamlining data flows by defining functions that execute securely on the server with zero-API boilerplate.

Does Next.js App Router support SSR and SSG for SEO-heavy storefronts?

Next.js App Router fully supports both Server-Side Rendering (SSR) and Static Site Generation (SSG), enabling you to build SEO-heavy multi-page storefronts while maintaining scalable React architecture.

How do I enforce metadata exports in production-grade Next.js workflows?

To enforce metadata exports in production-grade Next.js workflows, utilize the App Router framework conventions which require static metadata objects or dynamic generateMetadata functions for route-specific SEO control.