freeze

Restrict file edits to a user-defined directory during debugging.

6|2|Updated Oct 18, 2021
One-click install
npx skills add https://github.com/jerrywu001/jerrywu001 --skill freeze-jerrywu001
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/jerrywu001/jerrywu001/tree/main/.claude/skills/freeze
Command: npx skills add https://github.com/jerrywu001/jerrywu001 --skill freeze-jerrywu001

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents accidental edits outside a chosen directory, reducing the risk of unintended changes while you work on a specific module.

Core Features & Use Cases

  • Edit/Write boundary enforcement: Blocks any Edit or Write operation targeting files outside the allowed path to keep your changes scoped.
  • Session-persistent restriction: Persists the freeze boundary for the session via a state file that is checked on every Edit/Write invocation.
  • Debugging and refactoring safety: Use when debugging, during risky refactors, or when asked to “freeze” or “only edit this folder” so unrelated code stays untouched.

Quick Start

Ask to run the freeze Skill and tell it the exact directory path you want to allow for edits, such as a folder containing only the module you are modifying.

Frequently Asked Questions about freeze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I restrict file edits to a specific directory during debugging?

To restrict file edits to a specific directory during debugging, you can use a boundary enforcement tool that blocks Edit or Write operations targeting paths outside an allowed folder. This keeps changes scoped to the module you are modifying.

What is scoped maintenance and how does it prevent unintended code changes?

Scoped maintenance is restricting modifications to a single module folder to prevent unintended code changes. It works by denying edit operations whose target file paths fall outside a stored freeze directory, ensuring unrelated code stays untouched during refactoring.

How do I set up directory permissions to freeze a folder for editing?

To set up directory permissions for editing, you specify the exact directory path you want to allow edits within. The system persists this freeze boundary via a state file that is checked on every Edit or Write invocation to filter operations.

Can I use directory guardrails to block write operations outside a project module?

Yes, you can use directory guardrails to block write operations outside a project module. By applying boundary-aware Edit and Write filtering, the system denies any operations targeting file paths outside your defined freeze directory.

Does the freeze restriction persist across the entire coding session?

Yes, the freeze restriction persists across the entire session via a state file that is checked on every Edit or Write invocation. This ensures boundary enforcement remains active until you modify the allowed directory path.

What are the limitations of using directory boundaries for refactoring safety?

A limitation of using directory boundaries for refactoring safety is that it only restricts edits based on file paths. It does not analyze code dependencies, so unrelated files outside the freeze directory might break if the module's API changes.