Reference docMembers

Next.js (TypeScript/JavaScript) Web Security Spec (Next.js 16.1.x, Node.js 20.9+)

Next.js (TypeScript/JavaScript) Web Security Spec (Next.js 16.1.x, Node.js 20.9+) is a reference document for Claude Code, from the Claude Code templates (davila7) collection by davila7. The full text is about 6,142 words in 20 sections, with 36 tables. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Backend and IT and security who use Claude Code.

What it covers

  • 0 Safety, boundaries, and anti-abuse constraints MUST FOLLOW
  • 1 Operating modes
  • 1.1 Generation mode default
  • 1.2 Passive review mode always on while editing
  • 1.3 Active audit mode explicit scan request
  • 2 Definitions and review guidance
  • 2.2 State-changing request
  • 2.3 Required audit finding format
  • 3.1 Run Next.js in production mode MUST
  • 3.3 Baseline header/cookie posture SHOULD

The full text is in the members library

Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.

Source: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/security/security-best-practices/references/javascript-typescript-nextjs-web-server-security.md

Author: davila7, Claude Code templates (davila7). License: Apache-2.0.

Related entries