nextjs

Enforce Next.js 15 App Router conventions for structured web application development.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/BEE-CODED/bee-dev --skill nextjs-bee-coded
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs
Source: https://github.com/BEE-CODED/bee-dev/tree/main/plugins/bee/skills/stacks/nextjs
Command: npx skills add https://github.com/BEE-CODED/bee-dev --skill nextjs-bee-coded

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to adhering to Next.js 15 App Router conventions and best practices, ensuring efficient and maintainable application development.

Core Features & Use Cases

  • App Router Structure: Understand file-based routing, layout conventions, and dynamic segments.
  • Server vs. Client Components: Learn when and how to use Server and Client Components effectively.
  • Data Fetching: Master Server Actions, Route Handlers, and direct data fetching in Server Components.
  • Caching & Revalidation: Implement strategies for optimal data freshness and performance.
  • Use Case: A developer starting a new Next.js 15 project can use this Skill to quickly set up their project structure and understand the recommended patterns for building features.

Quick Start

Follow the Next.js 15 App Router conventions for structuring your application.

Frequently Asked Questions about nextjs

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

FAQPage Schema
How do I structure my Next.js 15 App Router project?

Structure your Next.js 15 App Router project using file-based routing, layout conventions, and dynamic segments to ensure maintainable web application development. This approach organizes routes predictably within the file system.

When should I use Server Components versus Client Components in Next.js?

Use Server Components for data fetching and static rendering, and Client Components for interactivity. Next.js 15 conventions dictate using Client Components only when state or browser APIs are explicitly required.

How do I fetch data using Server Actions and Route Handlers in Next.js?

Fetch data in Next.js 15 by executing direct queries in Server Components, handling mutations via Server Actions, and processing external API requests through Route Handlers. These strategies ensure optimal data flow and performance.

What is the best way to implement caching and revalidation in Next.js 15?

Implement caching and revalidation in Next.js 15 using built-in mechanisms to control data freshness and performance. Configure revalidation strategies to balance optimal loading speed with up-to-date content delivery.

Does Next.js 15 App Router require TypeScript?

Next.js 15 App Router conventions fully support TypeScript for structured web application development. While TypeScript is highly recommended for type safety, the framework itself does not strictly mandate its usage.

How do I configure middleware in a Next.js 15 application?

Configure middleware in a Next.js 15 application by defining rules within the middleware file to intercept requests and apply authentication or routing logic. This ensures standardized request handling before route completion.