## Problem
Workers are switching from one ticket to another without changing git branches first. The current `worker-workflow` skill says "Follow git-workflow for branch/commit/PR" but doesn't explicitly instruct workers to check their current branch before starting a new ticket.
## What Happens
- Worker finishes Ticket A on branch `feature/ticket-A`
- Worker starts Ticket B on same branch (should create new branch)
- Commits for Ticket B end up on Ticket A's branch
- PR for Ticket B includes Ticket A's code
## Fix Required
Update `.claude/skills/worker-workflow/SKILL.md` - add explicit instruction in "Starting Work on a Ticket" section:
```markdown
### Starting Work on a Ticket
```bash
# CRITICAL: Check current branch FIRST
git branch --show-current # If not 'main', go back to main!
git checkout main
git pull origin main
# Now start new ticket
mark_busy()
# Read ticket details, understand requirements
# Follow git-workflow for branch/commit/PR
```
```
Add prominent warning at the top of the file:
```markdown
## CRITICAL: Git Branch Hygiene
**Before starting ANY new ticket, ALWAYS:**
1. Check what branch you're on: `git branch --show-current`
2. If NOT on `main`, switch back: `git checkout main && git pull`
3. Then create new branch for your ticket
**Never start a new ticket on another ticket's branch.**
```
## Acceptance Criteria
- worker-workflow skill has explicit branch-checking instruction
- Warning is prominent and unmissable
- Workers know to check `git branch --show-current` before starting work
## Problem
Workers are switching from one ticket to another without changing git branches first. The current `worker-workflow` skill says "Follow git-workflow for branch/commit/PR" but doesn't explicitly instruct workers to check their current branch before starting a new ticket.
## What Happens
- Worker finishes Ticket A on branch `feature/ticket-A`
- Worker starts Ticket B on same branch (should create new branch)
- Commits for Ticket B end up on Ticket A's branch
- PR for Ticket B includes Ticket A's code
## Fix Required
Update `.claude/skills/worker-workflow/SKILL.md` - add explicit instruction in "Starting Work on a Ticket" section:
```markdown
### Starting Work on a Ticket
```bash
# CRITICAL: Check current branch FIRST
git branch --show-current # If not 'main', go back to main!
git checkout main
git pull origin main
# Now start new ticket
mark_busy()
# Read ticket details, understand requirements
# Follow git-workflow for branch/commit/PR
```
```
Add prominent warning at the top of the file:
```markdown
## CRITICAL: Git Branch Hygiene
**Before starting ANY new ticket, ALWAYS:**
1. Check what branch you're on: `git branch --show-current`
2. If NOT on `main`, switch back: `git checkout main && git pull`
3. Then create new branch for your ticket
**Never start a new ticket on another ticket's branch.**
```
## Acceptance Criteria
- worker-workflow skill has explicit branch-checking instruction
- Warning is prominent and unmissable
- Workers know to check `git branch --show-current` before starting work