freezing-edits
Installation
SKILL.md
Contains Hooks
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
Freezing Edits
Locks down file modifications to a single directory for the rest of the session. Everything outside that directory becomes read-only to Claude.
Usage
/freezing-edits src/components
This allows edits only to files under src/components/ and blocks Write/Edit to anything else.
Setup
When invoked, save the allowed directory to a config file so the hook can read it: