nextjs-15

Implement Next.js 15 App Router patterns for server components, actions, and route handlers.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/oversio/personal-finances --skill nextjs-15-oversio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-15
Source: https://github.com/oversio/personal-finances/tree/main/skills/nextjs-16
Command: npx skills add https://github.com/oversio/personal-finances --skill nextjs-15-oversio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers in implementing Next.js 15 App Router patterns, including server components, client components, server actions, and route handlers.

Core Features & Use Cases

  • Server vs Client Component Guidance: Decide where to render components for performance and UX.
  • Server Actions & Route Handlers: Implement server-side logic and APIs efficiently.
  • Caching & Revalidation: Optimize data freshness and load times.
  • Streaming and Suspense: Improve UX with progressive loading in routes.

Quick Start

Create a minimal Next.js 15 App Router project with a server component rendering a list, a server action to add an item, and a route handler to fetch items.

Frequently Asked Questions about nextjs-15

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

FAQPage Schema
How do I structure server and client components in the Next.js 15 App Router?

Structure Next.js 15 App Router components by rendering server components by default for data fetching and pushing client components to the leaves for interactivity. This pattern optimizes performance by reducing JavaScript shipped to the client.

What is the best way to handle data fetching and caching in Next.js 15?

The best way to handle data fetching in Next.js 15 is using server components with built-in caching and revalidation. This approach optimizes data freshness and load times by fetching data on the server and controlling cache invalidation.

How do I implement server actions and route handlers in Next.js?

Implement server actions for mutations and route handlers for API endpoints directly within the Next.js 15 App Router. This enforces efficient server-side logic execution and API creation without needing separate API routes.

Can I use Suspense for streaming data in Next.js 15 routes?

Yes, you can use Suspense for streaming in Next.js 15 routes to progressively load UI components. This improves user experience by showing fallback content while asynchronous server components fetch data.

Does this Next.js 15 skill guide code organization and performance conventions?

Yes, this Next.js 15 skill enforces patterns and conventions for code organization, data flow, and performance optimizations. It guides developers in structuring typical app architectures across routes and layouts effectively.

Why use server actions instead of route handlers for form submissions?

Use server actions for form submissions to directly mutate state and interact with databases within server components, reducing boilerplate. Route handlers are better suited for exposing distinct HTTP endpoints rather than direct UI mutations.