react-next-modern

Enforce server-first React 19 and Next.js App Router patterns in code reviews.

1|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/tylergibbs1/codewarden --skill react-next-modern-tylergibbs1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-next-modern
Source: https://github.com/tylergibbs1/codewarden/tree/main/skills/react-next-modern
Command: npx skills add https://github.com/tylergibbs1/codewarden --skill react-next-modern-tylergibbs1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps development teams enforce a server-first React/Next.js architecture, reducing client-side data fetching and reliance on useEffect, and guiding teams toward server components and server actions.

Core Features & Use Cases

  • Enforces server-first data fetching patterns with Server Components and Server Actions.
  • Guides migrations from App Router pages to App Router components and code reviews for new features using server-driven data.
  • Supports declarative forms via server actions and the associated hooks (useActionState, useFormStatus) within a Next.js App Router workflow.

Quick Start

Use this skill during a code review to identify client-heavy patterns and generate migration steps to Server Components and Server Actions for the target module.

Frequently Asked Questions about react-next-modern

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Next.js pages to App Router Server Components?

Next.js App Router Server Components are enforced by shifting data fetching to the server and minimizing client-side effects. This skill applies during code reviews and migrations by generating steps to transition target modules away from client-heavy patterns toward server-driven architecture.

What is the best way to handle data fetching in React 19 and Next.js?

Server-first data fetching in React 19 and Next.js is enforced by shifting data retrieval to Server Components and Server Actions. This skill enforces these patterns during code reviews to reduce client-side fetching and reliance on useEffect.

How do I use useActionState and useFormStatus with Server Actions?

Using useActionState and useFormStatus with Server Actions involves declarative form handling within a Next.js App Router workflow. This skill satisfies requirements for these React 19 form hooks by enforcing their use alongside Server Actions during code reviews.

How do I review code for client-side effects in a Next.js App Router project?

Reviewing code for client-side effects in a Next.js App Router project involves identifying client-heavy patterns and useEffect reliance. This skill applies during code reviews to detect these patterns and generate migration steps toward modern React 19 Server Components.

When should I use Server Actions instead of API routes in Next.js?

Server Actions should be used instead of API routes when building declarative forms and server-driven data flows in a Next.js App Router workflow. This skill enforces Server Actions alongside hooks like useActionState to minimize client-side effects.