A production-grade implementation guide for Next.js 15 and 16 focusing on async APIs, caching changes, and Turbopack performance.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install midos-nextjs
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install midos-nextjs using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill serves as a technical blueprint for developers utilizing Openclaw Skills to build or upgrade modern web applications. It specifically addresses the architectural shifts introduced in Next.js 15 and 16, such as the transition of request-based APIs like cookies and headers to asynchronous models. By leveraging these patterns, developers can ensure their AI agents produce code that is compatible with React 19 and follows the latest performance standards.
Furthermore, the skill provides deep insights into the new caching defaults where GET Route Handlers and fetch requests are uncached by default. This shift requires explicit configuration, and this Openclaw Skills entry provides the exact syntax for revalidation and dynamic rendering to prevent production data staleness or unexpected behavior.
To integrate these patterns into your Openclaw Skills workflow, execute the following commands in your project root:
# Upgrade Next.js and React to the latest versions
npx @next/codemod@canary upgrade latest
# Run the automated migration for async request APIs
npx @next/codemod@canary next-async-request-api
# Install core dependencies
npm install next@latest react@latest react-dom@latest
The skill organizes Next.js metadata and configuration using the following schema to ensure Openclaw Skills can parse and apply patterns correctly:
| Component | Type | Requirement |
|---|---|---|
| cookies() | Async API | Must be awaited in Server Components and Route Handlers |
| params | Async API | Accessed via Promise awaiting in page/layout props |
| Route Handlers | Caching | Default to uncached; requires export const revalidate = X |
| Turbopack | CLI Flag | Enabled via next dev --turbo for 76%+ faster startup |
| instrumentation | File | instrumentation.js located in the project root for APM setup |
Loading
MidOS is a comprehensive knowledge middleware layer that provides AI agents with long-term memory, hybrid search, and multi-step planning capabilities.

A definitive collection of production-ready Go 1.24+ patterns covering concurrency, web services, database access, and testing.

Accelerate backend development with production-ready FastAPI patterns for Pydantic v2, async workflows, and secure deployments.

A professional suite of Openclaw Skills for forensic-grade media triage that ensures data integrity and a verifiable chain of custody for digital evidence.

A sophisticated agent learning system that filters, scores, and promotes corrections and patterns into permanent project memory through a quality-gated pipeline.

A production-grade collection of Rust patterns for async concurrency, web services, and systems integration using the 2024 edition.








































