devlisted
Install: claude install-skill buildproven/claude-kit
# /bs:dev - Start Development Work
**Usage**: `/bs:dev <name|inline-list> [--fix|--refactor|--experiment] [--with-tests] [--tdd] [--wt] [--parallel "task1,task2,task3"] [--list] [--sequential] [--max=N] [--teams] [--next] [--alt]`
Generic command for all development work. Auto-detects branch type or use flags.
**Quick start with backlog:**
```bash
/bs:dev --next # Auto-picks highest-priority item from Linear
```
## Auto-Detection
- `fix-*`, `bugfix-*`, `hotfix-*` → `fix/`
- `refactor-*` → `refactor/`
- `experiment-*`, `exp-*`, `test-*` → `experiment/`
- Everything else → `feature/`
## Flags (Override Auto-Detection)
```bash
/bs:dev login-bug --fix # fix/login-bug
/bs:dev auth --refactor # refactor/auth
/bs:dev ai --experiment # experiment/ai
```
## Implementation
### Step 0a: Ensure Working Directory is Git Root
```bash
GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
if [[ -z "$GIT_ROOT" ]]; then echo "❌ Not in a git repository"; exit 1; fi
cd "$GIT_ROOT"
echo "📂 Working directory: $GIT_ROOT"
```
### Step 0b: Branch Hygiene - Ensure Clean State
**Critical:** Before creating any feature branch, clean up stale branches to prevent working from wrong state.
```bash
# Refresh remote lifecycle evidence without checking out, editing, or
# fast-forwarding the inspection-only primary checkout.
git fetch --prune
# Resolve the one shared lifecycle implementation. It may prune missing
# registrations here, but it never removes active, dirty,