মূল বিষয়বস্তুতে যান
kitlocal.dev

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.

ধাপ

  1. Write the agent guide

    Add an AGENTS.md (or equivalent project instructions) with commands, server/client rules and what the agent must not do.

    ব্যবহার করে: AGENTS.md for a Next.js App Router project

    এগোনোর আগে যাচাই করুন

    • The commands in the file actually run on your machine.
  2. 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.

    ব্যবহার করে: Next.js DevTools MCP

    এগোনোর আগে যাচাই করুন

    • The agent can answer a question about your Next.js version correctly.
  3. 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.
  4. Review the server/client boundary

    Run the boundary review prompt on every new or moved component.

    এগোনোর আগে যাচাই করুন

    • No server-only import reaches a client component.
  5. Verify in a browser

    Exercise the feature in a real browser session and check the console for errors.

    ব্যবহার করে: Playwright MCPWeb App Testing

    এগোনোর আগে যাচাই করুন

    • 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
এই ক্যাটালগ সম্পর্কে

অন্তর্ভুক্ত স্ন্যাপশট · ১৫ নভে, ২০২৬, ৬:০৫ AM সময়ে প্রকাশিত · ক্যাটালগ রিভিশন 5bc079fe355af2214bc0

অ্যাপের সঙ্গে আসা স্ন্যাপশট দেখানো হচ্ছে (কোনো কনটেন্ট উৎস কনফিগার করা নেই)। উৎসে নতুন কনটেন্ট থাকতে পারে।