Build a Next.js feature with a coding agent
A guard-railed way to build a Next.js feature with a coding agent: set the rules, give it live framework context, check boundaries, and verify in a real browser.
이 리소스는 영어로만 제공됩니다.
시작하기 전에
- A Next.js App Router project you can run locally.
- A coding agent that can read project instruction files and use MCP servers.
단계
Write the agent guide
Add an AGENTS.md (or equivalent project instructions) with commands, server/client rules and what the agent must not do.
다음으로 넘어가기 전에 확인
- The commands in the file actually run on your machine.
Give the agent framework context
Connect a Next.js-aware MCP server so the agent can consult current framework docs and your running app instead of relying on memory.
다음으로 넘어가기 전에 확인
- The agent can answer a question about your Next.js version correctly.
Implement in small steps
Ask for one component or route at a time and review each diff before the next.
다음으로 넘어가기 전에 확인
- Each diff is focused on the request.
Review the server/client boundary
Run the boundary review prompt on every new or moved component.
다음으로 넘어가기 전에 확인
- No server-only import reaches a client component.
Verify in a browser
Exercise the feature in a real browser session and check the console for errors.
다음으로 넘어가기 전에 확인
- The main flow works and the console is clean.
기대 결과
A working feature with reviewed boundaries and browser-level verification.
관련 리소스
A starting AGENTS.md that tells coding agents how to build, test and change a Next.js App Router codebase safely: commands, boundaries and what never to do without asking.
엄선KitLocal그저께 업데이트
agents-mdnextjsreactinstructions
이 카탈로그 정보
내장 스냅샷 · 2026. 11. 15. 오전 6:05에 게시됨 · 카탈로그 리비전 5bc079fe355af2214bc0
앱에 내장된 스냅샷을 표시하고 있습니다(콘텐츠 소스가 설정되지 않았습니다). 소스에는 더 새로운 콘텐츠가 있을 수 있습니다.