mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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.