freeze
Restrict file edits to a specific directory for the session. (gstack)
定位
Restrict file edits to a specific directory for the session. (gstack)
触发
freeze edits to directorylock editing scoperestrict file changes
核心流程/章节
- When to invoke this skill
- Setup
- How it works
- Notes
原文要点
When to invoke this skill
Blocks Edit and Write outside the allowed path. Use when debugging to prevent accidentally "fixing" unrelated code, or when you want to scope changes to one module. Use when asked to "freeze", "restrict edits", "only edit this folder", or "lock down edits".
/freeze — Restrict Edits to a Directory
Lock file edits to a specific directory. Any Edit or Write...
适用场景
- 基于 description 推断:Restrict file edits to a specific directory for the session. (gstack)
参见
- GitHub: gstack