presets.dev
BrowseMembersSign In
presets.devAboutPrivacyTerms

Open source on GitHub

Filters

Tool

Claude
Cursor
Cline
Codex
Copilot
Windsurf
Antigravity CLI

Technology

Next.js1

Next.js Rules for Cursor

1 rule for Next.js

Next.js Rules for Cursor: App Router, TypeScript and Server Actions

Cursor 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 Rules for Cursor: App Router, TypeScript and Server Actions ## Install Install the native export at `.cursor/rules/nextjs-rules.mdc`. 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 Rules for Cursor: App Router, TypeScript and Server Actions File-scoped Cursor rule for Next.js. It attaches when a matching file is in context. ## 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 `next.config` before editing. Match the dire...