One-click install
npx skills add https://github.com/Jia-Hong-Peng/jolike.com --skill freeze-jia-hong-peng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/Jia-Hong-Peng/jolike.com/tree/main/.claude/skills/gstack/freeze
Command: npx skills add https://github.com/Jia-Hong-Peng/jolike.com --skill freeze-jia-hong-peng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When working on a specific module, debugging an issue, or making scoped updates to a large codebase, it's easy to accidentally edit unrelated files, leading to unintended bugs, broken functionality, or wasted time reverting unintended changes. This Skill eliminates that risk by locking all file edit operations to a single directory you specify for the entire session.

Core Features & Use Cases

  • Strict Edit Boundary Enforcement: Blocks all Edit and Write operations targeting files outside your chosen allowed directory, while leaving read, search, and command tools fully functional.
  • Focused Development Workflows: Ideal for debugging a single module, making isolated feature updates, or working on a specific part of a large project without risking accidental changes to other areas.
  • Simple Boundary Management: You can set, update, or remove the edit restriction at any time with straightforward commands, no complex configuration required.

Quick Start

Ask the AI to lock all file edits to your project's src/utils directory for the current session to avoid accidental changes to unrelated code.

Frequently Asked Questions about freeze

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

FAQPage Schema
How do I prevent accidental edits to unrelated files during focused module debugging?

You can prevent accidental file edits by locking write operations to a specific directory. This enforces a strict boundary that blocks modifications to unrelated files while leaving read and search tools fully functional.

Can I still read and search files outside the allowed directory scope?

Yes, you can still read and search files outside the directory restriction. The edit lock specifically blocks edit and write operations, leaving read, search, and command tools fully functional for navigating the broader codebase.

How do I set an edit lock to restrict file modifications to a single directory?

You set an edit lock by asking the AI to restrict file modifications to your chosen directory for the current session. A pre-tool use hook then validates file paths against this boundary to deny operations outside the allowed scope.

Does directory restriction work for both absolute and relative file paths?

Directory restriction works for both absolute and relative file paths. The pre-tool use hook resolves all path types and validates them against the configured boundary to ensure no file modifications occur outside the allowed scope.

What is the best way to isolate code changes in a large codebase without breaking other modules?

The best way to isolate code changes is by applying a directory restriction that locks edits to a specific scope. This prevents accidental modifications to unrelated modules during scoped feature updates or focused debugging tasks.

Can I update or remove the directory restriction after starting a development session?

Yes, you can update or remove the directory restriction at any time during your development session. Simple boundary management commands allow you to set, change, or clear the edit lock without requiring any complex configuration.