git-workflowlisted
Install: claude install-skill aiskillstore/marketplace
# Git Workflow
## Branch Naming
```
feature/{issue}-{slug} # New features
fix/{issue}-{slug} # Bug fixes
refactor/{issue}-{slug} # Code refactoring
docs/{issue}-{slug} # Documentation
test/{issue}-{slug} # Test additions
```
Examples:
- `feature/42-user-authentication`
- `fix/57-login-redirect-loop`
- `refactor/63-extract-api-client`
## Conventional Commits
```
feat: add user authentication
fix: resolve login redirect loop
refactor: extract API client
docs: update README with setup instructions
test: add unit tests for auth service
chore: update dependencies
```
With scope:
```
feat(auth): add OAuth2 support
fix(api): handle rate limit errors
refactor(ui): extract button component
```
Breaking changes:
```
feat!: change authentication API
feat(auth)!: remove password login
```
## Worktrees
```bash
# Create worktree for feature
git worktree add ../worktrees/feature-42-auth -b feature/42-auth
# List worktrees
git worktree list
# Remove worktree when done
git worktree remove ../worktrees/feature-42-auth
# Prune stale worktrees
git worktree prune
```
## Workflow Steps
### 1. Create Issue
```bash
gh issue create --title "Add user authentication" --body "..."
# Note the issue number (e.g., #42)
```
### 2. Create Branch in Worktree
```bash
git worktree add ../worktrees/feature-42-auth -b feature/42-auth
cd ../worktrees/feature-42-auth
```
### 3. Develop
```bash
# Make changes...
git add .
git commit -m "feat(auth): add login form component"
git com