Files
next.js/docs
Aurora ScharffandGitHub 044ef6dc67 docs: add upgrade section to installation and expand AI agents guide (#95861)
DOC-6499, two changes:

**Installation: new "Upgrade your Next.js app" section.** The `next
upgrade` command, why frequent updates matter (security patches, fixes,
optimizations, new features), and that upgrading also updates the docs
bundled in the `next` package, with a prompt for agents to catch up
after an upgrade. Links the Upgrading page for version guides.

**AI agents guide expanded.** Beyond bundled docs: runtime visibility
(browser logs forwarded to the terminal, structured error copy, the MCP
server for querying dev-server state) and skills for multi-step
workflows. Covers the 16.2 case where docs are bundled but `AGENTS.md`
is not auto-generated, and cross-links Upgrading.

Claims verified against source (`next-upgrade.ts`, `agentRules`,
`browserDebugInfoInTerminal`, `--no-agents-md`). Docs-only.
2026-07-21 11:39:39 +00:00
..