بازگشت به نتایج جستجو

mattpocock / AGENT SKILL

git-guardrails-claude-code

فارسی + English

این اسکیل چه می‌کند؟

hook در Claude Code برای مسدودکردن دستور خطرناک git مثل push، reset --hard، clean و branch -D پیش از اجرا.

ORIGINAL DESCRIPTION

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 TO USE

when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code

کاربردهای مرتبط

برچسب‌گذاری خودکار بر اساس نام و توضیح؛ ممکن است نیازمند اصلاح باشد.