migrating-async-request-apis

Community

Migrate Next.js 16 request APIs to async.

Authordjankies
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Next.js 16 changes request APIs to async (params, searchParams, cookies, headers, draftMode). This Skill guides migrations to await these APIs and adapt types accordingly.

Core Features & Use Cases

  • Phase-based migration guidance for route params, searchParams, and request APIs.
  • Concrete code patterns and edge cases for server components and route handlers.
  • Examples showing how to refactor to async parameters and awaited API calls.

Quick Start

Update function signatures to Promise-wrapped params/searchParams, await cookies()/headers(), and refactor component code accordingly.

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: migrating-async-request-apis
Download link: https://github.com/djankies/claude-configs/archive/main.zip#migrating-async-request-apis

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