Agent skill

Nextjs Modern

by WrongStack in WrongStack/WrongStack

Build, migrate, and debug Next.js 16 App Router applications with React 19, Server Components, Server Actions, explicit caching, and production deployment.

MITAuto-check passedBackend & APIs

Install Nextjs Modern

skills CLI
$ npx skills add WrongStack/WrongStack --skill nextjs-modern -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install WrongStack/WrongStack nextjs-modern --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/WrongStack/WrongStack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/core/skills/nextjs-modern .claude/skills/nextjs-modern && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nextjs-modern
GitHub stars
371
Token cost
~1.1k tokens
SKILL.md length
478 words
Files
1
Skills in repo
100
Repo updated
First seen
Licence
MIT

At a glance

Build, migrate, and debug Next.js 16 App Router applications with React 19, Server Components, Server Actions, explicit caching, and production deployment.

  • Works in 6 steps: Inspect the lockfile, next.config,… → Keep Server Components as the default;… → Await request APIs such as params,… → …
  • Implementing Next.js routes
  • SKILL.md covers Selection card, Overview, Rules and Workflow, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Nextjs Modern is an agent skill from WrongStack/WrongStack. Build, migrate, and debug Next.js 16 App Router applications with React 19, Server Components, Server Actions, explicit caching, and production deployment. Use when implementing Next.js routes, upgrading to the latest stable Next.js, or fixing rendering and cache behavior.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Caching. It works with Next.js and React. The repository describes itself as: An AI coding agent that reads your code, edits files, runs commands, and reasons through bugs — across a terminal REPL, a full-screen TUI, and a browser UI, while you keep your… The licence is MIT.

When your agent uses it

  • Implementing Next.js routes
  • Upgrading to the latest stable Next.js
  • Fixing rendering and cache behavior

Example prompts

  • “/nextjs-modern”

Requirements

  • Docker

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Inspect the lockfile, next.config, scripts, routing mode and deployment adapter.
  2. Keep Server Components as the default; introduce client boundaries only for
  3. Await request APIs such as params, searchParams, cookies and headers where
  4. Validate and authorize each Server Action and Route Handler at the data
  5. Choose caching intentionally. Separate public data from per-user data and
  6. For stale-while-revalidate, specify revalidateTag(tag, 'max'). For immediate

What it can do on your machine

Read from SKILL.md and the folder at commit a744bdc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • nextjs.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nextjs Modern loads about 1.1k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 478 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from WrongStack/WrongStack at commit a744bdc, republished under its MIT licence (© WrongStack). 478 words, ~1,129 tokens.

