freeze
Installation
SKILL.md
Freeze
Restricts all Edit and Write tool calls to a single directory for the current session, preventing accidental changes outside the intended scope.
Purpose
Activate a directory lock that blocks any Edit or Write operation targeting files outside the specified path — useful when debugging, doing a scoped refactor, or working in one module and wanting to avoid accidentally touching unrelated code.
Trigger
Apply when user requests:
- "freeze", "freeze edits", "lock edits to this directory", "restrict to directory"
- "scope edits", "only edit this folder", "鎖定編輯範圍", "只能改這個目錄"
- Automatically activates as part of
guard(which combinescareful+freeze)
Do NOT trigger for:
- Read operations — freeze never restricts reads, only writes
- Cases where work genuinely spans multiple directories — ask the user to confirm before freezing