What problem does it solve? When working on production systems or debugging live environments, a single destructive command (rm -rf, DROP TABLE, force-push) or an accidental edit outside the intended directory can cause serious damage. Guard mode activates two layers of protection at once so risky operations are caught before they execute. ## Core Features & Use Cases - Destructive Command Warnings: Intercepts Bash commands matching dangerous patterns (rm -rf, DROP TABLE, force-push, etc.) and warns before execution, with the option to override. - Directory-Scoped Edit Boundary: Blocks Edit and Write operations on files outside a user-specified directory, enforced via PreToolUse hooks. - Combined Activation: Merges the /careful and /freeze skills into a single command for maximum safety. - Use Case: You are hotfixing a bug directly on a production server. Activate guard mode, restrict edits to the application directory, and get warned before any destructive shell command runs. ## Quick Start Ask the AI to activate guard mode and restrict edits to your project directory, for example: "Enable guard mode and lock edits to /srv/myapp."