Download SKILL.mdSave it as .claude/skills/nextjs-modern/SKILL.md (or your agent's skills folder).
name
nextjs-modern
description
Build, migrate, and debug Next.js 16 App Router applications with React 19, Server Components, Server Actions, explicit caching, and production deployment. Use when implementing Next.js routes, upgrading to the latest stable Next.js, or fixing rendering and cache behavior.
version
1.2.1
required-capabilities
filesystem.read, filesystem.write
optional-capabilities
verification.run, web.research
trigger
implementing Next.js routes, upgrading to the latest stable Next.js, or fixing rendering and cache behavior.
metadata.routing-group
frontend

Next.js 16 App Router

Selection card

  • Task: Next.js App Router routes, actions and caching. / TR: Next.js App Router rotaları, action ve cache.
  • Start: Locate the affected route/component and its runtime/lockfile.
  • Finish: apply the acceptance checks below; report observed results and unresolved constraints.

Overview

Target the latest stable release: Next.js 16.4.0 with React/react-dom 19.3.0, verified from npm on 2026-10-09. Refresh the registry before a new install or upgrade. The installed version explains migration work; it does not make an older major the recommended target.

Rules

  1. Inspect the lockfile, next.config, scripts, routing mode and deployment adapter. Verify the latest stable versions, engine and peer requirements together.
  2. Keep Server Components as the default; introduce client boundaries only for browser APIs, hooks and interaction. Keep credentials and database clients server-side.
  3. Await request APIs such as params, searchParams, cookies and headers where applicable. Use generated route types rather than inventing every prop shape.
  4. Validate and authorize each Server Action and Route Handler at the data boundary. A hidden button, proxy redirect or client check is not authorization.
  5. Choose caching intentionally. Separate public data from per-user data and include tenant/user identity where isolation requires it. A tag does nothing unless the read path actually attaches that tag.
  6. For stale-while-revalidate, specify revalidateTag(tag, 'max'). For immediate read-your-own-writes inside a Server Action, choose updateTag(tag). Do not copy the deprecated one-argument revalidateTag form.
Show full SKILL.md (249 more words)Show less

Workflow

  1. Establish the latest stable target and migration deltas. Next.js 16 uses Turbopack by default, has the proxy convention replacing middleware, and removes next lint. Inspect adapter/plugin support before changing bundlers.
  2. Place queries near their routes and keep mutations in server-only modules. Fetch independent data concurrently; put Suspense around boundaries that really suspend. Add reachable loading, empty, error and not-found states.
  3. Use Server Actions for framework-integrated UI mutations; Route Handlers for external HTTP contracts. Model form state explicitly with useActionState, pending/error feedback and validation. Avoid any in action signatures.
  4. If cacheComponents is enabled, follow its use cache/cacheLife/cacheTag model and streaming constraints. Do not combine old route flags with that model without checking the current documentation.
  5. Verify the production build, type generation, linter as a separate command, direct route load and client navigation. Test cache behavior across mutation and across two different users where private data is involved.
  6. Match production Node/runtime support and bind container servers to 0.0.0.0. Distinguish a working local production server from a live deployment.

Before returning

  • Latest stable target and installed starting version recorded with source URLs.
  • Server/client boundary, authorization and cache policy verified.
  • Mutation refresh checked through the visible UI, including error handling.
  • Build and relevant route checks reported; deployment evidence scoped honestly.

Sources

Reviewed 2026-10-09; refresh before upgrades: installation, version 16 migration, revalidateTag, updateTag.

Skills in scope

  • react-modern — component, form and hook semantics.
  • typescript-strict — action states and route contracts.
  • testing — cache and route behavior.
  • docker-deploy — production container startup.

© WrongStack, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/core/skills/nextjs-modern of WrongStack/WrongStack.

Open the folder on GitHubat commit a744bdc

Compare with similar skills

Nextjs Modern next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nextjs Modern compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nextjs Modern this skillWrongStack/WrongStack371—~1.1kAutomated safety check: PassMIT
Apollo Clientapollographql/skills117—~1.9kAutomated safety check: PassMIT
Cache Componentssangrokjung/claude-forge852—~3.7kAutomated safety check: PassMIT
React Best Practices V2diegosouzapw/awesome-omni-skills159—~3.5kAutomated safety check: PassMIT
Nextjsericrisco/rsc-harness180—~5.1kAutomated safety check: PassMIT
Supabasecurvenote/curvenote1705 repos~2.2kAutomated safety check: PassCustom licence

Similar skills

  • Apollo Client

    apollographql/skills

    Guide for building React applications with Apollo Client 4.x.

    117 GitHub stars~1.9k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Cache Components

    sangrokjung/claude-forge

    Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).

    852 GitHub stars~3.7k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • React Best Practices V2

    diegosouzapw/awesome-omni-skills

    Vercel React Best Practices workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.

    159 GitHub stars~3.5k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Nextjs

    ericrisco/rsc-harness

    A skill your agent uses when building, reviewing, testing, securing, or optimizing a Next.js App Router app: Server vs Client boundaries, use server actions, route handlers, the v15 vs v16 use cache…

    180 GitHub stars~5.1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Supabase

    curvenote/curvenote

    A skill your agent uses when doing ANY task involving Supabase.

    170 GitHub starsUsed in 5 repos~2.2k tokens
    Backend & APIsAuto-check passed
  • Databuddy

    databuddy-analytics/Databuddy

    Integrate Databuddy analytics using the SDK, REST API, or MCP.

    1.2k GitHub stars~2.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from WrongStack/WrongStack

