nextjs-to-rwsdk-migration

Official

Migrate Next.js to RedwoodSDK fast

Authordarkmatter
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a complete migration playbook for teams moving a Next.js App Router site to RedwoodSDK on Cloudflare Workers without rebuilding the component tree from scratch. It helps replace OpenNext-based deployment plumbing, Next-specific modules, and route conventions with an rwsdk-compatible architecture.

Core Features & Use Cases

  • Framework migration guidance: Port Next.js App Router pages, layouts, metadata, and middleware patterns into RedwoodSDK equivalents.
  • Compatibility shims: Preserve existing component imports by aliasing Next.js modules like link, image, navigation, fonts, headers, and server utilities.
  • Build and deployment setup: Rework Vite, TypeScript, Wrangler, and Alchemy configuration so the app builds and deploys cleanly on Cloudflare Workers.
  • Incremental page porting: Use a mechanical conversion workflow to move pages one by one while keeping the legacy app as a reference.
  • Use case: A darkmatter project needs to move off OpenNext and Alchemy.Worker, keep its React component tree intact, and add preview deploys for pull requests.

Quick Start

Tell the skill to migrate a specific Next.js App Router repository to RedwoodSDK on Cloudflare Workers while preserving the existing component tree and deployment workflow.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-to-rwsdk-migration
Download link: https://github.com/darkmatter/skills/archive/main.zip#nextjs-to-rwsdk-migration

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 536,000+ vetted skills library on demand.