Preserve session context across a /clear by writing state to PROMPT.md, teardown, and restoring afterwards.
| (none) | Full reset — write all four sections (task, method, key things, progress) | | new | New-task reset — write only the "Key things to remember" section, omitting current task, method, and progress. Use this when starting a different task but carrying over institutional knowledge. |
Check git status for uncommitted changes. If there are any:
컨텍스트를 유지하면서 세션을 재설정합니다. 변경 사항을 커밋하고 현재 작업 상태를 캡처하는 PROMPT.md를 작성하고 활성 팀이 있는 경우 해체한 다음 사용자에게 /clear 및 컨텍스트 복원을 안내합니다. 학습을 보존하면서 다른 작업을 시작하기 위해 현재 작업/진행 없이 핵심 기관 지식만 작성하는 'new' 매개변수('/session-reset new')를 지원합니다. 컨텍스트 창이 커지거나, 세션을 새로 시작해야 하거나, 포커스를 전환할 때 사용하세요. 사용자가 "재설정", "새로 시작", "저장 및 지우기" 또는 "프롬프트 쓰기"라고 말할 때도 사용됩니다. 출처: webbertakken/agent-skills.