Gstack Guard

0•

Protects production environments and critical codebases by intercepting destructive commands and enforcing strict directory edit boundaries.

Gstack Guard activates comprehensive safety guardrails for Claude Code by fusing destructive command warnings with strict directory-scoped file locks. Ideal when interacting with production databases, live infrastructure, or sensitive multi-project repositories, this skill intercepts high-risk terminal commands (such as force-pushes, drop tables, and recursive file deletions) and blocks unauthorized write or edit operations outside a user-defined target directory.

主な機能

01Scoped filesystem editing restricting write and edit tools to a single target directory
020 GitHub stars
03Fast session control with support for selective unfreezing and clean state resets
04Interactive directory boundary configuration via user prompt prompts
05Pre-execution interception of dangerous bash commands like rm -rf, DROP TABLE, and git force-push
06Dual-layer protection combining destructive command warnings with file freeze boundaries

ユースケース

01Executing high-privilege maintenance tasks under strict supervisory guardrails
02Debugging or hotfixing live production systems where accidental deletions or schema changes must be prevented
03Refactoring code inside an isolated module without risking unintentional modifications to sibling packages