Skip to content
Back to skills

Nextjs Patterns

ASecurity

Next.js App Router: server vs client components, data caching and revalidation, route handlers, middleware and metadata.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentstypescriptnextjsfrontend

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill nextjs-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nextjs Patterns?

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

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

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-patterns
description: "Next.js App Router: server vs client components, data caching and revalidation, route handlers, middleware and metadata."
tags: [frontend, typescript]
---

# Nextjs Patterns

## When to use

- Next.js apps

## Procedure

1. Default to server components
2. Mark interactivity with "use client" at leaves
3. Choose caching (static, revalidate, dynamic) per route
4. Use server actions with validation
5. Set metadata and OG images

## Checklist

- [ ] No secrets in client bundles
- [ ] Revalidation strategy explicit

## Anti-patterns

- Fetching in client components what could be server-rendered

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.