next-best-practices

Installation
SKILL.md

Next.js Best Practices

Apply these rules when writing or reviewing Next.js code.

Cache Components patterns: When the project has cacheComponents: true in next.config.ts, use the separate cache-components skill for 'use cache', cacheLife(), cacheTag(), updateTag(), and revalidateTag() guidance.

File Conventions

See file-conventions.md for:

  • Project structure and special files
  • Route segments (dynamic, catch-all, groups)
  • Parallel and intercepting routes
  • Middleware rename in v16 (middleware → proxy)

RSC Boundaries

Detect invalid React Server Component patterns.

Related skills

More from laguagu/claude-code-nextjs-skills

Installs
67
GitHub Stars
35
First Seen
Mar 13, 2026