What problem does it solve?
The guard Skill prevents destructive operations and accidental edits in specified directories, offering a comprehensive safety layer for live systems and production environments.
Core Features & Use Cases
- Destructive Command Warnings: Provides warnings before executing rm -rf, DROP TABLE, force-push, and other potentially destructive commands.
- Directory-Scope Edit Restrictions: Restricts edits to a specified directory, preventing changes to unintended files.
- Use Case: Use guard mode to "lock it down" during sensitive operations like debugging live systems or before major deployments, ensuring maximum safety and control.
Quick Start
Activate guard mode by asking the user which directory to restrict edits to, and provide a directory path. Then, guard mode will automatically enforce the necessary protections.