Prevent Destructive Operations
ActiveBlocks git reset --hard, git clean -fd, and database drops without explicit confirmation
Triggers
git reset --hardgit clean -fdDROP TABLETRUNCATE
Actions
Block commandRequire confirmationLog attempt
Require Code Review
ActivePrompts for code review when files are modified in critical paths (auth, payment, database)
Triggers
Modify auth filesModify payment filesModify database schema
Actions
Suggest code reviewList changed filesCreate PR draft
Environment Variable Check
ActiveValidates that required environment variables are set before running deployment or build commands
Triggers
npm run builddocker-compose updeploy
Actions
Check .env fileValidate required varsShow missing vars
Dependency Audit
InactiveRuns security audit on dependencies before installing new packages or updating existing ones
Triggers
npm installyarn addpnpm add
Actions
Run npm auditCheck vulnerability databaseSuggest alternatives