Next.js 16.3 AI Improvements: chấm dứt sửa code mù của agent
Next.js 16.3 Preview giúp AGENTS.md, Skills, Agent Browser, actionable errors, MCP tập trung và Markdown docs trở nên agent-readable.
Agent-readable framework loop
Rủi ro: vẫn là Preview. Nên thử trên branch và để con người quyết định UX, độ mới dữ liệu và scope.
What happened
Next.js 16.3 được phát hành Preview qua @preview. Sau Instant Navigations, bài thứ hai nói về AI Improvements.
Why it matters
Điểm chính là agent đọc docs đúng phiên bản, kiểm tra browser, React runtime và route diagnostics trước khi sửa, không chỉ viết thêm code.
Community signal
GitHub Discussion cho thấy câu hỏi về build performance, static export, partial prefetching, canary và memory.
Checklist
Checklist: kiểm tra AGENTS.md, dùng Skills hẹp scope, bắt buộc browser verification, ghi lý do Stream/Cache/Block và tách credentials.
Risks
Rủi ro: vẫn là Preview. Nên thử trên branch và để con người quyết định UX, độ mới dữ liệu và scope.
Feedback loop map
| Problem | Next.js 16.3 surface | Operational effect |
|---|---|---|
| Version drift | Managed AGENTS.md docs pointer | Agents read docs bundled with the installed framework version. |
| Workflow adoption | First-party Skills | Cache Components and instant navigation work move route by route. |
| Runtime truth | agent-browser React introspection | Agents inspect DOM, console, network, React tree, renders, and Suspense. |
| Fix choice | Actionable errors and Copy as prompt | Stream, Cache, and Block stay explicit product decisions. |
| Fast diagnostics | Focused DevTools MCP tools | Route compilation status can come from the running dev server. |
| Readable docs | .md, llms.txt, llms-full.txt | Agents get structured documentation without scraping UI pages. |
Checklist
• Checklist: kiểm tra AGENTS.md, dùng Skills hẹp scope, bắt buộc browser verification, ghi lý do Stream/Cache/Block và tách credentials.