Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

git-guardrails-claude-code

النجوم٥
التفرعات١
آخر تحديث٢٨ أبريل ٢٠٢٦ في ١٥:٥٥

Install a Claude-Code PreToolUse hook that blocks destructive git commands (push variants including force-push, hard reset, force clean, branch -D, checkout/restore overwrites) before Bash runs them. Use when the user wants git safety rails, force-push prevention, or repository-wipe protection.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
2 ملفات
SKILL.md
readonly