nextjs-file-conventions

Community

Master Next.js App Router file conventions.

Authorxabierlameiro
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill clarifies the complex and often confusing file conventions within the Next.js App Router, helping developers understand where to place files and what their purpose is.

Core Features & Use Cases

  • File Convention Reference: Provides a comprehensive overview of special files like layout.tsx, page.tsx, route.ts, proxy.ts, and metadata files.
  • API Details: Explains required and optional exports, props, and segment configuration options for each file type.
  • Use Case: When you're unsure whether to use layout.tsx or template.tsx for a specific UI segment, or how to configure an API route, this Skill provides the definitive answer.

Quick Start

Explain the purpose and usage of route.ts files in Next.js.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nextjs-file-conventions
Download link: https://github.com/xabierlameiro/price-tracker/archive/main.zip#nextjs-file-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.