Skip to content
Back to skills

Nextjs Review

ASecurity

Next.js App Router audit: Core Web Vitals (LCP/CLS/FID), Server vs Client Components, caching strategy, bundle size, image optimization, SEO metadata. Sources: Google web.dev, Next.js Production Checklist.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
developmentgoreactnextjsperformance

Works with

  • cli

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add samsam007b/claude-code-standards-kit --skill nextjs-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nextjs Review?

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

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

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-review
description: Next.js App Router audit: Core Web Vitals (LCP/CLS/FID), Server vs Client Components, caching strategy, bundle size, image optimization, SEO metadata. Sources: Google web.dev, Next.js Production Checklist.
tags: [nextjs, performance, web-vitals, seo, react, app-router]
model: sonnet
---

# /nextjs-review: Next.js App Router Audit

## When to use

- Before a production release
- Performance audit (LCP > 2.5s, CLS > 0.1)
- Review of a new page or feature
- Bundle size optimization

## Criteria (Google HEART + Core Web Vitals)

### Server vs Client Components
- [ ] Server Component by default: `"use client"` only when necessary
- [ ] Valid reasons for `"use client"`: React hooks, browser events, local state
- [ ] Never fetch in a Client Component if avoidable
- [ ] `Suspense` + `loading.tsx` on all routes with data fetching

### Core Web Vitals targets
| Metric | Target | Critical |
|---------|-------|---------|
| LCP (Largest Contentful Paint) | < 2.5s | > 4s |
| CLS (Cumulative Layout Shift) | < 0.1 | > 0.25 |
| FID/INP (Interaction to Next Paint) | < 200ms | > 500ms |

### Images
- [ ] `next/image` on all images, never native `<img>`
- [ ] `priority` on the LCP image (above the fold)
- [ ] `sizes` configured according to the actual layout
- [ ] WebP/AVIF format (automatic via Next.js)
- [ ] `placeholder="blur"` on non-critical images

### Caching
- [ ] `fetch` with `{ cache: 'force-cache' }` for static data
- [ ] `revalidate` configured for semi-dynamic data
- [ ] `unstable_cache` for expensive DB queries
- [ ] No `no-store` by default unless truly dynamic

### Metadata & SEO
- [ ] `generateMetadata()` on every page (unique title + description)
- [ ] `opengraph-image.tsx` or `og.png` for social cards
- [ ] `sitemap.ts` generated dynamically
- [ ] `robots.ts` configured
- [ ] Structured data (JSON-LD) on product/article pages

### Bundle & Performance
- [ ] `next/dynamic` for heavy components (editors, charts, maps)
- [ ] `next/font` for fonts (no external Google Fonts CDN)
- [ ] Bundle analyzer run (`ANALYZE=true npm run build`) if bundle > 500KB
- [ ] Tree shaking verified on large packages (lodash → lodash-es, etc.)

## Output format

```
## Next.js Review: [page/feature]

### Estimated Core Web Vitals
- LCP: [value / target]
- CLS: [value / target]
- INP: [value / target]

### 🔴 Blocking
### 🟡 Important
### 🟢 Suggestions

### Code optimizations
[corrected code excerpts]
```

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 development →

Comments

Loading comments…

Newsletter

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