react-nextjs-app

Implement a convention-based file structure for Next.js applications.

13|4|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ggombee/code-forge --skill react-nextjs-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-nextjs-app
Source: https://github.com/ggombee/code-forge/tree/main/modules/frameworks/react-nextjs-app
Command: npx skills add https://github.com/ggombee/code-forge --skill react-nextjs-app

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The Skill unit solves the problem of manually structuring Next.js applications by providing a robust convention-based approach.

Core Features & Use Cases

  • App Router Convention: Simplifies the development of Next.js applications by enforcing a consistent file and directory structure.
  • Server/Client Components: Facilitates the separation of server-side and client-side code for performance optimization.
  • Metadata API: Enhances SEO and semantic clarity through the inclusion of metadata in components.
  • Special File Patterns: Offers guidelines for implementing loading, error, and not-found states.
  • Route Groups: Allows the creation of route groups for organizing related routes.
  • Parallel Routes: Supports the inclusion of parallel routes for additional functionality.
  • Route Handlers: Provides instructions for creating API route handlers.
  • Data Fetching Patterns: Demonstrates best practices for data fetching within Next.js applications.

Quick Start

Initialize a Next.js application with the react-nextjs-app skill to start with a pre-defined convention-based structure.

Frequently Asked Questions about react-nextjs-app

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

FAQPage Schema
How do I structure a Next.js application using App Router conventions?

To structure a Next.js application using App Router conventions, implement a robust convention-based file structure that organizes related routes using route groups and parallel routes. This approach simplifies development by enforcing a consistent directory layout.

What is the best way to manage server-side and client-side rendering in Next.js?

Managing server-side and client-side rendering in Next.js requires separating server-side and client-side code into distinct components. This separation facilitates performance optimization by allowing you to control rendering strategies across your application.

How do I add SEO-friendly metadata to a Next.js App Router project?

You can add SEO-friendly metadata to a Next.js App Router project by utilizing the Metadata API within your components. This enhances SEO and semantic clarity by defining metadata directly in the convention-based file structure.

How do I implement loading, error, and not-found states in Next.js?

Implementing loading, error, and not-found states in Next.js involves using special file patterns within your App Router structure. These special files offer guidelines for handling these UI states gracefully without disrupting the user experience.

Do I need Node.js installed to create API route handlers with Next.js?

Yes, you need a Next.js environment with Node.js installed to create API route handlers. This environment provides the necessary runtime to execute server-side code and manage data fetching patterns within your application.