What problem does it solve?
When working on production systems or critical codebases, accidental execution of destructive commands (like rm -rf, DROP TABLE, force-push) or unintended edits to files outside your intended scope can cause catastrophic data loss or system outages.
Core Features & Use Cases
- Destructive command warnings: Alerts you before executing high-risk commands like file deletions, database drops, or forced pushes, with an option to override if needed.
- Directory-scoped edit restrictions: Blocks all file edits outside a user-specified directory to prevent unintended changes to unrelated parts of the codebase.
- Use case: Ideal for debugging live production environments, making changes to critical infrastructure code, or any scenario where you need maximum protection against accidental modifications.
Quick Start
Use the guard skill to activate full safety mode and restrict all file edits to your project's root directory.