git-workspace-init
Inicializar Git Worktrees para Desenvolvimento Isolado
Gerenciar múltiplos branches e funcionalidades em paralelo é desafiador. Esta skill cria git worktrees isolados automaticamente usando nomenclatura convencional de branches, permitindo desenvolvimento paralelo limpo sem fazer stash ou alternar branches.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "git-workspace-init". /init-workspace feat user-authentication
النتيجة المتوقعة:
- Branch name: feat/user-authentication
- Creating worktree at: /path/to/project/.worktrees/feat-user-authentication
- Workspace initialized!
- Branch: feat/user-authentication
- Path: /path/to/project/.worktrees/feat-user-authentication
- To start working: cd /path/to/project/.worktrees/feat-user-authentication
استخدام "git-workspace-init". /init-workspace fix login-validation-error
النتيجة المتوقعة:
- Branch name: fix/login-validation-error
- Creating worktree at: /path/to/project/.worktrees/fix-login-validation-error
- Workspace initialized!
- Branch: fix/login-validation-error
- Path: /path/to/project/.worktrees/fix-login-validation-error
- To start working: cd /path/to/project/.worktrees/fix-login-validation-error
التدقيق الأمني
آمنThis is a documentation-only skill containing workflow definitions and example code blocks. All subprocess examples use hardcoded command arrays with no user input injection risk. The 'C2 keywords' and 'weak crypto' static findings are false positives triggered by benign words in documentation text. No network calls, no file access beyond user's git repository, no external dependencies.
عوامل الخطر
⚙️ الأوامر الخارجية (3)
📁 الوصول إلى نظام الملفات (2)
درجة الجودة
ماذا يمكنك بناءه
Desenvolvimento paralelo de funcionalidades
Trabalhe em múltiplas funcionalidades simultaneamente sem fazer stash de alterações ou alternar branches repetidamente.
Isolamento rápido de correção de bugs
Criar um workspace isolado para hotfixes de produção sem disturbing o estado atual de desenvolvimento.
Atualizações de documentação
Manter separação limpa entre alterações de código e atualizações de documentação usando branches dedicados.
جرّب هذه الموجهات
/init-workspace feat user-authentication
/init-workspace fix login-validation-error
/init-workspace docs api-reference
/init-workspace hotfix security-patch
أفضل الممارسات
- Use descrições de tarefas descritivas que indiquem claramente o trabalho sendo realizado
- Escolha o tipo de tarefa apropriado (feat, fix, hotfix, etc.) para categorização adequada do branch
- Limpe os worktrees após fazer merge dos PRs usando os comandos de limpeza fornecidos
تجنب
- Usar espaços ou letras maiúsculas nas descrições de branches quebra as convenções de nomenclatura
- Criar worktrees sem fazer push para o remoto perde os benefícios de rastreamento de branch
- Deixar worktrees não utilizados acumular no diretório .worktrees ao longo do tempo