All 100 skills in this repo
  • Tech Stack

    WrongStack/WrongStack

    Validate and upgrade dependencies against live registries and official migration guides in any ecosystem.

    371 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Skill Creator

    WrongStack/WrongStack

    Create, improve and validate WrongStack SKILL.md bundles with precise discovery, progressive resources and current runtime contracts.

    371 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Bug Hunter

    WrongStack/WrongStack

    A skill your agent uses when scanning source code for bugs, anti-patterns, code smells, or quality issues in a codebase, or when running a proof-driven bug hunt that must find, prove, fix, and…

    371 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Design Craft

    WrongStack/WrongStack

    Design or substantially improve user-facing interfaces with a product-specific visual direction, content hierarchy, and rendered critique.

    371 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Design Critique

    WrongStack/WrongStack

    A skill your agent uses to audit an interface that already exists and say precisely why it looks generated, templated, or unfinished — a scored rubric across composition, typography, color, states…

    371 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Mailbox Bridge

    WrongStack/WrongStack

    A skill your agent uses when external coding agents (Claude Code, Aider, custom scripts) need to participate in the project's shared WrongStack mailbox, or when a user asks to "expose the mailbox"…

    371 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Nextjs Modern

What does Nextjs Modern do?

Build, migrate, and debug Next.js 16 App Router applications with React 19, Server Components, Server Actions, explicit caching, and production deployment. Nextjs Modern is an agent skill from WrongStack/WrongStack.js 16 App Router applications with React 19, Server Components, Server Actions, explicit caching, and production deployment.

When should I use Nextjs Modern?

Nextjs Modern fits situations like: implementing Next.js routes; upgrading to the latest stable Next.js; fixing rendering and cache behavior.

How do I install Nextjs Modern in Claude Code?

Run `npx skills add WrongStack/WrongStack --skill nextjs-modern -a claude-code`. Or copy the skill folder (packages/core/skills/nextjs-modern in WrongStack/WrongStack) into .claude/skills/nextjs-modern in your project. Claude Code loads it when a task matches its description.

How do I install Nextjs Modern in Codex?

Run `npx skills add WrongStack/WrongStack --skill nextjs-modern -a codex`. Or copy the skill folder (packages/core/skills/nextjs-modern in WrongStack/WrongStack) into .agents/skills/nextjs-modern in your project. Codex loads it when a task matches its description.

Can I use Nextjs Modern in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add WrongStack/WrongStack --skill nextjs-modern -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nextjs-modern, .gemini/skills/nextjs-modern, .github/skills/nextjs-modern and .opencode/skills/nextjs-modern in your project.

What does Nextjs Modern need to run?

SKILL.md names no scripts, command-line tools or credentials: Nextjs Modern is instructions for the agent only. Our summary lists: Docker.

Does Nextjs Modern access the network?

SKILL.md names 1 domain. As links in the text: nextjs.org. This is read from the text; nothing was executed.

Is Nextjs Modern safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nextjs Modern use?

Nextjs Modern is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nextjs Modern use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nextjs Modern?

Skills that share tags, products or a category with Nextjs Modern: Apollo Client (apollographql/skills, 117 stars), Cache Components (sangrokjung/claude-forge, 852 stars), React Best Practices V2 (diegosouzapw/awesome-omni-skills, 159 stars) and Nextjs (ericrisco/rsc-harness, 180 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nextjs Modern?

WrongStack (a GitHub organization) maintains it in WrongStack/WrongStack, which has 371 GitHub stars. The repository holds 100 skills in this directory. The repository was last updated on October 10, 2026.

Source: WrongStack/WrongStack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.