work-issuelisted
Install: claude install-skill Domek-Labs/stagecrew
# /work-issue — Spec→build loop for GitHub issues
**Type:** loop workflow / autonomous issue implementation
## Purpose
Drive a fully-specified GitHub issue (Idea + Spec + AC + Files-To-Touch + Test-Plan + OoS) to merge through 5 dedicated subagents. Each stage = one agent that posts a `[stage:<name>]` comment on the issue as an audit log, then the next stage starts.
This skill is a **pure-reader**: no hardcoded defaults. All standards values (branch_pattern, syntax_check, smoke_test, ...) come from **AGENTS.md at the repo root**. Missing AGENTS.md → STOP with a pointer to `/init-agents`.
Pattern from internal loop-workflow experiments (2026-06). First end-to-end test ran in 33 minutes with 2 iterations and all 5 acceptance criteria green.
## Invocation variants
```
/work-issue 5 --repo your-org/your-repo
/work-issue your-org/your-repo#5
/work-issue 5 # → fallback: cwd git repo
/work-issue # → lists open issues, asks for selection
```
**Argument parsing:**
1. `<owner>/<repo>#<num>` matched → split into `repo` + `issue_num`
2. `--repo <slug>` flag + bare number
3. `git -C $(pwd) remote get-url origin` → cwd fallback
4. No number → `gh issue list --repo <slug> --state open --limit 30`, user picks
5. Issue number cannot be resolved → ask whether `/create-issue` should be called
## Standards source (2-tier)
| Tier | Source | What it overrides |
|------|--------|-------------------|
| L1 | `AGENTS.md` at th