nextfriday-nextjs
Installation
SKILL.md
Next Friday Next.js
Rules specific to Next.js applications.
Environment Variables
Client Components
Client components must use NEXT_PUBLIC_ prefix for environment variables.
// Bad:
"use client";
const apiUrl = process.env.API_URL;
const secretKey = process.env.SECRET_KEY;
// Good:
"use client";