nextjs-server-runtime

Community

Master Next.js 16 server APIs.

Authorxabierlameiro
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive reference for Next.js 16's server runtime APIs, enabling developers to efficiently handle requests, responses, and user agent information within serverless functions and route handlers.

Core Features & Use Cases

  • Request & Response Handling: Understand and utilize NextRequest and NextResponse for managing HTTP requests and crafting responses.
  • User Agent Detection: Parse User-Agent headers to identify browser, OS, and device details.
  • Font Runtime APIs: Reference the properties of NextFont for integrating custom fonts.
  • Use Case: When building a dynamic API route, use this Skill to inspect incoming request headers, set cookies in the response, and conditionally rewrite the URL based on the client's device type.

Quick Start

Use the nextjs-server-runtime skill to understand how to set a cookie in a NextResponse object.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-server-runtime
Download link: https://github.com/xabierlameiro/price-tracker/archive/main.zip#nextjs-server-runtime

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.