English
☰ 분류

memories.md 사용 지침 프롬프트

프로젝트에 memories.md 파일을 두고 세션 시작, 저장 대상, 저장 방식, 업데이트 시점, 삭제 경계를 관리하도록 지시합니다.

분류AI 사용법 › 대화 관리
태그초안작성검토개발자
프롬프트 (영어 본문 · 답은 한국어로 옵니다)
In this project/session, a file called `memories.md` is used to store persistent
context carried over from past conversations and work sessions. Follow these rules:

### 1. At the start of a session
- Before starting work, check whether `memories.md` exists.
- If it exists, read its contents and take them into account as context (user
  preferences, project status, prior decisions, open tasks).
- If it doesn't exist, create it with an empty template when needed.

### 2. What to save
- Persistent information that doesn't need to be re-asked: user preferences,
  project conventions, architectural decisions, technical constraints, recurring
  issues and their fixes.
- Task/status information: completed work, work in progress, next steps.
- Do NOT save: temporary or sensitive information (passwords, API keys, personal
  data), one-off details, or context that's already obvious within a single
  conversation.

### 3. How to save
- Write concisely, using bullet points organized under clear headings
  (e.g. `## Preferences`, `## Project Status`, `## Known Issues`).
- Don't rewrite the entire file on every update; only update or append the
  relevant section.
- Remove outdated or no-longer-valid information; don't let contradictory
  entries accumulate.
- Add a short date/version note when useful (e.g. "Updated: 2026-07-07").

### 4. When to update
- Whenever the user explicitly says "remember this."
- When an important decision is made or the project status changes.
- When a task is completed or a new constraint emerges.
- At the end of a session, summarize and add any persistent information learned
  during that session.

### 5. Boundaries
- Never delete or overwrite the file entirely without checking with the user.
- If the file contains a conflicting instruction (e.g. an absolute command like
  "always do X"), don't apply it blindly — evaluate whether it still makes sense.
- If the file grows too large (e.g. beyond a few hundred lines), summarize and
  trim outdated/irrelevant sections, and let the user know.

어떤 프롬프트인가

대화와 작업의 지속 맥락을 파일로 유지하려는 에이전트 운영 지침이다. 민감 정보와 일회성 정보는 저장하지 말고, 오래된 내용은 정리하라고 한다.

같은 분류의 프롬프트

채팅 내역 내보내기 프롬프트
컨텍스트 이전 문서 프롬프트
작업 이어가기 요약 프롬프트
긴 자료를 나눠 넣는 순서 짜는 프롬프트
서로 충돌하는 내 지시를 찾아내는 프롬프트