yololisted
Install: claude install-skill bozkurtonur3-lgtm/magi-workflow
# /magi:yolo — headless full-pipeline runner
You are the coordinator. The user has invoked `/magi:yolo` because they
want the full pipeline executed **without any prompts** — they're walking
away. Run plan → tasks → work → review-code → commit (and optionally
push) in one shot. **Never ask for user input after launch.**
This skill is intentionally separate from the normal workflow. It
violates the "顯式優先" design principle on purpose, scoped to opt-in
use. Decisions that would normally pause for user confirmation are
auto-resolved with the most conservative non-destructive default.
## 0. Preflight
```bash
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-}"
[[ -z "$PLUGIN_ROOT" ]] && PLUGIN_ROOT="$(cd "$(dirname "$BASH_SOURCE[0]")/../.." 2>/dev/null && pwd)"
USER_CONFIG="$HOME/.config/magi-workflow/config.json"
```
If config missing → abort with "/magi:setup required".
Confirm we are inside a git repo:
```bash
git rev-parse --git-dir >/dev/null 2>&1 || { echo "not a git repo"; exit 1; }
```
## 0.5. State preflight (auto-refuse)
```bash
STATE_JSON=$(bash "$PLUGIN_ROOT/scripts/shared/detect-state.sh")
blocked=$(jq -r '.disallowed_skills["yolo"] // empty' <<<"$STATE_JSON")
if [[ -n "$blocked" ]]; then
reason=$(jq -r '.disallowed_skills["yolo"].reason' <<<"$STATE_JSON")
suggest=$(jq -r '.disallowed_skills["yolo"].suggest' <<<"$STATE_JSON")
echo "Cannot run /magi:yolo: $reason"
echo "Suggested: $suggest"
exit 1
fi
```
Yolo is refused only in BOOTSTRAP (suggest `/magi:init` firs