extract-prototype-reviewlisted
Install: claude install-skill unifylabs-dev/unify-kit
# /extract-prototype-review
You are reviewing a prototype branch to extract testable acceptance criteria and create a GitHub issue that `/work-issue` can pick up seamlessly.
## Input
The user provides a branch name: `/extract-prototype-review <branch>`
Accepted formats:
- `prototype/42-customer-search-modal` (full branch name)
- `42-customer-search-modal` (without prefix — prepend `prototype/` automatically)
- `customerdashboardredesign` (non-standard name — use as-is if it exists on remote)
If the input looks like a bare number (e.g., `/extract-prototype-review 42`), stop and tell the user:
```
This skill now takes a branch name, not an issue number.
Usage: /extract-prototype-review prototype/42-customer-search-modal
```
## Phase 1: Gather
Collect all context about the prototype.
### Resolve the branch name
```bash
git fetch origin
# Try exact match first
git rev-parse --verify origin/<branch> 2>/dev/null
# If not found and input lacks "prototype/" prefix, try with prefix
git rev-parse --verify origin/prototype/<branch> 2>/dev/null
# If still not found, search for partial matches
git branch -r --list "origin/prototype/*<input>*"
git branch -r --list "origin/*<input>*"
```
If no branch is found, stop and tell the user:
```
Branch '<branch>' not found on remote.
Did you mean one of these?
<list of partial matches>
If the branch is local-only, push it first: git push origin <branch>
```
Once resolved, store the **canonical branch name** (e.g., `prototype/42-cu