AGENTS.md for a Next.js App Router project
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.
এই রিসোর্স শুধু ইংরেজিতে পাওয়া যায়।
ধরন: AGENTS.md
KitLocal আপনার কম্পিউটারে কখনো ফাইল লেখে না। ফলাফল কপি করুন বা নিজে ডাউনলোড করুন।
ভ্যারিয়েবল পূরণ করুন
আপনি যা লেখেন তা এই ব্রাউজারেই থাকে। এটি URL-এ যোগ হয় না, সেভ হয় না এবং কোথাও পাঠানো হয় না।
প্রিভিউ
এখনও দরকার: Project name
# {{projectName}}: agent guide
Next.js 16 (App Router), TypeScript, managed with npm.
## Commands
- Install: `npm install`
- Test: `npm test`
- Lint and type-check: `npm run lint && npx tsc --noEmit`
Run the lint/type-check and the tests you touched before saying a change is done.
## Architecture rules
- Pages and layouts are Server Components by default. Add `"use client"` only to the smallest
interactive leaf component.
- Never import server-only modules, secrets or non-`NEXT_PUBLIC_` environment variables into a
Client Component.
- `params` and `searchParams` are async in current Next.js versions: await them.
- Do not read `window`, `localStorage` or `Date.now()` during render.
## Working agreement
- Keep diffs focused on the request. Do not reformat or refactor unrelated files.
- Do not upgrade framework dependencies or change build/cache configuration unless asked.
- Do not commit, push or deploy; propose the commit message instead.
- If a requirement is ambiguous, ask before guessing.
## Project-specific rules
এই ক্যাটালগ সম্পর্কে
অন্তর্ভুক্ত স্ন্যাপশট · ১৫ নভে, ২০২৬, ৬:০৫ AM সময়ে প্রকাশিত · ক্যাটালগ রিভিশন 5bc079fe355af2214bc0
অ্যাপের সঙ্গে আসা স্ন্যাপশট দেখানো হচ্ছে (কোনো কনটেন্ট উৎস কনফিগার করা নেই)। উৎসে নতুন কনটেন্ট থাকতে পারে।