From super-dev
Directory freeze guardrail that restricts file edits to a specific directory for the current session. Activate when debugging or investigating to prevent accidental changes to unrelated code. Triggers on: "freeze mode", "lock directory", "restrict edits", "only edit in". Blocks Edit/Write operations outside the specified directory. Deactivate by ending the session.
How this skill is triggered — by the user, by Claude, or both
Slash command
/super-dev:freezeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Session-scoped directory restriction that blocks file edits outside a specified directory. Activate when debugging to prevent accidentally "fixing" unrelated code.
Session-scoped directory restriction that blocks file edits outside a specified directory. Activate when debugging to prevent accidentally "fixing" unrelated code.
Announce at start: "Freeze mode ACTIVATED. File edits restricted to: [directory]. Changes outside this directory will be blocked."
When invoked, ask the user which directory to restrict to:
Any Edit, Write, or NotebookEdit tool call where the target file path is NOT under the frozen directory.
| Tool | Blocked When |
|---|---|
Edit | file_path is outside freeze directory |
Write | file_path is outside freeze directory |
NotebookEdit | notebook_path is outside freeze directory |
Bash with redirect | Command contains > or >> to a path outside freeze directory |
When a blocked edit is detected:
tests/ directory. Consider freezing at a higher level or overriding for test files.Freeze mode lasts for the entire session. To deactivate:
npx claudepluginhub jenningsloy318/claude-skill-artifacts --plugin super-devRestricts Edit and Write operations to a specific directory for the session. Blocks edits outside the allowed path. Useful when debugging to prevent accidentally modifying unrelated code.
Restricts Edit/Write/MultiEdit to one directory for the session, blocking edits outside it. Useful for debugging or fencing parallel agents.
Hard-blocks edits outside declared frozen directories to protect paths during risky changes. Use when you need to prevent accidental writes outside a safe zone.