From 19936235482d5c5af814d6f7ba340cb5703991da Mon Sep 17 00:00:00 2001 From: Kamil Krzywda Date: Sat, 3 Oct 2026 18:36:15 +0000 Subject: [PATCH] docs(agents): next.js agent rules block (added by next dev) --- AGENTS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 951bd15..fa30619 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,3 +19,13 @@ ## Other 1. For longer terminal tasks you should use pty_* tools. + + + +# This is NOT the Next.js you know + +This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices. + +This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean. + +