freeze

Restrict code edits to a specified directory using pre-commit hooks.

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/ericdahl-dev/coauthor-cleaner --skill freeze-ericdahl-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/ericdahl-dev/coauthor-cleaner/tree/main/.claude/skills/gstack/freeze
Command: npx skills add https://github.com/ericdahl-dev/coauthor-cleaner --skill freeze-ericdahl-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Prevents unintended changes to unrelated directories by constraining file edits to a designated path, aiding in maintaining project integrity.

Core Features & Use Cases

  • Session-Limited Edits: Limits user edits to a predefined directory path, ensuring that modifications are confined to the specified module or codebase.
  • Enhanced Code Focus: Promotes focus and discipline during the editing process by preventing accidental alterations to other code segments.
  • Use Case: During the final review of a complex code module, it ensures that only the intended changes are applied to avoid side effects on unrelated files.

Quick Start

To initiate the freeze, run the command: /freeze <directory_path>

Frequently Asked Questions about freeze

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

FAQPage Schema
How do I restrict code edits to a specific directory during a session?

To restrict code edits to a specific directory during a session, you can use a directory restriction command like `/freeze <directory_path>` to confine modifications and prevent editing of files outside that boundary.

What is the best way to prevent unintended changes to unrelated directories in my codebase?

Preventing unintended changes to unrelated directories is achieved by constraining file edits to a designated path, which maintains project integrity and ensures modifications are confined to the specified module.

How does directory restriction enforcement work for code modularity?

Directory restriction enforcement works by utilizing pre-commit hooks for runtime verification, actively preventing any file modifications that fall outside the specified directory boundary during your editing session.

Can I limit user edits to a predefined directory path for a complex code module review?

Yes, you can limit user edits to a predefined directory path for a complex code module review, ensuring that only intended changes are applied to avoid side effects on unrelated files.

When do I need to use session-bound directory restriction for code editing?

You need session-bound directory restriction for code editing when you want to promote focus and discipline during the editing process, preventing accidental alterations to other code segments in your project.