using-git-worktrees
إنشاء مساحات عمل git معزولة
Également disponible depuis: Doyajin174,DYAI2025,Cygnusfear,CodingCossack,Cycleaddict,ZhanlinCui,davila7,sickn33
تطوير ميزات متعددة بالتوازي دون التبديل بين فروع git. تخلق هذه الأداة شجرات عمل نظيفة ومعزولة مع إعداد تلقائي للمشروع والتحقق من خط الأساس للاختبارات.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "using-git-worktrees". إنشاء worktree معزول لميزة المصادقة للمستخدم
Résultat attendu:
- Worktree جاهز في /projects/myapp/.worktrees/user-auth
- الاختبارات ناجحة (47 اختبار، 0 فشل)
- مستعد لتنفيذ ميزة user-auth
Utilisation de "using-git-worktrees". إعداد worktree لإعادة الهيكلة في الدليل العام
Résultat attendu:
- Worktree جاهز في ~/.config/superpowers/worktrees/myapp/refactor/api-cleanup
- خط الأساس لـ Cargo test: 234 ناجح، 0 فشل
- مساحة العمل جاهزة لإعادة هيكلة API
Utilisation de "using-git-worktrees". إنشاء worktree مع اكتشاف package.json
Résultat attendu:
- تم اكتشاف مشروع Node.js
- تشغيل npm install
- خط الأساس للاختبارات: 156 ناجح، 2 تم تخطيها
- Worktree جاهز لتطوير الميزات
Audit de sécurité
SûrThis is legitimate Git worktree management documentation. All 53 static findings are FALSE POSITIVES. The patterns detected (shell commands, filesystem paths) are standard git operations with hardcoded arguments in documentation format. The 'C2 keywords' alerts are triggered by common computing terms like 'command' and 'control' in version control context. The 'weak cryptographic algorithm' alerts misinterpret text content (SHA256 hashes, words like 'encrypt') as code. This skill teaches safe git practices with proper safety verification using git check-ignore.
Facteurs de risque
⚡ Contient des scripts (1)
📁 Accès au système de fichiers (1)
⚙️ Commandes externes (1)
Score de qualité
Ce que vous pouvez construire
تطوير الميزات بالتوازي
العمل على ميزات متعددة في وقت واحد مع عزل نظيف بين مساحات العمل
فروع المراجعة المعزولة
إنشاء شجرات عمل مؤقتة لاختبار طلبات السحب دون التأثير على مساحة العمل الرئيسية
إعداد فرع متسق
توحيد إنشاء worktree مع الإعداد التلقائي والتحقق من السلامة
Essayez ces prompts
إنشاء worktree git معزول لتنفيذ ميزة تسجيل الدخول
إعداد worktree لإعادة هيكلة API. استخدام دليل .worktrees الموجود وتشغيل npm install تلقائياً
إنشاء worktree للإصلاح العاجل في دليل worktrees العام
إنشاء worktree لفرع الميزة، والتحقق من أنه تم تجاهله بواسطة git، وتشغيل npm install، والتحقق من نجاح خط الأساس للاختبارات
Bonnes pratiques
- التحقق دائماً من أن دلائل worktree تم تجاهلها بواسطة git قبل الإنشاء
- استخدام الدلائل المحلية للمشروع (.worktrees/) عندما يكون ذلك ممكناً للقرب
- تشغيل خط الأساس للاختبارات للتأكد من أن worktree يبدأ في حالة معروفة جيدة
- اتباع الأولوية: الدلائل الموجودة > تفضيل CLAUDE.md > اختيار المستخدم
Éviter
- تجاوز التحقق من git check-ignore للدلائل المحلية للمشروع
- المتابعة مع إنشاء worktree عند فشل الاختبارات دون موافقة المستخدم
- ترميز أوامر الإعداد بشكل ثابت بدلاً من الكشف التلقائي عن نوع المشروع
- افتراض موقع الدليل دون التحقق من الاتفاقيات الموجودة