docs(agents): next.js agent rules block (added by next dev)

This commit is contained in:
2026-10-03 18:36:15 +00:00
parent 9020a773e1
commit 1993623548
+10
View File
@@ -19,3 +19,13 @@
## Other ## Other
1. For longer terminal tasks you should use pty_* tools. 1. For longer terminal tasks you should use pty_* tools.
<!-- BEGIN:nextjs-agent-rules -->
# 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.
<!-- END:nextjs-agent-rules -->