Render TodoWrite checklist (vibe coder sees real-time progress). Call TodoWrite at workflow start:
TodoWrite({ todos: [
{ content: "OS 감지", status: "in_progress", activeForm: "OS 보는 중" },
{ content: "설치 채널 선택", status: "pending", activeForm: "채널 묻는 중" },
{ content: "installer 실행", status: "pending", activeForm: "설치 진행 중" },
{ content: "axhub --version 검증", status: "pending", activeForm: "버전 보는 중" },
{ content: "다음 단계 안내", status: "pending", activeForm: "마무리하는 중" }
]})
TodoWrite status sync: after every workflow step and after every AskUserQuestion answer, call TodoWrite again with the full current todos array. Mark finished items as "completed", the active item as "in_progress", and untouched items as "pending". Do not leave the initial Step 0 list stale after commands, user answers, or final result.
각 step 가 끝날 때마다 해당 todo 의 status 를 "completed" 로 update 해요.
Channel pick — AskUserQuestion.
Non-interactive AskUserQuestion guard (D1): 이 SKILL 의 모든 AskUserQuestion 호출은 대화형 모드를 가정해요. if ! [ -t 1 ] || [ -n "$CI" ] || [ -n "$CLAUDE_NON_INTERACTIVE" ] 인 subprocess (claude -p, CI, headless) 에서는 AskUserQuestion 호출을 건너뛰고 안전한 기본값으로 진행해요. 기본값은 tests/fixtures/ask-defaults/registry.json 참조 — 설치 채널 → manual (subprocess 에서 자동 install 안 해요, 안내만).
macOS 옵션:
{
"questions": [{
"question": "axhub CLI 어떤 채널로 설치해요?",
"header": "설치 채널",
"multiSelect": false,
"options": [
{"label": "1. 공식 installer (Recommended)", "description": "curl https://cli.jocodingax.ai/install.sh | bash"},
{"label": "2. Homebrew", "description": "brew install jocoding-ax-partners/tap/axhub"},
{"label": "3. 수동 안내", "description": "설치 명령어만 보고 직접 실행"}
]
}]
}
Windows 옵션:
{
"questions": [{
"question": "axhub CLI 어떤 채널로 설치해요?",
"header": "설치 채널",
"multiSelect": false,
"options": [
{"label": "1. 공식 installer (Recommended)", "description": "irm https://cli.jocodingax.ai/install.ps1 | iex"},
{"label": "2. Scoop", "description": "scoop bucket add jocoding-ax-partners + scoop install axhub"},
{"label": "3. 수동 안내", "description": "설치 명령어만 보고 직접 실행"}
]
}]
}
Linux 옵션 (macOS 와 동일하되 Homebrew 대신 official installer 만):
{
"questions": [{
"question": "axhub CLI 어떤 채널로 설치해요?",
"header": "설치 채널",
"multiSelect": false,
"options": [
{"label": "1. 공식 installer (Recommended)", "description": "curl https://cli.jocodingax.ai/install.sh | bash"},
{"label": "2. 수동 안내", "description": "설치 명령어만 보고 직접 실행"}
]
}]
}