Skip to content

docs: add upgrade section to installation and expand AI agents guide#95861

Merged
aurorascharff merged 8 commits into
canaryfrom
aurorascharff/docs-upgrade-and-ai-guide
Jul 21, 2026
Merged

docs: add upgrade section to installation and expand AI agents guide#95861
aurorascharff merged 8 commits into
canaryfrom
aurorascharff/docs-upgrade-and-ai-guide

Conversation

@aurorascharff

@aurorascharff aurorascharff commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

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.

Add an Upgrade section to the installation page: the next upgrade
command, why frequent updates matter (security patches, bug 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.

Expand the AI agents guide 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. Cover the 16.2 case where docs are bundled but AGENTS.md is
not auto-generated, and cross-link the upgrading page.
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Stats skipped

Commit: 22863fe
View workflow run

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 22863fe

@aurorascharff
aurorascharff marked this pull request as ready for review July 16, 2026 17:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new documentation content to encourage keeping Next.js up to date and to expand guidance for AI-agent workflows by emphasizing bundled docs plus runtime/debugging visibility.

Changes:

  • Added an “Upgrade your Next.js app” section to Installation, documenting next upgrade and how upgrades also refresh the bundled docs.
  • Expanded the AI agents guide with cross-links to upgrading/CLI docs plus new sections on runtime visibility (terminal-forwarded browser logs, MCP) and multi-step workflow “skills”.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/01-app/02-guides/ai-agents.mdx Adds links plus new sections describing runtime visibility and skills for agent workflows.
docs/01-app/01-getting-started/01-installation.mdx Adds a new “Upgrade your Next.js app” section with next upgrade examples and links to upgrading/agents docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/01-app/02-guides/ai-agents.mdx Outdated
Comment thread docs/01-app/02-guides/ai-agents.mdx Outdated
Reference the current logging.browserToTerminal config instead of the
deprecated browserDebugInfoInTerminal, and use the shorter
'npx skills add vercel/next.js --skill <name>' form to match the other
guides.
@aurorascharff
aurorascharff marked this pull request as draft July 16, 2026 19:43
Comment thread docs/01-app/01-getting-started/01-installation.mdx Outdated
Comment thread docs/01-app/01-getting-started/01-installation.mdx Outdated
Comment thread docs/01-app/01-getting-started/01-installation.mdx Outdated
@aurorascharff
aurorascharff enabled auto-merge (squash) July 21, 2026 11:31
@aurorascharff
aurorascharff merged commit 044ef6d into canary Jul 21, 2026
68 checks passed
@aurorascharff
aurorascharff deleted the aurorascharff/docs-upgrade-and-ai-guide branch July 21, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants