← ClaudeAtlas

git-workspace-initlisted

Initialize a new git worktree and branch for feature development or bug fixes. Use when: (1) Starting work on a new feature, (2) Beginning a bug fix, (3) Creating an isolated workspace for any task, (4) You want to work in parallel on multiple branches. This skill handles branch naming with conventional branch conventions, worktree creation, and remote push setup.
aiskillstore/marketplace · ★ 329 · Code & Development · score 79
Install: claude install-skill aiskillstore/marketplace
# Git Workspace Init Initialize an isolated git worktree with a properly named branch following [conventional branch naming](https://conventional-branch.github.io/) conventions. ## When to Use - Starting a new feature - Beginning a bug fix - Creating a hotfix - Documentation updates - Refactoring work - Any task needing an isolated workspace ## Prerequisites - Git repository with a remote configured - Write access to push branches ## Workflow Overview 1. **Get task details** → Ask for type and description (or accept from command) 2. **Generate branch name** → Apply conventional branch naming 3. **Create worktree** → Set up isolated workspace 4. **Push to remote** → Track branch on origin 5. **Navigate** → Switch to new workspace ## Step 1: Gather Task Information Ask the user for or accept from command arguments: ### Task Type | Type | Use Case | Example | |------|----------|---------| | `feat` | New feature | `feat/user-authentication` | | `fix` | Bug fix | `fix/login-validation-error` | | `hotfix` | Urgent production fix | `hotfix/security-patch` | | `docs` | Documentation | `docs/api-reference` | | `refactor` | Code restructuring | `refactor/extract-service` | | `test` | Test additions | `test/auth-integration` | | `chore` | Maintenance | `chore/upgrade-dependencies` | | `perf` | Performance improvement | `perf/optimize-queries` | | `ci` | CI/CD changes | `ci/add-deploy-workflow` | | `style` | Code style/formatting | `style/apply-prettier` | ### Task Descriptio