본문으로 바로 가기
kitlocal.dev

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

이 카탈로그 정보

내장 스냅샷 · 2026. 11. 15. 오전 6:05에 게시됨 · 카탈로그 리비전 5bc079fe355af2214bc0

앱에 내장된 스냅샷을 표시하고 있습니다(콘텐츠 소스가 설정되지 않았습니다). 소스에는 더 새로운 콘텐츠가 있을 수 있습니다.