1 rule for Next.js
Windsurf rules for Next.js: App Router, TypeScript and Server Actions. Structure, data, errors, security, performance, and tests. Next.js 16.4.6, Nov 2026.
# Next.js Windsurf Rules: App Router, TypeScript and Server Actions
## Install
Install the native export at `.devin/rules/nextjs-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Next.js Windsurf Rules: App Router, TypeScript and Server Actions
Devin rule for Next.js. Install the `.devin/rules` file. The trigger is model decision. Do not also copy it into `.windsurf/rules`.
## Updated for Next.js 16.4.6, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Read `package.json`, the lockfile, and `ne...