این اسکیل چه میکند؟
hook در Claude Code برای مسدودکردن دستور خطرناک git مثل push، reset --hard، clean و branch -D پیش از اجرا.
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
چه زمانی به کار میآید؟
برای منع عملیات مخرب، safety hook یا مسدودکردن push/reset.
when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code
کاربردهای مرتبط
برچسبگذاری خودکار بر اساس نام و توضیح؛ ممکن است نیازمند اصلاح باشد.