Skip to content
Back to skills

Nextjs

ASecurity

Use when changing pages, layouts, Server Components, Route Handlers, Server Actions, caching, or rendering in a Next.js application.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsnextjsnodedocumentation

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add davidvornholt/standards --skill nextjs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nextjs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nextjs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/davidvornholt-nextjs/badge)](https://www.skillsdirectory.com/skills/davidvornholt-nextjs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nextjs
description: Use when changing pages, layouts, Server Components, Route Handlers, Server Actions, caching, or rendering in a Next.js application.
---

# Next.js

Next.js apps use Cache Components (`cacheComponents: true`). Cache async data with `'use cache'` plus `cacheLife` and `cacheTag`, and read request-time data inside a `<Suspense>` boundary, so the rest of the page still prerenders. Don't export the route segment options `dynamic`, `dynamicParams`, `revalidate`, `fetchCache`, or `runtime`, because Cache Components doesn't support them.

Read the documentation for the installed version in `node_modules/next/dist/docs/` rather than relying on memory, starting with `01-app/02-guides/migrating-to-cache-components.md`. Moving an app that doesn't enable Cache Components yet is a change of its own.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.