Freeze banner
dtsong dtsong

Freeze

Development community

Description

--- name: freeze description: "Freeze files matching a pattern — blocks Edit/Write to matched files via a session-scoped PreToolUse hook. Use when files should not be modified (e.g., during review, or to protect config files). Invoke /freeze '*.config.js' to enable, /freeze off to disable." --- # /freeze — File Modification Guard Blocks Edit and Write tool calls to files matching a user-specified pattern. ## Activation When invoked with a pattern (e.g., `/freeze '*.config.js'`): 1. Run: `bas

Installation

Installs to ~/.claude/skills/dtsong-my-claude-setup-freeze/SKILL.md

Terminal
mkdir -p ~/.claude/skills/dtsong-my-claude-setup-freeze && curl -fsSL https://raw.githubusercontent.com/dtsong/my-claude-setup/HEAD/commands/freeze.md -o ~/.claude/skills/dtsong-my-claude-setup-freeze/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository